var $localize=Object.assign(void 0===$localize?{}:$localize,{locale:"en"}); "use strict";(function(global){global.ng=global.ng||{};global.ng.common=global.ng.common||{};global.ng.common.locales=global.ng.common.locales||{};const u=undefined;function plural(n){let i=Math.floor(Math.abs(n)),v=n.toString().replace(/^[^.]*\.?/,"").length;if(i===1&&v===0)return 1;return 5}global.ng.common.locales["en"]=["en",[["a","p"],["AM","PM"],u],[["AM","PM"],u,u],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],u,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],u,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",u,"{1} 'at' {0}",u],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",plural,[[["mi","n","in the morning","in the afternoon","in the evening","at night"],["midnight","noon","in the morning","in the afternoon","in the evening","at night"],u],[["midnight","noon","morning","afternoon","evening","night"],u,u],["00:00","12:00",["06:00","12:00"],["12:00","18:00"],["18:00","21:00"],["21:00","06:00"]]]]})(typeof globalThis!=="undefined"&&globalThis||typeof global!=="undefined"&&global||typeof window!=="undefined"&&window);; (window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"+Brk":function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n("fXoL"),r=n("jhN1");let o=(()=>{class e{constructor(e){this.sanitizer=e}transform(e,...t){return this.sanitizer.bypassSecurityTrustHtml(e)}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(r.b))},e.\u0275pipe=i.Pb({name:"ndTrustHtml",type:e,pure:!0}),e})()},"+LmI":function(e,t,n){"use strict";function i(e,t){if(null==e)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}n.d(t,"a",function(){return i})},"+oEP":function(e,t,n){"use strict";n.d(t,"a",function(){return y}),n.d(t,"b",function(){return C});var i=n("mrSG"),r=n("cH1L"),o=n("fXoL"),s=n("GR68"),a=n("2Suw"),c=n("YF2q"),l=n("nJia"),u=n("rDax"),d=n("ofXK"),h=n("pdGh"),p=n("JgHy");function f(e,t){if(1&e&&(o.Ub(0),o.Sc(1),o.Tb()),2&e){const e=o.oc(3);o.Cb(1),o.Tc(e.nzTitle)}}function g(e,t){if(1&e&&(o.Wb(0,"div",9),o.Qc(1,f,2,1,"ng-container",8),o.Vb()),2&e){const e=o.oc(2);o.Cb(1),o.wc("nzStringTemplateOutlet",e.nzTitle)}}function b(e,t){if(1&e&&(o.Ub(0),o.Sc(1),o.Tb()),2&e){const e=o.oc(2);o.Cb(1),o.Tc(e.nzContent)}}function m(e,t){if(1&e&&(o.Wb(0,"div",2),o.Wb(1,"div",3),o.Rb(2,"div",4),o.Wb(3,"div",5),o.Wb(4,"div"),o.Qc(5,g,2,1,"div",6),o.Wb(6,"div",7),o.Qc(7,b,2,1,"ng-container",8),o.Vb(),o.Vb(),o.Vb(),o.Vb(),o.Vb()),2&e){const e=o.oc();o.Ib("ant-popover-rtl","rtl"===e.dir),o.wc("ngClass",e._classMap)("ngStyle",e.nzOverlayStyle)("@.disabled",null==e.noAnimation?null:e.noAnimation.nzNoAnimation)("nzNoAnimation",null==e.noAnimation?null:e.noAnimation.nzNoAnimation)("@zoomBigMotion","active"),o.Cb(5),o.wc("ngIf",e.nzTitle),o.Cb(2),o.wc("nzStringTemplateOutlet",e.nzContent)}}let y=(()=>{class e extends l.c{constructor(e,t,n,i,r,s){super(e,t,n,i,r,s),this.noAnimation=r,this._nzModuleName="popover",this.trigger="hover",this.placement="top",this.nzPopoverBackdrop=!1,this.visibleChange=new o.n,this.componentFactory=this.resolver.resolveComponentFactory(v)}getProxyPropertyMap(){return Object.assign({nzPopoverBackdrop:["nzBackdrop",()=>this.nzPopoverBackdrop]},super.getProxyPropertyMap())}}return e.\u0275fac=function(t){return new(t||e)(o.Qb(o.l),o.Qb(o.R),o.Qb(o.j),o.Qb(o.G),o.Qb(c.a,9),o.Qb(a.b))},e.\u0275dir=o.Lb({type:e,selectors:[["","nz-popover",""]],hostVars:2,hostBindings:function(e,t){2&e&&o.Ib("ant-popover-open",t.visible)},inputs:{trigger:["nzPopoverTrigger","trigger"],placement:["nzPopoverPlacement","placement"],nzPopoverBackdrop:"nzPopoverBackdrop",title:["nzPopoverTitle","title"],content:["nzPopoverContent","content"],directiveTitle:["nz-popover","directiveTitle"],origin:["nzPopoverOrigin","origin"],visible:["nzPopoverVisible","visible"],mouseEnterDelay:["nzPopoverMouseEnterDelay","mouseEnterDelay"],mouseLeaveDelay:["nzPopoverMouseLeaveDelay","mouseLeaveDelay"],overlayClassName:["nzPopoverOverlayClassName","overlayClassName"],overlayStyle:["nzPopoverOverlayStyle","overlayStyle"]},outputs:{visibleChange:"nzPopoverVisibleChange"},exportAs:["nzPopover"],features:[o.zb]}),Object(i.b)([Object(a.c)(),Object(i.c)("design:type",Boolean)],e.prototype,"nzPopoverBackdrop",void 0),e})(),v=(()=>{class e extends l.a{constructor(e,t,n){super(e,t,n),this.noAnimation=n,this._prefix="ant-popover"}get hasBackdrop(){return"click"===this.nzTrigger&&this.nzBackdrop}isEmpty(){return Object(l.e)(this.nzTitle)&&Object(l.e)(this.nzContent)}}return e.\u0275fac=function(t){return new(t||e)(o.Qb(o.h),o.Qb(r.c,8),o.Qb(c.a,9))},e.\u0275cmp=o.Kb({type:e,selectors:[["nz-popover"]],exportAs:["nzPopoverComponent"],features:[o.zb],decls:2,vars:5,consts:[["cdkConnectedOverlay","","nzConnectedOverlay","",3,"cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayOpen","cdkConnectedOverlayPush","overlayOutsideClick","detach","positionChange"],["overlay","cdkConnectedOverlay"],[1,"ant-popover",3,"ngClass","ngStyle","nzNoAnimation"],[1,"ant-popover-content"],[1,"ant-popover-arrow"],["role","tooltip",1,"ant-popover-inner"],["class","ant-popover-title",4,"ngIf"],[1,"ant-popover-inner-content"],[4,"nzStringTemplateOutlet"],[1,"ant-popover-title"]],template:function(e,t){1&e&&(o.Qc(0,m,8,9,"ng-template",0,1,o.Rc),o.lc("overlayOutsideClick",function(e){return t.onClickOutside(e)})("detach",function(){return t.hide()})("positionChange",function(e){return t.onPositionChange(e)})),2&e&&o.wc("cdkConnectedOverlayHasBackdrop",t.hasBackdrop)("cdkConnectedOverlayOrigin",t.origin)("cdkConnectedOverlayPositions",t._positions)("cdkConnectedOverlayOpen",t._visible)("cdkConnectedOverlayPush",!0)},directives:[u.a,p.b,d.m,d.p,c.a,d.o,h.b],encapsulation:2,data:{animation:[s.h]},changeDetection:0}),e})(),C=(()=>{class e{}return e.\u0275mod=o.Ob({type:e}),e.\u0275inj=o.Nb({factory:function(t){return new(t||e)},imports:[[r.a,d.c,u.f,h.a,p.c,c.b,l.b]]}),e})()},"+rOU":function(e,t,n){"use strict";n.d(t,"a",function(){return l}),n.d(t,"b",function(){return d}),n.d(t,"c",function(){return s}),n.d(t,"d",function(){return u}),n.d(t,"e",function(){return h}),n.d(t,"f",function(){return a});var i=n("fXoL"),r=n("ofXK");class o{attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;null!=e&&(this._attachedHost=null,e.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(e){this._attachedHost=e}}class s extends o{constructor(e,t,n,i){super(),this.component=e,this.viewContainerRef=t,this.injector=n,this.componentFactoryResolver=i}}class a extends o{constructor(e,t,n){super(),this.templateRef=e,this.viewContainerRef=t,this.context=n}get origin(){return this.templateRef.elementRef}attach(e,t=this.context){return this.context=t,super.attach(e)}detach(){return this.context=void 0,super.detach()}}class c extends o{constructor(e){super(),this.element=e instanceof i.l?e.nativeElement:e}}class l{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(e){return e instanceof s?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof a?(this._attachedPortal=e,this.attachTemplatePortal(e)):this.attachDomPortal&&e instanceof c?(this._attachedPortal=e,this.attachDomPortal(e)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class u extends l{constructor(e,t,n,i,r){super(),this.outletElement=e,this._componentFactoryResolver=t,this._appRef=n,this._defaultInjector=i,this.attachDomPortal=e=>{const t=e.element,n=this._document.createComment("dom-portal");t.parentNode.insertBefore(n,t),this.outletElement.appendChild(t),super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(t,n)})},this._document=r}attachComponentPortal(e){const t=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component);let n;return e.viewContainerRef?(n=e.viewContainerRef.createComponent(t,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector),this.setDisposeFn(()=>n.destroy())):(n=t.create(e.injector||this._defaultInjector),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.detachView(n.hostView),n.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(n)),n}attachTemplatePortal(e){let t=e.viewContainerRef,n=t.createEmbeddedView(e.templateRef,e.context);return n.rootNodes.forEach(e=>this.outletElement.appendChild(e)),n.detectChanges(),this.setDisposeFn(()=>{let e=t.indexOf(n);-1!==e&&t.remove(e)}),n}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(e){return e.hostView.rootNodes[0]}}let d=(()=>{class e extends l{constructor(e,t,n){super(),this._componentFactoryResolver=e,this._viewContainerRef=t,this._isInitialized=!1,this.attached=new i.n,this.attachDomPortal=e=>{const t=e.element,n=this._document.createComment("dom-portal");e.setAttachedHost(this),t.parentNode.insertBefore(n,t),this._getRootNode().appendChild(t),super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(t,n)})},this._document=n}get portal(){return this._attachedPortal}set portal(e){(!this.hasAttached()||e||this._isInitialized)&&(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(e){e.setAttachedHost(this);const t=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,n=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),i=t.createComponent(n,t.length,e.injector||t.injector);return t!==this._viewContainerRef&&this._getRootNode().appendChild(i.hostView.rootNodes[0]),super.setDisposeFn(()=>i.destroy()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}attachTemplatePortal(e){e.setAttachedHost(this);const t=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=t,this.attached.emit(t),t}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.j),i.Qb(i.R),i.Qb(r.e))},e.\u0275dir=i.Lb({type:e,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[i.zb]}),e})(),h=(()=>{class e{}return e.\u0275mod=i.Ob({type:e}),e.\u0275inj=i.Nb({factory:function(t){return new(t||e)}}),e})()},"/KA4":function(e,t,n){"use strict";n.d(t,"a",function(){return b}),n.d(t,"b",function(){return m}),n.d(t,"c",function(){return y}),n.d(t,"d",function(){return C}),n.d(t,"e",function(){return z}),n.d(t,"f",function(){return a}),n.d(t,"g",function(){return l}),n.d(t,"h",function(){return s}),n.d(t,"i",function(){return S}),n.d(t,"j",function(){return w}),n.d(t,"k",function(){return x}),n.d(t,"l",function(){return u}),n.d(t,"m",function(){return v}),n.d(t,"n",function(){return E}),n.d(t,"o",function(){return c}),n.d(t,"p",function(){return O}),n.d(t,"q",function(){return d}),n.d(t,"r",function(){return p}),n.d(t,"s",function(){return _}),n.d(t,"t",function(){return h}),n.d(t,"u",function(){return f});var i=n("fXoL"),r=n("8LU1"),o=n("79xS");function s(e){return null!=e}function a(e){return null==e}function c(e,t){if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;const n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;const r=Object.prototype.hasOwnProperty.bind(t);for(let o=0;oh(t,e))}function y(e){if(!e.getClientRects().length)return{top:0,left:0};const t=e.getBoundingClientRect(),n=e.ownerDocument.defaultView;return{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}}function v(e){return e.type.startsWith("touch")}function C(e){return v(e)?e.touches[0]||e.changedTouches[0]:e}function w(e){return!!e&&"function"==typeof e.then&&"function"==typeof e.catch}function S(e){return"number"==typeof e&&isFinite(e)}function _(e,t){return Math.round(e*Math.pow(10,t))/Math.pow(10,t)}function O(e,t=0){return e.reduce((e,t)=>e+t,t)}function x(e){if("undefined"!=typeof window&&window.document&&window.document.documentElement){const t=Array.isArray(e)?e:[e],{documentElement:n}=window.document;return t.some(e=>e in n.style)}return!1}function z(e){return e?Object.keys(e).map(t=>{const n=e[t];return`${t}:${"string"==typeof n?n:n+"px"}`}).join(";"):""}let T;n("XNiG"),n("7+OI"),n("Cfvw"),n("LRne"),n("IzEk"),"undefined"!=typeof window&&window;const k={padding:"0",margin:"0",display:"inline",lineHeight:"inherit"};function P(e){if(!e)return 0;const t=e.match(/^\d*(\.\d*)?/);return t?Number(t[0]):0}function E(e,t,n,i,r,o=""){T||(T=document.createElement("div"),T.setAttribute("aria-hidden","true"),document.body.appendChild(T));const s=window.getComputedStyle(e),a=(c=s,Array.prototype.slice.apply(c).map(e=>`${e}: ${c.getPropertyValue(e)};`).join(""));var c;const l=P(s.lineHeight),u=Math.round(l*(t+1)+P(s.paddingTop)+P(s.paddingBottom));T.setAttribute("style",a),T.style.position="fixed",T.style.left="0",T.style.height="auto",T.style.minHeight="auto",T.style.maxHeight="auto",T.style.top="-999999px",T.style.zIndex="-1000",T.style.textOverflow="clip",T.style.whiteSpace="normal",T.style.webkitLineClamp="none";const d=function(e){const t=[];return e.forEach(e=>{const n=t[t.length-1];n&&3===e.nodeType&&3===n.nodeType?n.data+=e.data:t.push(e)}),t}(n),h=document.createElement("div"),p=document.createElement("span"),f=document.createTextNode(o),g=document.createElement("span");function b(){return T.offsetHeight{p.appendChild(e)}),p.appendChild(f),i.forEach(e=>{g.appendChild(e.cloneNode(!0))}),h.appendChild(p),h.appendChild(g),T.appendChild(h),b()){const e=T.innerHTML;return T.removeChild(h),{contentNodes:n,text:e,ellipsis:!1}}const m=Array.prototype.slice.apply(T.childNodes[0].childNodes[0].cloneNode(!0).childNodes).filter(({nodeType:e})=>8!==e),y=Array.prototype.slice.apply(T.childNodes[0].childNodes[1].cloneNode(!0).childNodes);T.removeChild(h),T.innerHTML="";const v=document.createElement("span");T.appendChild(v);const C=document.createTextNode(r+o);function w(e,t,n=0,i=t.length,r=0){const o=Math.floor((n+i)/2);if(e.textContent=t.slice(0,o),n>=i-1)for(let s=i;s>=n;s-=1){const n=t.slice(0,s);if(e.textContent=n,b()||!n)return s===t.length?{finished:!1,node:document.createTextNode(t)}:{finished:!0,node:document.createTextNode(n)}}return b()?w(e,t,o,i,o):w(e,t,n,o,r)}function S(e,t){const n=e.nodeType;if(1===n)return b()?{finished:!1,node:d[t]}:(v.removeChild(e),{finished:!0,node:null});if(3===n){const t=e.textContent||"",n=document.createTextNode(t);return v.insertBefore(n,C),w(n,t)}return{finished:!1,node:null}}v.appendChild(C),y.forEach(e=>{T.appendChild(e)});const _=[];m.some((e,t)=>{const{finished:n,node:i}=S(e,t);return i&&_.push(i),n});const O={contentNodes:_,text:T.innerHTML,ellipsis:!0};for(;T.firstChild;)T.removeChild(T.firstChild);return O}},"/Tr7":function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n("jIYg");function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e){Object(i.a)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===r(e)&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):("string"!=typeof e&&"[object String]"!==t||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}},"/h9T":function(e,t,n){"use strict";function i(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}n.d(t,"a",function(){return i})},"/uUt":function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("7o/Q");function r(e,t){return n=>n.lift(new o(e,t))}class o{constructor(e,t){this.compare=e,this.keySelector=t}call(e,t){return t.subscribe(new s(e,this.compare,this.keySelector))}}class s extends i.a{constructor(e,t,n){super(e),this.keySelector=n,this.hasKey=!1,"function"==typeof t&&(this.compare=t)}compare(e,t){return e===t}_next(e){let t;try{const{keySelector:n}=this;t=n?n(e):e}catch(i){return this.destination.error(i)}let n=!1;if(this.hasKey)try{const{compare:e}=this;n=e(this.key,t)}catch(i){return this.destination.error(i)}else this.hasKey=!0;n||(this.key=t,this.destination.next(e))}}},0:function(e,t,n){e.exports=n("egVX")},"0/W8":function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n("fXoL"),r=n("jhN1");let o=(()=>{class e{constructor(e,t,n){this.appLocale=e,this.titleService=t,this.metaService=n,this.ndPageBodyClass=null}get companyName(){return"zh-CN"===this.appLocale?"\u9053\u65c5\u79d1\u6280":"DidaTravel"}ngOnChanges(e){let t=0;(e.ndTitle||e.ndSecondaryTitle||e.ndThirdlyTitle)&&t++,t>0&&this.onTitleChange()}ngOnInit(){this.ndTitle||this.ndSecondaryTitle||this.ndThirdlyTitle?this.onTitleChange():this.titleService.setTitle(this.companyName),this.ndWebSiteDescription&&this.metaService.updateTag({name:"description",content:this.ndWebSiteDescription}),this.ndWebSiteKeyword&&this.metaService.updateTag({name:"keywords",content:this.ndWebSiteKeyword}),this.ndPageBodyClass&&document.body.classList.add(this.ndPageBodyClass),Object(i.X)()&&!this.metaService.getTag("dida-dev-mode")&&this.metaService.addTag({name:"dida-dev-mode",content:`dev:${this.appLocale}`})}ngOnDestroy(){this.ndPageBodyClass&&document.body.classList.remove(this.ndPageBodyClass)}onTitleChange(){let e=[this.ndThirdlyTitle,this.ndSecondaryTitle,this.ndTitle,this.companyName];e=e.filter(e=>"string"==typeof e&&e.trim().length>0);let t=e.map(e=>e.trim()).join(" - ");Object(i.X)()&&(t+="Dev"),this.titleService.setTitle(t)}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.v),i.Qb(r.d),i.Qb(r.c))},e.\u0275dir=i.Lb({type:e,selectors:[["nd-page-meta"],["","nd-page-meta",""]],inputs:{ndTitle:"ndTitle",ndSecondaryTitle:"ndSecondaryTitle",ndThirdlyTitle:"ndThirdlyTitle",ndWebSiteKeyword:"ndWebSiteKeyword",ndWebSiteDescription:"ndWebSiteDescription",ndPageBodyClass:"ndPageBodyClass"},features:[i.Ab]}),e})()},"0MNC":function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return c});var i=n("fXoL");n("8LU1"),n("XNiG"),n("itXk"),n("GyhO"),n("HDdC"),n("IzEk"),n("7o/Q"),n("Kj3r"),n("lJxs"),n("JX91"),n("1G5W");var r=n("nLfN");let o=(()=>{class e{}return e.\u0275mod=i.Ob({type:e}),e.\u0275inj=i.Nb({factory:function(t){return new(t||e)}}),e})();const s=new Set;let a,c=(()=>{class e{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):l}matchMedia(e){return this._platform.WEBKIT&&function(e){if(!s.has(e))try{a||(a=document.createElement("style"),a.setAttribute("type","text/css"),document.head.appendChild(a)),a.sheet&&(a.sheet.insertRule(`@media ${e} {.fx-query-test{ }}`,0),s.add(e))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}return e.\u0275fac=function(t){return new(t||e)(i.hc(r.a))},e.\u0275prov=Object(i.Mb)({factory:function(){return new e(Object(i.hc)(r.a))},token:e,providedIn:"root"}),e})();function l(e){return{matches:"all"===e||""===e,media:e,addListener:()=>{},removeListener:()=>{}}}},"0lU3":function(e,t,n){"use strict";n.d(t,"a",function(){return Gn}),n.d(t,"b",function(){return ui}),n.d(t,"c",function(){return li});var i=n("cH1L"),r=n("rDax"),o=n("ofXK"),s=n("fXoL"),a=n("3Pt+"),c=n("OzZK"),l=n("YF2q"),u=n("pdGh"),d=n("JgHy"),h=n("FwiY"),p=n("mrSG"),f=(n("Se/U"),n("GR68")),g=n("2Suw"),b=(n("79xS"),n("/KA4")),m=n("Rm4T"),y=n("XNiG"),v=(n("LRne"),n("lJxs"),n("1G5W")),C=n("ejfv"),w=n("nLfN"),S=n("C2AL"),_=n("RwU8");const O=["hourListElement"],x=["minuteListElement"],z=["secondListElement"],T=["use12HoursListElement"];function k(e,t){if(1&e&&(s.Wb(0,"div",4),s.Wb(1,"div",5),s.Sc(2),s.Vb(),s.Vb()),2&e){const e=s.oc();s.Cb(2),s.Tc(e.dateHelper.format(null==e.time?null:e.time.value,e.format)||"\xa0")}}function P(e,t){if(1&e){const e=s.Xb();s.Wb(0,"li",10),s.lc("click",function(){s.Hc(e);const t=s.oc().$implicit;return s.oc(2).selectHour(t)}),s.Wb(1,"div",11),s.Sc(2),s.pc(3,"number"),s.Vb(),s.Vb()}if(2&e){const e=s.oc().$implicit,t=s.oc(2);s.Ib("ant-picker-time-panel-cell-selected",t.isSelectedHour(e))("ant-picker-time-panel-cell-disabled",e.disabled),s.Cb(2),s.Tc(s.rc(3,5,e.index,"2.0-0"))}}function E(e,t){if(1&e&&(s.Ub(0),s.Qc(1,P,4,8,"li",9),s.Tb()),2&e){const e=t.$implicit,n=s.oc(2);s.Cb(1),s.wc("ngIf",!(n.nzHideDisabledOptions&&e.disabled))}}function D(e,t){if(1&e&&(s.Wb(0,"ul",6,7),s.Qc(2,E,2,1,"ng-container",8),s.Vb()),2&e){const e=s.oc();s.Cb(2),s.wc("ngForOf",e.hourRange)("ngForTrackBy",e.trackByFn)}}function M(e,t){if(1&e){const e=s.Xb();s.Wb(0,"li",10),s.lc("click",function(){s.Hc(e);const t=s.oc().$implicit;return s.oc(2).selectMinute(t)}),s.Wb(1,"div",11),s.Sc(2),s.pc(3,"number"),s.Vb(),s.Vb()}if(2&e){const e=s.oc().$implicit,t=s.oc(2);s.Ib("ant-picker-time-panel-cell-selected",t.isSelectedMinute(e))("ant-picker-time-panel-cell-disabled",e.disabled),s.Cb(2),s.Tc(s.rc(3,5,e.index,"2.0-0"))}}function I(e,t){if(1&e&&(s.Ub(0),s.Qc(1,M,4,8,"li",9),s.Tb()),2&e){const e=t.$implicit,n=s.oc(2);s.Cb(1),s.wc("ngIf",!(n.nzHideDisabledOptions&&e.disabled))}}function A(e,t){if(1&e&&(s.Wb(0,"ul",6,12),s.Qc(2,I,2,1,"ng-container",8),s.Vb()),2&e){const e=s.oc();s.Cb(2),s.wc("ngForOf",e.minuteRange)("ngForTrackBy",e.trackByFn)}}function R(e,t){if(1&e){const e=s.Xb();s.Wb(0,"li",10),s.lc("click",function(){s.Hc(e);const t=s.oc().$implicit;return s.oc(2).selectSecond(t)}),s.Wb(1,"div",11),s.Sc(2),s.pc(3,"number"),s.Vb(),s.Vb()}if(2&e){const e=s.oc().$implicit,t=s.oc(2);s.Ib("ant-picker-time-panel-cell-selected",t.isSelectedSecond(e))("ant-picker-time-panel-cell-disabled",e.disabled),s.Cb(2),s.Tc(s.rc(3,5,e.index,"2.0-0"))}}function j(e,t){if(1&e&&(s.Ub(0),s.Qc(1,R,4,8,"li",9),s.Tb()),2&e){const e=t.$implicit,n=s.oc(2);s.Cb(1),s.wc("ngIf",!(n.nzHideDisabledOptions&&e.disabled))}}function V(e,t){if(1&e&&(s.Wb(0,"ul",6,13),s.Qc(2,j,2,1,"ng-container",8),s.Vb()),2&e){const e=s.oc();s.Cb(2),s.wc("ngForOf",e.secondRange)("ngForTrackBy",e.trackByFn)}}function L(e,t){if(1&e){const e=s.Xb();s.Wb(0,"li",10),s.lc("click",function(){s.Hc(e);const t=s.oc().$implicit;return s.oc(2).select12Hours(t)}),s.Wb(1,"div",11),s.Sc(2),s.Vb(),s.Vb()}if(2&e){const e=s.oc().$implicit,t=s.oc(2);s.Ib("ant-picker-time-panel-cell-selected",t.isSelected12Hours(e)),s.Cb(2),s.Tc(e.value)}}function N(e,t){if(1&e&&(s.Ub(0),s.Qc(1,L,3,3,"li",16),s.Tb()),2&e){const e=s.oc(2);s.Cb(1),s.wc("ngIf",!e.nzHideDisabledOptions)}}function F(e,t){if(1&e&&(s.Wb(0,"ul",6,14),s.Qc(2,N,2,1,"ng-container",15),s.Vb()),2&e){const e=s.oc();s.Cb(2),s.wc("ngForOf",e.use12HoursRange)}}function B(e,t){}function W(e,t){if(1&e&&(s.Wb(0,"div",24),s.Qc(1,B,0,0,"ng-template",25),s.Vb()),2&e){const e=s.oc(2);s.Cb(1),s.wc("ngTemplateOutlet",e.nzAddOn)}}function H(e,t){if(1&e){const e=s.Xb();s.Wb(0,"div",17),s.Qc(1,W,2,1,"div",18),s.Wb(2,"ul",19),s.Wb(3,"li",20),s.Wb(4,"a",21),s.lc("click",function(){return s.Hc(e),s.oc().onClickNow()}),s.Sc(5),s.pc(6,"nzI18n"),s.Vb(),s.Vb(),s.Wb(7,"li",22),s.Wb(8,"button",23),s.lc("click",function(){return s.Hc(e),s.oc().onClickOk()}),s.Sc(9),s.pc(10,"nzI18n"),s.Vb(),s.Vb(),s.Vb(),s.Vb()}if(2&e){const e=s.oc();s.Cb(1),s.wc("ngIf",e.nzAddOn),s.Cb(4),s.Uc(" ",e.nzNowText||s.qc(6,3,"Calendar.lang.now")," "),s.Cb(4),s.Uc(" ",e.nzOkText||s.qc(10,5,"Calendar.lang.ok")," ")}}class U{constructor(){this.selected12Hours=void 0,this._use12Hours=!1,this._changes=new y.a}setMinutes(e,t){return e===this.minutes||t||(this.initValue(),this.value.setMinutes(e),this.update()),this}setHours(e,t){return e===this.hours||t||(this.initValue(),this.value.setHours(this._use12Hours?"PM"===this.selected12Hours&&12!==e?e+12:"AM"===this.selected12Hours&&12===e?0:e:e),this.update()),this}setSeconds(e,t){return e===this.seconds||t||(this.initValue(),this.value.setSeconds(e),this.update()),this}setUse12Hours(e){return this._use12Hours=e,this}get changes(){return this._changes.asObservable()}setValue(e,t){return Object(b.h)(t)&&(this._use12Hours=t),e!==this.value&&(this._value=e,Object(b.h)(this.value)?this._use12Hours&&Object(b.h)(this.hours)&&(this.selected12Hours=this.hours>=12?"PM":"AM"):this._clear()),this}initValue(){Object(b.f)(this.value)&&this.setValue(new Date,this._use12Hours)}clear(){this._clear(),this.update()}get isEmpty(){return!(Object(b.h)(this.hours)||Object(b.h)(this.minutes)||Object(b.h)(this.seconds))}_clear(){this._value=void 0,this.selected12Hours=void 0}update(){this.isEmpty?this._value=void 0:(Object(b.h)(this.hours)&&this.value.setHours(this.hours),Object(b.h)(this.minutes)&&this.value.setMinutes(this.minutes),Object(b.h)(this.seconds)&&this.value.setSeconds(this.seconds),this._use12Hours&&("PM"===this.selected12Hours&&this.hours<12&&this.value.setHours(this.hours+12),"AM"===this.selected12Hours&&this.hours>=12&&this.value.setHours(this.hours-12))),this.changed()}changed(){this._changes.next(this.value)}get viewHours(){return this._use12Hours&&Object(b.h)(this.hours)?this.calculateViewHour(this.hours):this.hours}setSelected12Hours(e){e.toUpperCase()!==this.selected12Hours&&(this.selected12Hours=e.toUpperCase(),this.update())}get value(){return this._value||this._defaultOpenValue}get hours(){var e;return null===(e=this.value)||void 0===e?void 0:e.getHours()}get minutes(){var e;return null===(e=this.value)||void 0===e?void 0:e.getMinutes()}get seconds(){var e;return null===(e=this.value)||void 0===e?void 0:e.getSeconds()}setDefaultOpenValue(e){return this._defaultOpenValue=e,this}calculateViewHour(e){const t=this.selected12Hours;return"PM"===t&&e>12?e-12:"AM"===t&&0===e?12:e}}function $(e,t=1,n=0){return new Array(Math.ceil(e/t)).fill(0).map((e,i)=>(i+n)*t)}let Q=(()=>{class e{constructor(e,t,n){this.cdr=e,this.dateHelper=t,this.elementRef=n,this._nzHourStep=1,this._nzMinuteStep=1,this._nzSecondStep=1,this.unsubscribe$=new y.a,this._format="HH:mm:ss",this._disabledHours=()=>[],this._disabledMinutes=()=>[],this._disabledSeconds=()=>[],this._allowEmpty=!0,this.time=new U,this.hourEnabled=!0,this.minuteEnabled=!0,this.secondEnabled=!0,this.firstScrolled=!1,this.enabledColumns=3,this.nzInDatePicker=!1,this.nzHideDisabledOptions=!1,this.nzUse12Hours=!1,this.closePanel=new s.n,this.elementRef.nativeElement.classList.add("ant-picker-time-panel")}set nzAllowEmpty(e){Object(b.h)(e)&&(this._allowEmpty=e)}get nzAllowEmpty(){return this._allowEmpty}set nzDisabledHours(e){this._disabledHours=e,this._disabledHours&&this.buildHours()}get nzDisabledHours(){return this._disabledHours}set nzDisabledMinutes(e){Object(b.h)(e)&&(this._disabledMinutes=e,this.buildMinutes())}get nzDisabledMinutes(){return this._disabledMinutes}set nzDisabledSeconds(e){Object(b.h)(e)&&(this._disabledSeconds=e,this.buildSeconds())}get nzDisabledSeconds(){return this._disabledSeconds}set format(e){if(Object(b.h)(e)){this._format=e,this.enabledColumns=0;const t=new Set(e);this.hourEnabled=t.has("H")||t.has("h"),this.minuteEnabled=t.has("m"),this.secondEnabled=t.has("s"),this.hourEnabled&&this.enabledColumns++,this.minuteEnabled&&this.enabledColumns++,this.secondEnabled&&this.enabledColumns++,this.nzUse12Hours&&this.build12Hours()}}get format(){return this._format}set nzHourStep(e){Object(b.h)(e)&&(this._nzHourStep=e,this.buildHours())}get nzHourStep(){return this._nzHourStep}set nzMinuteStep(e){Object(b.h)(e)&&(this._nzMinuteStep=e,this.buildMinutes())}get nzMinuteStep(){return this._nzMinuteStep}set nzSecondStep(e){Object(b.h)(e)&&(this._nzSecondStep=e,this.buildSeconds())}get nzSecondStep(){return this._nzSecondStep}trackByFn(e){return e}buildHours(){var e;let t=24,n=null===(e=this.nzDisabledHours)||void 0===e?void 0:e.call(this),i=0;if(this.nzUse12Hours&&(t=12,n&&(n="PM"===this.time.selected12Hours?n.filter(e=>e>=12).map(e=>e>12?e-12:e):n.filter(e=>e<12||24===e).map(e=>24===e||0===e?12:e)),i=1),this.hourRange=$(t,this.nzHourStep,i).map(e=>({index:e,disabled:!!n&&-1!==n.indexOf(e)})),this.nzUse12Hours&&12===this.hourRange[this.hourRange.length-1].index){const e=[...this.hourRange];e.unshift(e[e.length-1]),e.splice(e.length-1,1),this.hourRange=e}}buildMinutes(){this.minuteRange=$(60,this.nzMinuteStep).map(e=>({index:e,disabled:!!this.nzDisabledMinutes&&-1!==this.nzDisabledMinutes(this.time.hours).indexOf(e)}))}buildSeconds(){this.secondRange=$(60,this.nzSecondStep).map(e=>({index:e,disabled:!!this.nzDisabledSeconds&&-1!==this.nzDisabledSeconds(this.time.hours,this.time.minutes).indexOf(e)}))}build12Hours(){const e=this._format.includes("A");this.use12HoursRange=[{index:0,value:e?"AM":"am"},{index:1,value:e?"PM":"pm"}]}buildTimes(){this.buildHours(),this.buildMinutes(),this.buildSeconds(),this.build12Hours()}scrollToTime(e=0){this.hourEnabled&&this.hourListElement&&this.scrollToSelected(this.hourListElement.nativeElement,this.time.viewHours,e,"hour"),this.minuteEnabled&&this.minuteListElement&&this.scrollToSelected(this.minuteListElement.nativeElement,this.time.minutes,e,"minute"),this.secondEnabled&&this.secondListElement&&this.scrollToSelected(this.secondListElement.nativeElement,this.time.seconds,e,"second"),this.nzUse12Hours&&this.use12HoursListElement&&this.scrollToSelected(this.use12HoursListElement.nativeElement,"AM"===this.time.selected12Hours?0:1,e,"12-hour")}selectHour(e){this.time.setHours(e.index,e.disabled),this._disabledMinutes&&this.buildMinutes(),(this._disabledSeconds||this._disabledMinutes)&&this.buildSeconds()}selectMinute(e){this.time.setMinutes(e.index,e.disabled),this._disabledSeconds&&this.buildSeconds()}selectSecond(e){this.time.setSeconds(e.index,e.disabled)}select12Hours(e){this.time.setSelected12Hours(e.value),this._disabledHours&&this.buildHours(),this._disabledMinutes&&this.buildMinutes(),this._disabledSeconds&&this.buildSeconds()}scrollToSelected(e,t,n=0,i){if(!e)return;const r=this.translateIndex(t,i);this.scrollTo(e,(e.children[r]||e.children[0]).offsetTop,n)}translateIndex(e,t){var n,i,r;return"hour"===t?this.calcIndex(null===(n=this.nzDisabledHours)||void 0===n?void 0:n.call(this),this.hourRange.map(e=>e.index).indexOf(e)):"minute"===t?this.calcIndex(null===(i=this.nzDisabledMinutes)||void 0===i?void 0:i.call(this,this.time.hours),this.minuteRange.map(e=>e.index).indexOf(e)):"second"===t?this.calcIndex(null===(r=this.nzDisabledSeconds)||void 0===r?void 0:r.call(this,this.time.hours,this.time.minutes),this.secondRange.map(e=>e.index).indexOf(e)):this.calcIndex([],this.use12HoursRange.map(e=>e.index).indexOf(e))}scrollTo(e,t,n){if(n<=0)return void(e.scrollTop=t);const i=(t-e.scrollTop)/n*10;Object(C.b)(()=>{e.scrollTop=e.scrollTop+i,e.scrollTop!==t&&this.scrollTo(e,t,n-10)})}calcIndex(e,t){return(null==e?void 0:e.length)&&this.nzHideDisabledOptions?t-e.reduce((e,n)=>e+(n-1||(null!==(r=null===(i=this.nzDisabledMinutes)||void 0===i?void 0:i.call(this,a).indexOf(c))&&void 0!==r?r:-1)>-1||(null!==(s=null===(o=this.nzDisabledSeconds)||void 0===o?void 0:o.call(this,a,c).indexOf(l))&&void 0!==s?s:-1)>-1}onClickNow(){const e=new Date;this.timeDisabled(e)||(this.time.setValue(e),this.changed(),this.closePanel.emit())}onClickOk(){this.closePanel.emit()}isSelectedHour(e){return e.index===this.time.viewHours}isSelectedMinute(e){return e.index===this.time.minutes}isSelectedSecond(e){return e.index===this.time.seconds}isSelected12Hours(e){return e.value.toUpperCase()===this.time.selected12Hours}ngOnInit(){this.time.changes.pipe(Object(v.a)(this.unsubscribe$)).subscribe(()=>{this.changed(),this.touched(),this.scrollToTime(120)}),this.buildTimes(),setTimeout(()=>{this.scrollToTime(),this.firstScrolled=!0})}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}ngOnChanges(e){const{nzUse12Hours:t,nzDefaultOpenValue:n}=e;!(null==t?void 0:t.previousValue)&&(null==t?void 0:t.currentValue)&&(this.build12Hours(),this.enabledColumns++),(null==n?void 0:n.currentValue)&&this.time.setDefaultOpenValue(this.nzDefaultOpenValue||new Date)}writeValue(e){this.time.setValue(e,this.nzUse12Hours),this.buildTimes(),e&&this.firstScrolled&&this.scrollToTime(120),this.cdr.markForCheck()}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouch=e}onMousedown(e){e.preventDefault()}}return e.\u0275fac=function(t){return new(t||e)(s.Qb(s.h),s.Qb(m.a),s.Qb(s.l))},e.\u0275cmp=s.Kb({type:e,selectors:[["nz-time-picker-panel"]],viewQuery:function(e,t){if(1&e&&(s.Xc(O,1),s.Xc(x,1),s.Xc(z,1),s.Xc(T,1)),2&e){let e;s.Dc(e=s.mc())&&(t.hourListElement=e.first),s.Dc(e=s.mc())&&(t.minuteListElement=e.first),s.Dc(e=s.mc())&&(t.secondListElement=e.first),s.Dc(e=s.mc())&&(t.use12HoursListElement=e.first)}},hostVars:12,hostBindings:function(e,t){1&e&&s.lc("mousedown",function(e){return t.onMousedown(e)}),2&e&&s.Ib("ant-picker-time-panel-column-0",0===t.enabledColumns&&!t.nzInDatePicker)("ant-picker-time-panel-column-1",1===t.enabledColumns&&!t.nzInDatePicker)("ant-picker-time-panel-column-2",2===t.enabledColumns&&!t.nzInDatePicker)("ant-picker-time-panel-column-3",3===t.enabledColumns&&!t.nzInDatePicker)("ant-picker-time-panel-narrow",t.enabledColumns<3)("ant-picker-time-panel-placement-bottomLeft",!t.nzInDatePicker)},inputs:{nzInDatePicker:"nzInDatePicker",nzHideDisabledOptions:"nzHideDisabledOptions",nzUse12Hours:"nzUse12Hours",nzAllowEmpty:"nzAllowEmpty",nzDisabledHours:"nzDisabledHours",nzDisabledMinutes:"nzDisabledMinutes",nzDisabledSeconds:"nzDisabledSeconds",format:"format",nzHourStep:"nzHourStep",nzMinuteStep:"nzMinuteStep",nzSecondStep:"nzSecondStep",nzAddOn:"nzAddOn",nzClearText:"nzClearText",nzNowText:"nzNowText",nzOkText:"nzOkText",nzPlaceHolder:"nzPlaceHolder",nzDefaultOpenValue:"nzDefaultOpenValue"},outputs:{closePanel:"closePanel"},exportAs:["nzTimePickerPanel"],features:[s.Bb([{provide:a.m,useExisting:e,multi:!0}]),s.Ab],decls:7,vars:6,consts:[["class","ant-picker-header",4,"ngIf"],[1,"ant-picker-content"],["class","ant-picker-time-panel-column","style","position: relative;",4,"ngIf"],["class","ant-picker-footer",4,"ngIf"],[1,"ant-picker-header"],[1,"ant-picker-header-view"],[1,"ant-picker-time-panel-column",2,"position","relative"],["hourListElement",""],[4,"ngFor","ngForOf","ngForTrackBy"],["class","ant-picker-time-panel-cell",3,"ant-picker-time-panel-cell-selected","ant-picker-time-panel-cell-disabled","click",4,"ngIf"],[1,"ant-picker-time-panel-cell",3,"click"],[1,"ant-picker-time-panel-cell-inner"],["minuteListElement",""],["secondListElement",""],["use12HoursListElement",""],[4,"ngFor","ngForOf"],["class","ant-picker-time-panel-cell",3,"ant-picker-time-panel-cell-selected","click",4,"ngIf"],[1,"ant-picker-footer"],["class","ant-picker-footer-extra",4,"ngIf"],[1,"ant-picker-ranges"],[1,"ant-picker-now"],[3,"click"],[1,"ant-picker-ok"],["nz-button","","type","button","nzSize","small","nzType","primary",3,"click"],[1,"ant-picker-footer-extra"],[3,"ngTemplateOutlet"]],template:function(e,t){1&e&&(s.Qc(0,k,3,1,"div",0),s.Wb(1,"div",1),s.Qc(2,D,3,2,"ul",2),s.Qc(3,A,3,2,"ul",2),s.Qc(4,V,3,2,"ul",2),s.Qc(5,F,3,1,"ul",2),s.Vb(),s.Qc(6,H,11,7,"div",3)),2&e&&(s.wc("ngIf",t.nzInDatePicker),s.Cb(2),s.wc("ngIf",t.hourEnabled),s.Cb(1),s.wc("ngIf",t.minuteEnabled),s.Cb(1),s.wc("ngIf",t.secondEnabled),s.Cb(1),s.wc("ngIf",t.nzUse12Hours),s.Cb(1),s.wc("ngIf",!t.nzInDatePicker))},directives:[o.o,o.n,c.a,_.a,S.a,o.t],pipes:[o.g,m.c],encapsulation:2,changeDetection:0}),Object(p.b)([Object(b.a)(),Object(p.c)("design:type",Object)],e.prototype,"nzUse12Hours",void 0),e})(),G=(()=>{class e{}return e.\u0275mod=s.Ob({type:e}),e.\u0275inj=s.Nb({factory:function(t){return new(t||e)},imports:[[i.a,o.c,a.k,m.b,r.f,h.b,d.c,u.a,c.c]]}),e})();var Y=n("n7bz"),K=n("jtHE"),X=n("VRyK"),q=n("FtGj"),J=n("8LU1"),Z=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some(function(e,i){return e[0]===t&&(n=i,!0)}),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),i=this.__entries__[n];return i&&i[1]},t.prototype.set=function(t,n){var i=e(this.__entries__,t);~i?this.__entries__[i][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,i=e(n,t);~i&&n.splice(i,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,i=this.__entries__;n0},e.prototype.connect_=function(){ee&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),re?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){ee&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;ie.some(function(e){return!!~n.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),se=function(e,t){for(var n=0,i=Object.keys(t);n0},e}(),be="undefined"!=typeof WeakMap?new WeakMap:new Z,me=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=oe.getInstance(),i=new ge(t,n,this);be.set(this,i)};["observe","unobserve","disconnect"].forEach(function(e){me.prototype[e]=function(){var t;return(t=be.get(this))[e].apply(t,arguments)}});var ye=void 0!==te.ResizeObserver?te.ResizeObserver:me,ve=n("HDdC");let Ce=(()=>{class e{create(e){return void 0===ye?null:new ye(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(s.Mb)({factory:function(){return new e},token:e,providedIn:"root"}),e})(),we=(()=>{class e{constructor(e){this.nzResizeObserverFactory=e,this.observedElements=new Map}ngOnDestroy(){this.observedElements.forEach((e,t)=>this.cleanupObserver(t))}observe(e){const t=Object(J.e)(e);return new ve.a(e=>{const n=this.observeElement(t).subscribe(e);return()=>{n.unsubscribe(),this.unobserveElement(t)}})}observeElement(e){if(this.observedElements.has(e))this.observedElements.get(e).count++;else{const t=new y.a,n=this.nzResizeObserverFactory.create(e=>t.next(e));n&&n.observe(e),this.observedElements.set(e,{observer:n,stream:t,count:1})}return this.observedElements.get(e).stream}unobserveElement(e){this.observedElements.has(e)&&(this.observedElements.get(e).count--,this.observedElements.get(e).count||this.cleanupObserver(e))}cleanupObserver(e){if(this.observedElements.has(e)){const{observer:t,stream:n}=this.observedElements.get(e);t&&t.disconnect(),n.complete(),this.observedElements.delete(e)}}}return e.\u0275fac=function(t){return new(t||e)(s.hc(Ce))},e.\u0275prov=Object(s.Mb)({factory:function(){return new e(Object(s.hc)(Ce))},token:e,providedIn:"root"}),e})();function Se(e,t){1&e&&s.Sb(0)}function _e(e,t){if(1&e&&(s.Ub(0),s.Qc(1,Se,1,0,"ng-container",4),s.Tb()),2&e){const e=s.oc(2);s.Cb(1),s.wc("ngTemplateOutlet",e.extraFooter)}}function Oe(e,t){if(1&e&&(s.Ub(0),s.Rb(1,"span",5),s.Tb()),2&e){const e=s.oc(2);s.Cb(1),s.wc("innerHTML",e.extraFooter,s.Ic)}}function xe(e,t){if(1&e&&(s.Wb(0,"div"),s.Ub(1,2),s.Qc(2,_e,2,1,"ng-container",3),s.Qc(3,Oe,2,1,"ng-container",3),s.Tb(),s.Vb()),2&e){const e=s.oc();s.Fb("",e.prefixCls,"-footer-extra"),s.Cb(1),s.wc("ngSwitch",!0),s.Cb(1),s.wc("ngSwitchCase",e.isTemplateRef(e.extraFooter)),s.Cb(1),s.wc("ngSwitchCase",e.isNonEmptyString(e.extraFooter))}}function ze(e,t){if(1&e){const e=s.Xb();s.Wb(0,"a",6),s.lc("click",function(){s.Hc(e);const t=s.oc();return t.isTodayDisabled?null:t.onClickToday()}),s.Sc(1),s.Vb()}if(2&e){const e=s.oc();s.Gb("",e.prefixCls,"-today-btn ",e.isTodayDisabled?e.prefixCls+"-today-btn-disabled":"",""),s.xc("title",e.todayTitle),s.Cb(1),s.Uc(" ",e.locale.today," ")}}function Te(e,t){1&e&&s.Sb(0)}function ke(e,t){if(1&e){const e=s.Xb();s.Wb(0,"li"),s.Wb(1,"a",7),s.lc("click",function(){s.Hc(e);const t=s.oc(2);return t.isTodayDisabled?null:t.onClickToday()}),s.Sc(2),s.Vb(),s.Vb()}if(2&e){const e=s.oc(2);s.Fb("",e.prefixCls,"-now"),s.Cb(1),s.Fb("",e.prefixCls,"-now-btn"),s.Cb(1),s.Uc(" ",e.locale.now," ")}}function Pe(e,t){if(1&e){const e=s.Xb();s.Wb(0,"li"),s.Wb(1,"button",8),s.lc("click",function(){s.Hc(e);const t=s.oc(2);return t.okDisabled?null:t.clickOk.emit()}),s.Sc(2),s.Vb(),s.Vb()}if(2&e){const e=s.oc(2);s.Fb("",e.prefixCls,"-ok"),s.Cb(1),s.wc("disabled",e.okDisabled),s.Cb(1),s.Uc(" ",e.locale.ok," ")}}function Ee(e,t){if(1&e&&(s.Wb(0,"ul"),s.Qc(1,Te,1,0,"ng-container",4),s.Qc(2,ke,3,7,"li",0),s.Qc(3,Pe,3,5,"li",0),s.Vb()),2&e){const e=s.oc();s.Fb("",e.prefixCls,"-ranges"),s.Cb(1),s.wc("ngTemplateOutlet",e.rangeQuickSelector),s.Cb(1),s.wc("ngIf",e.showNow),s.Cb(1),s.wc("ngIf",e.hasTimePicker)}}function De(e,t){1&e&&s.Sb(0)}const Me=function(e){return{partType:e}};function Ie(e,t){if(1&e&&(s.Ub(0),s.Qc(1,De,1,0,"ng-container",7),s.Tb()),2&e){const e=s.oc(2),t=s.Ec(4);s.Cb(1),s.wc("ngTemplateOutlet",t)("ngTemplateOutletContext",s.Bc(2,Me,e.datePickerService.activeInput))}}function Ae(e,t){1&e&&s.Sb(0)}function Re(e,t){1&e&&s.Sb(0)}const je=function(){return{partType:"left"}},Ve=function(){return{partType:"right"}};function Le(e,t){if(1&e&&(s.Qc(0,Ae,1,0,"ng-container",7),s.Qc(1,Re,1,0,"ng-container",7)),2&e){s.oc(2);const e=s.Ec(4);s.wc("ngTemplateOutlet",e)("ngTemplateOutletContext",s.Ac(4,je)),s.Cb(1),s.wc("ngTemplateOutlet",e)("ngTemplateOutletContext",s.Ac(5,Ve))}}function Ne(e,t){1&e&&s.Sb(0)}function Fe(e,t){if(1&e&&(s.Ub(0),s.Wb(1,"div"),s.Rb(2,"div"),s.Wb(3,"div"),s.Wb(4,"div"),s.Qc(5,Ie,2,4,"ng-container",0),s.Qc(6,Le,2,6,"ng-template",null,5,s.Rc),s.Vb(),s.Qc(8,Ne,1,0,"ng-container",6),s.Vb(),s.Vb(),s.Tb()),2&e){const e=s.Ec(7),t=s.oc(),n=s.Ec(6);s.Cb(1),s.Gb("",t.prefixCls,"-range-wrapper ",t.prefixCls,"-date-range-wrapper"),s.Cb(1),s.Fb("",t.prefixCls,"-range-arrow"),s.Nc("left",null==t.datePickerService?null:t.datePickerService.arrowLeft,"px"),s.Cb(1),s.Fb("",t.prefixCls,"-panel-container"),s.Cb(1),s.Fb("",t.prefixCls,"-panels"),s.Cb(1),s.wc("ngIf",t.hasTimePicker)("ngIfElse",e),s.Cb(3),s.wc("ngTemplateOutlet",n)}}function Be(e,t){1&e&&s.Sb(0)}function We(e,t){1&e&&s.Sb(0)}function He(e,t){if(1&e&&(s.Wb(0,"div"),s.Wb(1,"div",8),s.Qc(2,Be,1,0,"ng-container",6),s.Qc(3,We,1,0,"ng-container",6),s.Vb(),s.Vb()),2&e){const e=s.oc(),t=s.Ec(4),n=s.Ec(6);s.Hb("",e.prefixCls,"-panel-container ",e.showWeek?e.prefixCls+"-week-number":""," ",e.hasTimePicker?e.prefixCls+"-time":""," ",e.isRange?e.prefixCls+"-range":"",""),s.Cb(1),s.Fb("",e.prefixCls,"-panel"),s.Ib("ant-picker-panel-rtl","rtl"===e.dir),s.Cb(1),s.wc("ngTemplateOutlet",t),s.Cb(1),s.wc("ngTemplateOutlet",n)}}function Ue(e,t){if(1&e){const e=s.Xb();s.Wb(0,"div"),s.Wb(1,"inner-popup",9),s.lc("panelModeChange",function(n){s.Hc(e);const i=t.partType;return s.oc().onPanelModeChange(n,i)})("cellHover",function(t){return s.Hc(e),s.oc().onCellHover(t)})("selectDate",function(t){s.Hc(e);const n=s.oc();return n.changeValueFromSelect(t,!n.showTime)})("selectTime",function(n){s.Hc(e);const i=t.partType;return s.oc().onSelectTime(n,i)})("headerChange",function(n){s.Hc(e);const i=t.partType;return s.oc().onActiveDateChange(n,i)}),s.Vb(),s.Vb()}if(2&e){const e=t.partType,n=s.oc();s.Fb("",n.prefixCls,"-panel"),s.Ib("ant-picker-panel-rtl","rtl"===n.dir),s.Cb(1),s.wc("showWeek",n.showWeek)("endPanelMode",n.getPanelMode(n.endPanelMode,e))("partType",e)("locale",n.locale)("showTimePicker",n.hasTimePicker)("timeOptions",n.getTimeOptions(e))("panelMode",n.getPanelMode(n.panelMode,e))("activeDate",n.getActiveDate(e))("value",n.getValue(e))("disabledDate",n.disabledDate)("dateRender",n.dateRender)("selectedValue",null==n.datePickerService?null:n.datePickerService.value)("hoverValue",n.hoverValue)}}function $e(e,t){if(1&e){const e=s.Xb();s.Wb(0,"calendar-footer",11),s.lc("clickOk",function(){return s.Hc(e),s.oc(2).onClickOk()})("clickToday",function(t){return s.Hc(e),s.oc(2).onClickToday(t)}),s.Vb()}if(2&e){const e=s.oc(2),t=s.Ec(8);s.wc("locale",e.locale)("isRange",e.isRange)("showToday",e.showToday)("showNow",e.showNow)("hasTimePicker",e.hasTimePicker)("okDisabled",!e.isAllowed(null==e.datePickerService?null:e.datePickerService.value))("extraFooter",e.extraFooter)("rangeQuickSelector",e.ranges?t:null)}}function Qe(e,t){if(1&e&&s.Qc(0,$e,1,8,"calendar-footer",10),2&e){const e=s.oc();s.wc("ngIf",e.hasFooter)}}function Ge(e,t){if(1&e){const e=s.Xb();s.Wb(0,"li",13),s.lc("click",function(){s.Hc(e);const n=t.$implicit,i=s.oc(2);return i.onClickPresetRange(i.ranges[n])})("mouseenter",function(){s.Hc(e);const n=t.$implicit,i=s.oc(2);return i.onHoverPresetRange(i.ranges[n])})("mouseleave",function(){return s.Hc(e),s.oc(2).onPresetRangeMouseLeave()}),s.Wb(1,"span",14),s.Sc(2),s.Vb(),s.Vb()}if(2&e){const e=t.$implicit,n=s.oc(2);s.Fb("",n.prefixCls,"-preset"),s.Cb(2),s.Tc(e)}}function Ye(e,t){if(1&e&&s.Qc(0,Ge,3,4,"li",12),2&e){const e=s.oc();s.wc("ngForOf",e.getObjectKeys(e.ranges))}}const Ke=["separatorElement"],Xe=["pickerInput"],qe=["rangePickerInput"],Je=["nz-picker",""];function Ze(e,t){1&e&&s.Sb(0)}function et(e,t){if(1&e){const e=s.Xb();s.Wb(0,"div"),s.Wb(1,"input",7,8),s.lc("ngModelChange",function(t){return s.Hc(e),s.oc(2).inputValue=t})("focus",function(t){return s.Hc(e),s.oc(2).onFocus(t)})("focusout",function(t){return s.Hc(e),s.oc(2).onFocusout(t)})("ngModelChange",function(t){return s.Hc(e),s.oc(2).onInputChange(t)})("keyup.enter",function(t){return s.Hc(e),s.oc(2).onKeyupEnter(t)}),s.Vb(),s.Qc(3,Ze,1,0,"ng-container",9),s.Vb()}if(2&e){const e=s.oc(2),t=s.Ec(4);s.Fb("",e.prefixCls,"-input"),s.Cb(1),s.Ib("ant-input-disabled",e.disabled),s.xc("placeholder",e.getPlaceholder()),s.wc("disabled",e.disabled)("readOnly",e.inputReadOnly)("ngModel",e.inputValue)("size",e.inputSize),s.Db("id",e.nzId),s.Cb(2),s.wc("ngTemplateOutlet",t)}}function tt(e,t){1&e&&s.Sb(0)}function nt(e,t){if(1&e&&(s.Ub(0),s.Sc(1),s.Tb()),2&e){const e=s.oc(3);s.Cb(1),s.Tc(e.separator)}}function it(e,t){1&e&&s.Rb(0,"i",13)}function rt(e,t){1&e&&s.Sb(0)}function ot(e,t){1&e&&s.Sb(0)}function st(e,t){if(1&e&&(s.Ub(0),s.Wb(1,"div"),s.Qc(2,tt,1,0,"ng-container",10),s.Vb(),s.Wb(3,"div",null,11),s.Wb(5,"span"),s.Qc(6,nt,2,1,"ng-container",0),s.Vb(),s.Qc(7,it,1,0,"ng-template",null,12,s.Rc),s.Vb(),s.Wb(9,"div"),s.Qc(10,rt,1,0,"ng-container",10),s.Vb(),s.Qc(11,ot,1,0,"ng-container",9),s.Tb()),2&e){const e=s.Ec(8),t=s.oc(2),n=s.Ec(2),i=s.Ec(4);s.Cb(1),s.Fb("",t.prefixCls,"-input"),s.Cb(1),s.wc("ngTemplateOutlet",n)("ngTemplateOutletContext",s.Ac(19,je)),s.Cb(1),s.Fb("",t.prefixCls,"-range-separator"),s.Cb(2),s.Fb("",t.prefixCls,"-separator"),s.Cb(1),s.wc("ngIf",t.separator)("ngIfElse",e),s.Cb(3),s.Fb("",t.prefixCls,"-input"),s.Cb(1),s.wc("ngTemplateOutlet",n)("ngTemplateOutletContext",s.Ac(20,Ve)),s.Cb(1),s.wc("ngTemplateOutlet",i)}}function at(e,t){if(1&e&&(s.Ub(0),s.Qc(1,et,4,12,"div",5),s.Qc(2,st,12,21,"ng-container",6),s.Tb()),2&e){const e=s.oc();s.Cb(1),s.wc("ngIf",!e.isRange),s.Cb(1),s.wc("ngIf",e.isRange)}}function ct(e,t){if(1&e){const e=s.Xb();s.Wb(0,"input",14,15),s.lc("click",function(t){return s.Hc(e),s.oc().onClickInputBox(t)})("focusout",function(t){return s.Hc(e),s.oc().onFocusout(t)})("focus",function(n){s.Hc(e);const i=t.partType;return s.oc().onFocus(n,i)})("keyup.enter",function(t){return s.Hc(e),s.oc().onKeyupEnter(t)})("ngModelChange",function(n){s.Hc(e);const i=t.partType,r=s.oc();return r.inputValue[r.datePickerService.getActiveIndex(i)]=n})("ngModelChange",function(t){return s.Hc(e),s.oc().onInputChange(t)}),s.Vb()}if(2&e){const e=t.partType,n=s.oc();s.xc("placeholder",n.getPlaceholder(e)),s.wc("disabled",n.disabled)("readOnly",n.inputReadOnly)("size",n.inputSize)("ngModel",n.inputValue[n.datePickerService.getActiveIndex(e)])}}function lt(e,t){if(1&e){const e=s.Xb();s.Wb(0,"span",19),s.lc("click",function(t){return s.Hc(e),s.oc(2).onClickClear(t)}),s.Rb(1,"i",20),s.Vb()}if(2&e){const e=s.oc(2);s.Fb("",e.prefixCls,"-clear")}}function ut(e,t){if(1&e&&(s.Ub(0),s.Rb(1,"i",21),s.Tb()),2&e){const e=t.$implicit;s.Cb(1),s.wc("nzType",e)}}function dt(e,t){if(1&e&&(s.Rb(0,"div",16),s.Qc(1,lt,2,3,"span",17),s.Wb(2,"span"),s.Qc(3,ut,2,1,"ng-container",18),s.Vb()),2&e){const e=s.oc();s.Fb("",e.prefixCls,"-active-bar"),s.wc("ngStyle",e.activeBarStyle),s.Cb(1),s.wc("ngIf",e.showClear()),s.Cb(1),s.Fb("",e.prefixCls,"-suffix"),s.Cb(1),s.wc("nzStringTemplateOutlet",e.suffixIcon)}}function ht(e,t){if(1&e&&(s.Wb(0,"div",22),s.Wb(1,"div",16),s.uc(2),s.Vb(),s.Vb()),2&e){const e=s.oc();s.wc("nzNoAnimation",e.noAnimation)("@slideMotion","enter"),s.Cb(1),s.Gb("",e.prefixCls,"-dropdown ",e.dropdownClassName,""),s.Ib("ant-picker-dropdown-rtl","rtl"===e.dir)("ant-picker-dropdown-placement-bottomLeft","bottom"===e.currentPositionY&&"start"===e.currentPositionX)("ant-picker-dropdown-placement-topLeft","top"===e.currentPositionY&&"start"===e.currentPositionX)("ant-picker-dropdown-placement-bottomRight","bottom"===e.currentPositionY&&"end"===e.currentPositionX)("ant-picker-dropdown-placement-topRight","top"===e.currentPositionY&&"end"===e.currentPositionX)("ant-picker-dropdown-range",e.isRange)("ant-picker-active-left","left"===e.datePickerService.activeInput)("ant-picker-active-right","right"===e.datePickerService.activeInput),s.wc("ngStyle",e.popupStyle)}}function pt(e,t){1&e&&s.Sb(0)}function ft(e,t){if(1&e&&s.Qc(0,pt,1,0,"ng-container",9),2&e){s.oc();const e=s.Ec(6);s.wc("ngTemplateOutlet",e)}}const gt=["*"];function bt(e,t){if(1&e){const e=s.Xb();s.Ub(0),s.Wb(1,"decade-header",4),s.lc("valueChange",function(t){return s.Hc(e),s.oc().activeDate=t})("panelModeChange",function(t){return s.Hc(e),s.oc().panelModeChange.emit(t)})("valueChange",function(t){return s.Hc(e),s.oc().headerChange.emit(t)}),s.Vb(),s.Wb(2,"div"),s.Wb(3,"decade-table",5),s.lc("valueChange",function(t){return s.Hc(e),s.oc().onChooseDecade(t)}),s.Vb(),s.Vb(),s.Tb()}if(2&e){const e=s.oc();s.Cb(1),s.wc("value",e.activeDate)("locale",e.locale)("showSuperPreBtn",e.enablePrevNext("prev","decade"))("showSuperNextBtn",e.enablePrevNext("next","decade"))("showNextBtn",!1)("showPreBtn",!1),s.Cb(1),s.Fb("",e.prefixCls,"-body"),s.Cb(1),s.wc("activeDate",e.activeDate)("value",e.value)("locale",e.locale)("disabledDate",e.disabledDate)}}function mt(e,t){if(1&e){const e=s.Xb();s.Ub(0),s.Wb(1,"year-header",4),s.lc("valueChange",function(t){return s.Hc(e),s.oc().activeDate=t})("panelModeChange",function(t){return s.Hc(e),s.oc().panelModeChange.emit(t)})("valueChange",function(t){return s.Hc(e),s.oc().headerChange.emit(t)}),s.Vb(),s.Wb(2,"div"),s.Wb(3,"year-table",6),s.lc("valueChange",function(t){return s.Hc(e),s.oc().onChooseYear(t)})("cellHover",function(t){return s.Hc(e),s.oc().cellHover.emit(t)}),s.Vb(),s.Vb(),s.Tb()}if(2&e){const e=s.oc();s.Cb(1),s.wc("value",e.activeDate)("locale",e.locale)("showSuperPreBtn",e.enablePrevNext("prev","year"))("showSuperNextBtn",e.enablePrevNext("next","year"))("showNextBtn",!1)("showPreBtn",!1),s.Cb(1),s.Fb("",e.prefixCls,"-body"),s.Cb(1),s.wc("activeDate",e.activeDate)("value",e.value)("locale",e.locale)("disabledDate",e.disabledDate)("selectedValue",e.selectedValue)("hoverValue",e.hoverValue)}}function yt(e,t){if(1&e){const e=s.Xb();s.Ub(0),s.Wb(1,"month-header",4),s.lc("valueChange",function(t){return s.Hc(e),s.oc().activeDate=t})("panelModeChange",function(t){return s.Hc(e),s.oc().panelModeChange.emit(t)})("valueChange",function(t){return s.Hc(e),s.oc().headerChange.emit(t)}),s.Vb(),s.Wb(2,"div"),s.Wb(3,"month-table",7),s.lc("valueChange",function(t){return s.Hc(e),s.oc().onChooseMonth(t)})("cellHover",function(t){return s.Hc(e),s.oc().cellHover.emit(t)}),s.Vb(),s.Vb(),s.Tb()}if(2&e){const e=s.oc();s.Cb(1),s.wc("value",e.activeDate)("locale",e.locale)("showSuperPreBtn",e.enablePrevNext("prev","month"))("showSuperNextBtn",e.enablePrevNext("next","month"))("showNextBtn",!1)("showPreBtn",!1),s.Cb(1),s.Fb("",e.prefixCls,"-body"),s.Cb(1),s.wc("value",e.value)("activeDate",e.activeDate)("locale",e.locale)("disabledDate",e.disabledDate)("selectedValue",e.selectedValue)("hoverValue",e.hoverValue)}}function vt(e,t){if(1&e){const e=s.Xb();s.Ub(0),s.Wb(1,"date-header",8),s.lc("valueChange",function(t){return s.Hc(e),s.oc().activeDate=t})("panelModeChange",function(t){return s.Hc(e),s.oc().panelModeChange.emit(t)})("valueChange",function(t){return s.Hc(e),s.oc().headerChange.emit(t)}),s.Vb(),s.Wb(2,"div"),s.Wb(3,"date-table",9),s.lc("valueChange",function(t){return s.Hc(e),s.oc().onSelectDate(t)})("cellHover",function(t){return s.Hc(e),s.oc().cellHover.emit(t)}),s.Vb(),s.Vb(),s.Tb()}if(2&e){const e=s.oc();s.Cb(1),s.wc("value",e.activeDate)("locale",e.locale)("showSuperPreBtn",e.enablePrevNext("prev",e.showWeek?"week":"date"))("showSuperNextBtn",e.enablePrevNext("next",e.showWeek?"week":"date"))("showPreBtn",e.enablePrevNext("prev",e.showWeek?"week":"date"))("showNextBtn",e.enablePrevNext("next",e.showWeek?"week":"date")),s.Cb(1),s.Fb("",e.prefixCls,"-body"),s.Cb(1),s.wc("locale",e.locale)("showWeek",e.showWeek)("value",e.value)("activeDate",e.activeDate)("disabledDate",e.disabledDate)("cellRender",e.dateRender)("selectedValue",e.selectedValue)("hoverValue",e.hoverValue)}}function Ct(e,t){if(1&e){const e=s.Xb();s.Ub(0),s.Wb(1,"nz-time-picker-panel",10),s.lc("ngModelChange",function(t){return s.Hc(e),s.oc().onSelectTime(t)}),s.Vb(),s.Tb()}if(2&e){const e=s.oc();s.Cb(1),s.wc("nzInDatePicker",!0)("ngModel",null==e.value?null:e.value.nativeDate)("format",e.timeOptions.nzFormat)("nzHourStep",e.timeOptions.nzHourStep)("nzMinuteStep",e.timeOptions.nzMinuteStep)("nzSecondStep",e.timeOptions.nzSecondStep)("nzDisabledHours",e.timeOptions.nzDisabledHours)("nzDisabledMinutes",e.timeOptions.nzDisabledMinutes)("nzDisabledSeconds",e.timeOptions.nzDisabledSeconds)("nzHideDisabledOptions",!!e.timeOptions.nzHideDisabledOptions)("nzDefaultOpenValue",e.timeOptions.nzDefaultOpenValue)("nzUse12Hours",!!e.timeOptions.nzUse12Hours)("nzAddOn",e.timeOptions.nzAddOn)}}function wt(e,t){if(1&e&&(s.Ub(0),s.Wb(1,"button",6),s.lc("click",function(){return t.$implicit.onClick()}),s.Sc(2),s.Vb(),s.Tb()),2&e){const e=t.$implicit;s.Cb(1),s.Eb(e.className),s.xc("title",e.title||null),s.Cb(1),s.Uc(" ",e.label," ")}}function St(e,t){1&e&&s.Rb(0,"th",6)}function _t(e,t){if(1&e&&(s.Wb(0,"th",7),s.Sc(1),s.Vb()),2&e){const e=t.$implicit;s.xc("title",e.title),s.Cb(1),s.Uc(" ",e.content," ")}}function Ot(e,t){if(1&e&&(s.Wb(0,"thead"),s.Wb(1,"tr",3),s.Qc(2,St,1,0,"th",4),s.Qc(3,_t,2,2,"th",5),s.Vb(),s.Vb()),2&e){const e=s.oc();s.Cb(2),s.wc("ngIf",e.showWeek),s.Cb(1),s.wc("ngForOf",e.headRow)}}function xt(e,t){if(1&e&&(s.Wb(0,"td",11),s.Sc(1),s.Vb()),2&e){const e=s.oc().$implicit,t=s.oc();s.Fb("",t.prefixCls,"-cell-week"),s.Cb(1),s.Uc(" ",e.weekNum," ")}}function zt(e,t){1&e&&s.Sb(0)}const Tt=function(e){return{$implicit:e}};function kt(e,t){if(1&e&&(s.Ub(0),s.Qc(1,zt,1,0,"ng-container",16),s.Tb()),2&e){const e=s.oc(2).$implicit;s.Cb(1),s.wc("ngTemplateOutlet",e.cellRender)("ngTemplateOutletContext",s.Bc(2,Tt,e.value))}}function Pt(e,t){if(1&e&&(s.Ub(0),s.Rb(1,"span",17),s.Tb()),2&e){const e=s.oc(2).$implicit;s.Cb(1),s.wc("innerHTML",e.cellRender,s.Ic)}}function Et(e,t){if(1&e&&(s.Ub(0),s.Wb(1,"div"),s.Sc(2),s.Vb(),s.Tb()),2&e){const e=s.oc(2).$implicit,t=s.oc(2);s.Cb(1),s.Fb("",t.prefixCls,"-cell-inner"),s.Db("aria-selected",e.isSelected)("aria-disabled",e.isDisabled),s.Cb(1),s.Uc(" ",e.content," ")}}function Dt(e,t){if(1&e&&(s.Ub(0),s.Ub(1,13),s.Qc(2,kt,2,4,"ng-container",14),s.Qc(3,Pt,2,1,"ng-container",14),s.Qc(4,Et,3,6,"ng-container",15),s.Tb(),s.Tb()),2&e){const e=s.oc().$implicit,t=s.oc(2);s.Cb(1),s.wc("ngSwitch",!0),s.Cb(1),s.wc("ngSwitchCase",t.isTemplateRef(e.cellRender)),s.Cb(1),s.wc("ngSwitchCase",t.isNonEmptyString(e.cellRender))}}function Mt(e,t){1&e&&s.Sb(0)}function It(e,t){if(1&e&&(s.Ub(0),s.Qc(1,Mt,1,0,"ng-container",16),s.Tb()),2&e){const e=s.oc(2).$implicit;s.Cb(1),s.wc("ngTemplateOutlet",e.fullCellRender)("ngTemplateOutletContext",s.Bc(2,Tt,e.value))}}function At(e,t){1&e&&s.Sb(0)}function Rt(e,t){if(1&e&&(s.Wb(0,"div"),s.Sc(1),s.Vb(),s.Wb(2,"div"),s.Qc(3,At,1,0,"ng-container",16),s.Vb()),2&e){const e=s.oc(2).$implicit,t=s.oc(2);s.Fb("",t.prefixCls,"-date-value"),s.Cb(1),s.Tc(e.content),s.Cb(1),s.Fb("",t.prefixCls,"-date-content"),s.Cb(1),s.wc("ngTemplateOutlet",e.cellRender)("ngTemplateOutletContext",s.Bc(9,Tt,e.value))}}function jt(e,t){if(1&e&&(s.Ub(0),s.Wb(1,"div"),s.Qc(2,It,2,4,"ng-container",18),s.Qc(3,Rt,4,11,"ng-template",null,19,s.Rc),s.Vb(),s.Tb()),2&e){const e=s.Ec(4),t=s.oc().$implicit,n=s.oc(2);s.Cb(1),s.Fb("",n.prefixCls,"-date ant-picker-cell-inner"),s.Ib("ant-picker-calendar-date-today",t.isToday),s.Cb(1),s.wc("ngIf",t.fullCellRender)("ngIfElse",e)}}function Vt(e,t){if(1&e&&(s.Wb(0,"td",12),s.lc("click",function(){const e=t.$implicit;return e.isDisabled?null:e.onClick()})("mouseenter",function(){return t.$implicit.onMouseEnter()}),s.Ub(1,13),s.Qc(2,Dt,5,3,"ng-container",14),s.Qc(3,jt,5,7,"ng-container",14),s.Tb(),s.Vb()),2&e){const e=t.$implicit,n=s.oc(2);s.xc("title",e.title),s.wc("ngClass",e.classMap),s.Cb(1),s.wc("ngSwitch",n.prefixCls),s.Cb(1),s.wc("ngSwitchCase","ant-picker"),s.Cb(1),s.wc("ngSwitchCase","ant-picker-calendar")}}function Lt(e,t){if(1&e&&(s.Wb(0,"tr",8),s.Qc(1,xt,2,4,"td",9),s.Qc(2,Vt,4,5,"td",10),s.Vb()),2&e){const e=t.$implicit,n=s.oc();s.wc("ngClass",e.classMap),s.Cb(1),s.wc("ngIf",e.weekNum),s.Cb(1),s.wc("ngForOf",e.dateCells)("ngForTrackBy",n.trackByBodyColumn)}}function Nt(e,t){if(1&e&&(s.Ub(0),s.Wb(1,"button",6),s.lc("click",function(){return t.$implicit.onClick()}),s.Sc(2),s.Vb(),s.Tb()),2&e){const e=t.$implicit;s.Cb(1),s.Eb(e.className),s.xc("title",e.title||null),s.Cb(1),s.Uc(" ",e.label," ")}}function Ft(e,t){1&e&&s.Rb(0,"th",6)}function Bt(e,t){if(1&e&&(s.Wb(0,"th",7),s.Sc(1),s.Vb()),2&e){const e=t.$implicit;s.xc("title",e.title),s.Cb(1),s.Uc(" ",e.content," ")}}function Wt(e,t){if(1&e&&(s.Wb(0,"thead"),s.Wb(1,"tr",3),s.Qc(2,Ft,1,0,"th",4),s.Qc(3,Bt,2,2,"th",5),s.Vb(),s.Vb()),2&e){const e=s.oc();s.Cb(2),s.wc("ngIf",e.showWeek),s.Cb(1),s.wc("ngForOf",e.headRow)}}function Ht(e,t){if(1&e&&(s.Wb(0,"td",11),s.Sc(1),s.Vb()),2&e){const e=s.oc().$implicit,t=s.oc();s.Fb("",t.prefixCls,"-cell-week"),s.Cb(1),s.Uc(" ",e.weekNum," ")}}function Ut(e,t){1&e&&s.Sb(0)}function $t(e,t){if(1&e&&(s.Ub(0),s.Qc(1,Ut,1,0,"ng-container",16),s.Tb()),2&e){const e=s.oc(2).$implicit;s.Cb(1),s.wc("ngTemplateOutlet",e.cellRender)("ngTemplateOutletContext",s.Bc(2,Tt,e.value))}}function Qt(e,t){if(1&e&&(s.Ub(0),s.Rb(1,"span",17),s.Tb()),2&e){const e=s.oc(2).$implicit;s.Cb(1),s.wc("innerHTML",e.cellRender,s.Ic)}}function Gt(e,t){if(1&e&&(s.Ub(0),s.Wb(1,"div"),s.Sc(2),s.Vb(),s.Tb()),2&e){const e=s.oc(2).$implicit,t=s.oc(2);s.Cb(1),s.Fb("",t.prefixCls,"-cell-inner"),s.Db("aria-selected",e.isSelected)("aria-disabled",e.isDisabled),s.Cb(1),s.Uc(" ",e.content," ")}}function Yt(e,t){if(1&e&&(s.Ub(0),s.Ub(1,13),s.Qc(2,$t,2,4,"ng-container",14),s.Qc(3,Qt,2,1,"ng-container",14),s.Qc(4,Gt,3,6,"ng-container",15),s.Tb(),s.Tb()),2&e){const e=s.oc().$implicit,t=s.oc(2);s.Cb(1),s.wc("ngSwitch",!0),s.Cb(1),s.wc("ngSwitchCase",t.isTemplateRef(e.cellRender)),s.Cb(1),s.wc("ngSwitchCase",t.isNonEmptyString(e.cellRender))}}function Kt(e,t){1&e&&s.Sb(0)}function Xt(e,t){if(1&e&&(s.Ub(0),s.Qc(1,Kt,1,0,"ng-container",16),s.Tb()),2&e){const e=s.oc(2).$implicit;s.Cb(1),s.wc("ngTemplateOutlet",e.fullCellRender)("ngTemplateOutletContext",s.Bc(2,Tt,e.value))}}function qt(e,t){1&e&&s.Sb(0)}function Jt(e,t){if(1&e&&(s.Wb(0,"div"),s.Sc(1),s.Vb(),s.Wb(2,"div"),s.Qc(3,qt,1,0,"ng-container",16),s.Vb()),2&e){const e=s.oc(2).$implicit,t=s.oc(2);s.Fb("",t.prefixCls,"-date-value"),s.Cb(1),s.Tc(e.content),s.Cb(1),s.Fb("",t.prefixCls,"-date-content"),s.Cb(1),s.wc("ngTemplateOutlet",e.cellRender)("ngTemplateOutletContext",s.Bc(9,Tt,e.value))}}function Zt(e,t){if(1&e&&(s.Ub(0),s.Wb(1,"div"),s.Qc(2,Xt,2,4,"ng-container",18),s.Qc(3,Jt,4,11,"ng-template",null,19,s.Rc),s.Vb(),s.Tb()),2&e){const e=s.Ec(4),t=s.oc().$implicit,n=s.oc(2);s.Cb(1),s.Fb("",n.prefixCls,"-date ant-picker-cell-inner"),s.Ib("ant-picker-calendar-date-today",t.isToday),s.Cb(1),s.wc("ngIf",t.fullCellRender)("ngIfElse",e)}}function en(e,t){if(1&e&&(s.Wb(0,"td",12),s.lc("click",function(){const e=t.$implicit;return e.isDisabled?null:e.onClick()})("mouseenter",function(){return t.$implicit.onMouseEnter()}),s.Ub(1,13),s.Qc(2,Yt,5,3,"ng-container",14),s.Qc(3,Zt,5,7,"ng-container",14),s.Tb(),s.Vb()),2&e){const e=t.$implicit,n=s.oc(2);s.xc("title",e.title),s.wc("ngClass",e.classMap),s.Cb(1),s.wc("ngSwitch",n.prefixCls),s.Cb(1),s.wc("ngSwitchCase","ant-picker"),s.Cb(1),s.wc("ngSwitchCase","ant-picker-calendar")}}function tn(e,t){if(1&e&&(s.Wb(0,"tr",8),s.Qc(1,Ht,2,4,"td",9),s.Qc(2,en,4,5,"td",10),s.Vb()),2&e){const e=t.$implicit,n=s.oc();s.wc("ngClass",e.classMap),s.Cb(1),s.wc("ngIf",e.weekNum),s.Cb(1),s.wc("ngForOf",e.dateCells)("ngForTrackBy",n.trackByBodyColumn)}}function nn(e,t){if(1&e&&(s.Ub(0),s.Wb(1,"button",6),s.lc("click",function(){return t.$implicit.onClick()}),s.Sc(2),s.Vb(),s.Tb()),2&e){const e=t.$implicit;s.Cb(1),s.Eb(e.className),s.xc("title",e.title||null),s.Cb(1),s.Uc(" ",e.label," ")}}function rn(e,t){1&e&&s.Rb(0,"th",6)}function on(e,t){if(1&e&&(s.Wb(0,"th",7),s.Sc(1),s.Vb()),2&e){const e=t.$implicit;s.xc("title",e.title),s.Cb(1),s.Uc(" ",e.content," ")}}function sn(e,t){if(1&e&&(s.Wb(0,"thead"),s.Wb(1,"tr",3),s.Qc(2,rn,1,0,"th",4),s.Qc(3,on,2,2,"th",5),s.Vb(),s.Vb()),2&e){const e=s.oc();s.Cb(2),s.wc("ngIf",e.showWeek),s.Cb(1),s.wc("ngForOf",e.headRow)}}function an(e,t){if(1&e&&(s.Wb(0,"td",11),s.Sc(1),s.Vb()),2&e){const e=s.oc().$implicit,t=s.oc();s.Fb("",t.prefixCls,"-cell-week"),s.Cb(1),s.Uc(" ",e.weekNum," ")}}function cn(e,t){1&e&&s.Sb(0)}function ln(e,t){if(1&e&&(s.Ub(0),s.Qc(1,cn,1,0,"ng-container",16),s.Tb()),2&e){const e=s.oc(2).$implicit;s.Cb(1),s.wc("ngTemplateOutlet",e.cellRender)("ngTemplateOutletContext",s.Bc(2,Tt,e.value))}}function un(e,t){if(1&e&&(s.Ub(0),s.Rb(1,"span",17),s.Tb()),2&e){const e=s.oc(2).$implicit;s.Cb(1),s.wc("innerHTML",e.cellRender,s.Ic)}}function dn(e,t){if(1&e&&(s.Ub(0),s.Wb(1,"div"),s.Sc(2),s.Vb(),s.Tb()),2&e){const e=s.oc(2).$implicit,t=s.oc(2);s.Cb(1),s.Fb("",t.prefixCls,"-cell-inner"),s.Db("aria-selected",e.isSelected)("aria-disabled",e.isDisabled),s.Cb(1),s.Uc(" ",e.content," ")}}function hn(e,t){if(1&e&&(s.Ub(0),s.Ub(1,13),s.Qc(2,ln,2,4,"ng-container",14),s.Qc(3,un,2,1,"ng-container",14),s.Qc(4,dn,3,6,"ng-container",15),s.Tb(),s.Tb()),2&e){const e=s.oc().$implicit,t=s.oc(2);s.Cb(1),s.wc("ngSwitch",!0),s.Cb(1),s.wc("ngSwitchCase",t.isTemplateRef(e.cellRender)),s.Cb(1),s.wc("ngSwitchCase",t.isNonEmptyString(e.cellRender))}}function pn(e,t){1&e&&s.Sb(0)}function fn(e,t){if(1&e&&(s.Ub(0),s.Qc(1,pn,1,0,"ng-container",16),s.Tb()),2&e){const e=s.oc(2).$implicit;s.Cb(1),s.wc("ngTemplateOutlet",e.fullCellRender)("ngTemplateOutletContext",s.Bc(2,Tt,e.value))}}function gn(e,t){1&e&&s.Sb(0)}function bn(e,t){if(1&e&&(s.Wb(0,"div"),s.Sc(1),s.Vb(),s.Wb(2,"div"),s.Qc(3,gn,1,0,"ng-container",16),s.Vb()),2&e){const e=s.oc(2).$implicit,t=s.oc(2);s.Fb("",t.prefixCls,"-date-value"),s.Cb(1),s.Tc(e.content),s.Cb(1),s.Fb("",t.prefixCls,"-date-content"),s.Cb(1),s.wc("ngTemplateOutlet",e.cellRender)("ngTemplateOutletContext",s.Bc(9,Tt,e.value))}}function mn(e,t){if(1&e&&(s.Ub(0),s.Wb(1,"div"),s.Qc(2,fn,2,4,"ng-container",18),s.Qc(3,bn,4,11,"ng-template",null,19,s.Rc),s.Vb(),s.Tb()),2&e){const e=s.Ec(4),t=s.oc().$implicit,n=s.oc(2);s.Cb(1),s.Fb("",n.prefixCls,"-date ant-picker-cell-inner"),s.Ib("ant-picker-calendar-date-today",t.isToday),s.Cb(1),s.wc("ngIf",t.fullCellRender)("ngIfElse",e)}}function yn(e,t){if(1&e&&(s.Wb(0,"td",12),s.lc("click",function(){const e=t.$implicit;return e.isDisabled?null:e.onClick()})("mouseenter",function(){return t.$implicit.onMouseEnter()}),s.Ub(1,13),s.Qc(2,hn,5,3,"ng-container",14),s.Qc(3,mn,5,7,"ng-container",14),s.Tb(),s.Vb()),2&e){const e=t.$implicit,n=s.oc(2);s.xc("title",e.title),s.wc("ngClass",e.classMap),s.Cb(1),s.wc("ngSwitch",n.prefixCls),s.Cb(1),s.wc("ngSwitchCase","ant-picker"),s.Cb(1),s.wc("ngSwitchCase","ant-picker-calendar")}}function vn(e,t){if(1&e&&(s.Wb(0,"tr",8),s.Qc(1,an,2,4,"td",9),s.Qc(2,yn,4,5,"td",10),s.Vb()),2&e){const e=t.$implicit,n=s.oc();s.wc("ngClass",e.classMap),s.Cb(1),s.wc("ngIf",e.weekNum),s.Cb(1),s.wc("ngForOf",e.dateCells)("ngForTrackBy",n.trackByBodyColumn)}}function Cn(e,t){if(1&e&&(s.Ub(0),s.Wb(1,"button",6),s.lc("click",function(){return t.$implicit.onClick()}),s.Sc(2),s.Vb(),s.Tb()),2&e){const e=t.$implicit;s.Cb(1),s.Eb(e.className),s.xc("title",e.title||null),s.Cb(1),s.Uc(" ",e.label," ")}}function wn(e,t){1&e&&s.Rb(0,"th",6)}function Sn(e,t){if(1&e&&(s.Wb(0,"th",7),s.Sc(1),s.Vb()),2&e){const e=t.$implicit;s.xc("title",e.title),s.Cb(1),s.Uc(" ",e.content," ")}}function _n(e,t){if(1&e&&(s.Wb(0,"thead"),s.Wb(1,"tr",3),s.Qc(2,wn,1,0,"th",4),s.Qc(3,Sn,2,2,"th",5),s.Vb(),s.Vb()),2&e){const e=s.oc();s.Cb(2),s.wc("ngIf",e.showWeek),s.Cb(1),s.wc("ngForOf",e.headRow)}}function On(e,t){if(1&e&&(s.Wb(0,"td",11),s.Sc(1),s.Vb()),2&e){const e=s.oc().$implicit,t=s.oc();s.Fb("",t.prefixCls,"-cell-week"),s.Cb(1),s.Uc(" ",e.weekNum," ")}}function xn(e,t){1&e&&s.Sb(0)}function zn(e,t){if(1&e&&(s.Ub(0),s.Qc(1,xn,1,0,"ng-container",16),s.Tb()),2&e){const e=s.oc(2).$implicit;s.Cb(1),s.wc("ngTemplateOutlet",e.cellRender)("ngTemplateOutletContext",s.Bc(2,Tt,e.value))}}function Tn(e,t){if(1&e&&(s.Ub(0),s.Rb(1,"span",17),s.Tb()),2&e){const e=s.oc(2).$implicit;s.Cb(1),s.wc("innerHTML",e.cellRender,s.Ic)}}function kn(e,t){if(1&e&&(s.Ub(0),s.Wb(1,"div"),s.Sc(2),s.Vb(),s.Tb()),2&e){const e=s.oc(2).$implicit,t=s.oc(2);s.Cb(1),s.Fb("",t.prefixCls,"-cell-inner"),s.Db("aria-selected",e.isSelected)("aria-disabled",e.isDisabled),s.Cb(1),s.Uc(" ",e.content," ")}}function Pn(e,t){if(1&e&&(s.Ub(0),s.Ub(1,13),s.Qc(2,zn,2,4,"ng-container",14),s.Qc(3,Tn,2,1,"ng-container",14),s.Qc(4,kn,3,6,"ng-container",15),s.Tb(),s.Tb()),2&e){const e=s.oc().$implicit,t=s.oc(2);s.Cb(1),s.wc("ngSwitch",!0),s.Cb(1),s.wc("ngSwitchCase",t.isTemplateRef(e.cellRender)),s.Cb(1),s.wc("ngSwitchCase",t.isNonEmptyString(e.cellRender))}}function En(e,t){1&e&&s.Sb(0)}function Dn(e,t){if(1&e&&(s.Ub(0),s.Qc(1,En,1,0,"ng-container",16),s.Tb()),2&e){const e=s.oc(2).$implicit;s.Cb(1),s.wc("ngTemplateOutlet",e.fullCellRender)("ngTemplateOutletContext",s.Bc(2,Tt,e.value))}}function Mn(e,t){1&e&&s.Sb(0)}function In(e,t){if(1&e&&(s.Wb(0,"div"),s.Sc(1),s.Vb(),s.Wb(2,"div"),s.Qc(3,Mn,1,0,"ng-container",16),s.Vb()),2&e){const e=s.oc(2).$implicit,t=s.oc(2);s.Fb("",t.prefixCls,"-date-value"),s.Cb(1),s.Tc(e.content),s.Cb(1),s.Fb("",t.prefixCls,"-date-content"),s.Cb(1),s.wc("ngTemplateOutlet",e.cellRender)("ngTemplateOutletContext",s.Bc(9,Tt,e.value))}}function An(e,t){if(1&e&&(s.Ub(0),s.Wb(1,"div"),s.Qc(2,Dn,2,4,"ng-container",18),s.Qc(3,In,4,11,"ng-template",null,19,s.Rc),s.Vb(),s.Tb()),2&e){const e=s.Ec(4),t=s.oc().$implicit,n=s.oc(2);s.Cb(1),s.Fb("",n.prefixCls,"-date ant-picker-cell-inner"),s.Ib("ant-picker-calendar-date-today",t.isToday),s.Cb(1),s.wc("ngIf",t.fullCellRender)("ngIfElse",e)}}function Rn(e,t){if(1&e&&(s.Wb(0,"td",12),s.lc("click",function(){const e=t.$implicit;return e.isDisabled?null:e.onClick()})("mouseenter",function(){return t.$implicit.onMouseEnter()}),s.Ub(1,13),s.Qc(2,Pn,5,3,"ng-container",14),s.Qc(3,An,5,7,"ng-container",14),s.Tb(),s.Vb()),2&e){const e=t.$implicit,n=s.oc(2);s.xc("title",e.title),s.wc("ngClass",e.classMap),s.Cb(1),s.wc("ngSwitch",n.prefixCls),s.Cb(1),s.wc("ngSwitchCase","ant-picker"),s.Cb(1),s.wc("ngSwitchCase","ant-picker-calendar")}}function jn(e,t){if(1&e&&(s.Wb(0,"tr",8),s.Qc(1,On,2,4,"td",9),s.Qc(2,Rn,4,5,"td",10),s.Vb()),2&e){const e=t.$implicit,n=s.oc();s.wc("ngClass",e.classMap),s.Cb(1),s.wc("ngIf",e.weekNum),s.Cb(1),s.wc("ngForOf",e.dateCells)("ngForTrackBy",n.trackByBodyColumn)}}const Vn="ant-picker",Ln={nzDisabledHours:()=>[],nzDisabledMinutes:()=>[],nzDisabledSeconds:()=>[]};function Nn(e,t){let n=t?t(e&&e.nativeDate):{};return n=Object.assign(Object.assign({},Ln),n),n}function Fn(e,t,n){return!(!e||t&&t(e.nativeDate)||n&&!function(e,t){return function(e,t){let n=!1;if(e){const i=e.getHours(),r=e.getMinutes(),o=e.getSeconds();n=-1!==t.nzDisabledHours().indexOf(i)||-1!==t.nzDisabledMinutes(i).indexOf(r)||-1!==t.nzDisabledSeconds(i,r).indexOf(o)}return!n}(e,Nn(e,t))}(e,n))}function Bn(e){return e&&e.replace(/Y/g,"y").replace(/D/g,"d")}let Wn=(()=>{class e{constructor(e){this.dateHelper=e,this.showToday=!1,this.showNow=!1,this.hasTimePicker=!1,this.isRange=!1,this.okDisabled=!1,this.rangeQuickSelector=null,this.clickOk=new s.n,this.clickToday=new s.n,this.prefixCls=Vn,this.isTemplateRef=b.l,this.isNonEmptyString=b.g,this.isTodayDisabled=!1,this.todayTitle=""}ngOnChanges(e){const t=new Date;if(e.disabledDate&&(this.isTodayDisabled=!(!this.disabledDate||!this.disabledDate(t))),e.locale){const e=Bn(this.locale.dateFormat);this.todayTitle=this.dateHelper.format(t,e)}}onClickToday(){const e=new Y.a;this.clickToday.emit(e.clone())}}return e.\u0275fac=function(t){return new(t||e)(s.Qb(m.a))},e.\u0275cmp=s.Kb({type:e,selectors:[["calendar-footer"]],inputs:{showToday:"showToday",showNow:"showNow",hasTimePicker:"hasTimePicker",isRange:"isRange",okDisabled:"okDisabled",rangeQuickSelector:"rangeQuickSelector",locale:"locale",disabledDate:"disabledDate",extraFooter:"extraFooter"},outputs:{clickOk:"clickOk",clickToday:"clickToday"},exportAs:["calendarFooter"],features:[s.Ab],decls:4,vars:6,consts:[[3,"class",4,"ngIf"],["role","button",3,"class","title","click",4,"ngIf"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngTemplateOutlet"],[3,"innerHTML"],["role","button",3,"title","click"],[3,"click"],["nz-button","","type","button","nzType","primary","nzSize","small",3,"disabled","click"]],template:function(e,t){1&e&&(s.Wb(0,"div"),s.Qc(1,xe,4,6,"div",0),s.Qc(2,ze,2,6,"a",1),s.Qc(3,Ee,4,6,"ul",0),s.Vb()),2&e&&(s.Fb("",t.prefixCls,"-footer"),s.Cb(1),s.wc("ngIf",t.extraFooter),s.Cb(1),s.wc("ngIf",t.showToday),s.Cb(1),s.wc("ngIf",t.hasTimePicker||t.rangeQuickSelector))},directives:[o.o,o.q,o.r,o.t,c.a,_.a,S.a],encapsulation:2,changeDetection:0}),e})(),Hn=(()=>{class e{constructor(){this.activeInput="left",this.arrowLeft=0,this.isRange=!1,this.valueChange$=new K.a(1),this.emitValue$=new y.a,this.inputPartChange$=new y.a}initValue(e=!1){e&&(this.initialValue=this.isRange?[]:null),this.setValue(this.initialValue)}hasValue(e=this.value){return Array.isArray(e)?!!e[0]||!!e[1]:!!e}makeValue(e){return this.isRange?e?e.map(e=>new Y.a(e)):[]:e?new Y.a(e):null}setActiveDate(e,t=!1,n="month"){this.activeDate=this.isRange?Object(Y.c)(e,t,{date:"month",month:"year",year:"decade"}[n],this.activeInput):Object(Y.b)(e)}setValue(e){this.value=e,this.valueChange$.next(this.value)}getActiveIndex(e=this.activeInput){return{left:0,right:1}[e]}ngOnDestroy(){this.valueChange$.complete(),this.emitValue$.complete(),this.inputPartChange$.complete()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=s.Mb({token:e,factory:e.\u0275fac}),e})(),Un=(()=>{class e{constructor(e,t){this.datePickerService=e,this.cdr=t,this.inline=!1,this.dir="ltr",this.panelModeChange=new s.n,this.calendarChange=new s.n,this.resultOk=new s.n,this.prefixCls=Vn,this.endPanelMode="date",this.timeOptions=null,this.hoverValue=[],this.checkedPartArr=[!1,!1],this.destroy$=new y.a,this.disabledStartTime=e=>this.disabledTime&&this.disabledTime(e,"start"),this.disabledEndTime=e=>this.disabledTime&&this.disabledTime(e,"end")}get hasTimePicker(){return!!this.showTime}get hasFooter(){return this.showToday||this.hasTimePicker||!!this.extraFooter||!!this.ranges}ngOnInit(){Object(X.a)(this.datePickerService.valueChange$,this.datePickerService.inputPartChange$).pipe(Object(v.a)(this.destroy$)).subscribe(()=>{this.updateActiveDate(),this.cdr.markForCheck()})}ngOnChanges(e){(e.showTime||e.disabledTime)&&this.showTime&&this.buildTimeOptions(),e.panelMode&&(this.endPanelMode=this.panelMode),e.defaultPickerValue&&this.updateActiveDate()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}updateActiveDate(){const e=this.datePickerService.hasValue()?this.datePickerService.value:this.datePickerService.makeValue(this.defaultPickerValue);this.datePickerService.setActiveDate(e,this.hasTimePicker,this.getPanelMode(this.endPanelMode))}init(){this.checkedPartArr=[!1,!1],this.updateActiveDate(),this.datePickerService.setValue(Object(Y.b)(this.datePickerService.value))}onMousedown(e){e.preventDefault()}onClickOk(){this.changeValueFromSelect(this.isRange?this.datePickerService.value[{left:0,right:1}[this.datePickerService.activeInput]]:this.datePickerService.value),this.resultOk.emit()}onClickToday(e){this.changeValueFromSelect(e,!this.showTime)}onCellHover(e){if(!this.isRange)return;const t=this.datePickerService.value[{left:1,right:0}[this.datePickerService.activeInput]];t&&(this.hoverValue=t.isBeforeDay(e)?[t,e]:[e,t])}onPanelModeChange(e,t){if(this.isRange){const n=this.datePickerService.getActiveIndex(t);this.panelMode=0===n?[e,this.panelMode[1]]:[this.panelMode[0],e]}else this.panelMode=e;this.panelModeChange.emit(this.panelMode)}onActiveDateChange(e,t){if(this.isRange){const n=[];n[this.datePickerService.getActiveIndex(t)]=e,this.datePickerService.setActiveDate(n,this.hasTimePicker,this.getPanelMode(this.endPanelMode,t))}else this.datePickerService.setActiveDate(e)}onSelectTime(e,t){if(this.isRange){const n=Object(Y.b)(this.datePickerService.value),i=this.datePickerService.getActiveIndex(t);n[i]=this.overrideHms(e,n[i]),this.datePickerService.setValue(n)}else{const t=this.overrideHms(e,this.datePickerService.value);this.datePickerService.setValue(t)}this.datePickerService.inputPartChange$.next(),this.buildTimeOptions()}changeValueFromSelect(e,t=!0){if(this.isRange){const n=Object(Y.b)(this.datePickerService.value),i=this.datePickerService.activeInput;let r=i;n[this.datePickerService.getActiveIndex(i)]=e,this.checkedPartArr[this.datePickerService.getActiveIndex(i)]=!0,this.hoverValue=n,t?this.inline?(r=this.reversedPart(i),"right"===r&&(n[this.datePickerService.getActiveIndex(r)]=null,this.checkedPartArr[this.datePickerService.getActiveIndex(r)]=!1),this.datePickerService.setValue(n),this.calendarChange.emit(n),this.isBothAllowed(n)&&this.checkedPartArr[0]&&this.checkedPartArr[1]&&(this.clearHoverValue(),this.datePickerService.emitValue$.next())):(Object(Y.d)(n)&&(r=this.reversedPart(i),n[this.datePickerService.getActiveIndex(r)]=null,this.checkedPartArr[this.datePickerService.getActiveIndex(r)]=!1),this.datePickerService.setValue(n),this.isBothAllowed(n)&&this.checkedPartArr[0]&&this.checkedPartArr[1]?(this.calendarChange.emit(n),this.clearHoverValue(),this.datePickerService.emitValue$.next()):this.isAllowed(n)&&(r=this.reversedPart(i),this.calendarChange.emit([e.clone()]))):this.datePickerService.setValue(n),this.datePickerService.inputPartChange$.next(r)}else this.datePickerService.setValue(e),this.datePickerService.inputPartChange$.next(),t&&this.isAllowed(e)&&this.datePickerService.emitValue$.next()}reversedPart(e){return"left"===e?"right":"left"}getPanelMode(e,t){return this.isRange?e[this.datePickerService.getActiveIndex(t)]:e}getValue(e){return this.isRange?(this.datePickerService.value||[])[this.datePickerService.getActiveIndex(e)]:this.datePickerService.value}getActiveDate(e){return this.isRange?this.datePickerService.activeDate[this.datePickerService.getActiveIndex(e)]:this.datePickerService.activeDate}isOneAllowed(e){const t=this.datePickerService.getActiveIndex();return Fn(e[t],this.disabledDate,[this.disabledStartTime,this.disabledEndTime][t])}isBothAllowed(e){return Fn(e[0],this.disabledDate,this.disabledStartTime)&&Fn(e[1],this.disabledDate,this.disabledEndTime)}isAllowed(e,t=!1){return this.isRange?t?this.isBothAllowed(e):this.isOneAllowed(e):Fn(e,this.disabledDate,this.disabledTime)}getTimeOptions(e){return this.showTime&&this.timeOptions?this.timeOptions instanceof Array?this.timeOptions[this.datePickerService.getActiveIndex(e)]:this.timeOptions:null}onClickPresetRange(e){const t="function"==typeof e?e():e;t&&(this.datePickerService.setValue([new Y.a(t[0]),new Y.a(t[1])]),this.datePickerService.emitValue$.next())}onPresetRangeMouseLeave(){this.clearHoverValue()}onHoverPresetRange(e){"function"!=typeof e&&(this.hoverValue=[new Y.a(e[0]),new Y.a(e[1])])}getObjectKeys(e){return e?Object.keys(e):[]}show(e){return!(this.showTime&&this.isRange&&this.datePickerService.activeInput!==e)}clearHoverValue(){this.hoverValue=[]}buildTimeOptions(){if(this.showTime){const e="object"==typeof this.showTime?this.showTime:{};if(this.isRange){const t=this.datePickerService.value;this.timeOptions=[this.overrideTimeOptions(e,t[0],"start"),this.overrideTimeOptions(e,t[1],"end")]}else this.timeOptions=this.overrideTimeOptions(e,this.datePickerService.value)}else this.timeOptions=null}overrideTimeOptions(e,t,n){let i;return i=n?"start"===n?this.disabledStartTime:this.disabledEndTime:this.disabledTime,Object.assign(Object.assign({},e),Nn(t,i))}overrideHms(e,t){return e=e||new Y.a,(t=t||new Y.a).setHms(e.getHours(),e.getMinutes(),e.getSeconds())}}return e.\u0275fac=function(t){return new(t||e)(s.Qb(Hn),s.Qb(s.h))},e.\u0275cmp=s.Kb({type:e,selectors:[["date-range-popup"]],hostBindings:function(e,t){1&e&&s.lc("mousedown",function(e){return t.onMousedown(e)})},inputs:{inline:"inline",dir:"dir",panelMode:"panelMode",isRange:"isRange",showWeek:"showWeek",locale:"locale",disabledDate:"disabledDate",disabledTime:"disabledTime",showToday:"showToday",showNow:"showNow",showTime:"showTime",extraFooter:"extraFooter",ranges:"ranges",dateRender:"dateRender",defaultPickerValue:"defaultPickerValue"},outputs:{panelModeChange:"panelModeChange",calendarChange:"calendarChange",resultOk:"resultOk"},exportAs:["dateRangePopup"],features:[s.Ab],decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["singlePanel",""],["tplInnerPopup",""],["tplFooter",""],["tplRangeQuickSelector",""],["noTimePicker",""],[4,"ngTemplateOutlet"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["tabindex","-1"],[3,"showWeek","endPanelMode","partType","locale","showTimePicker","timeOptions","panelMode","activeDate","value","disabledDate","dateRender","selectedValue","hoverValue","panelModeChange","cellHover","selectDate","selectTime","headerChange"],[3,"locale","isRange","showToday","showNow","hasTimePicker","okDisabled","extraFooter","rangeQuickSelector","clickOk","clickToday",4,"ngIf"],[3,"locale","isRange","showToday","showNow","hasTimePicker","okDisabled","extraFooter","rangeQuickSelector","clickOk","clickToday"],[3,"class","click","mouseenter","mouseleave",4,"ngFor","ngForOf"],[3,"click","mouseenter","mouseleave"],[1,"ant-tag","ant-tag-blue"]],template:function(e,t){if(1&e&&(s.Qc(0,Fe,9,18,"ng-container",0),s.Qc(1,He,4,13,"ng-template",null,1,s.Rc),s.Qc(3,Ue,2,18,"ng-template",null,2,s.Rc),s.Qc(5,Qe,1,1,"ng-template",null,3,s.Rc),s.Qc(7,Ye,1,1,"ng-template",null,4,s.Rc)),2&e){const e=s.Ec(2);s.wc("ngIf",t.isRange)("ngIfElse",e)}},directives:function(){return[o.o,o.t,Yn,Wn,o.n]},encapsulation:2,changeDetection:0}),e})(),$n=(()=>{class e{constructor(e,t,n,i,o,a,c){this.elementRef=e,this.dateHelper=t,this.cdr=n,this.platform=i,this.nzResizeObserver=o,this.datePickerService=a,this.noAnimation=!1,this.isRange=!1,this.open=void 0,this.disabled=!1,this.inputReadOnly=!1,this.inline=!1,this.popupStyle=null,this.dir="ltr",this.nzId=null,this.hasBackdrop=!1,this.focusChange=new s.n,this.valueChange=new s.n,this.openChange=new s.n,this.inputSize=12,this.destroy$=new y.a,this.prefixCls=Vn,this.activeBarStyle={},this.overlayOpen=!1,this.overlayPositions=[{offsetX:-12,offsetY:8,originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{offsetX:-12,offsetY:-8,originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{offsetX:12,offsetY:8,originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{offsetX:12,offsetY:-8,originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"}],this.currentPositionX="start",this.currentPositionY="bottom",this.document=c,this.origin=new r.b(this.elementRef)}get realOpenState(){return this.isOpenHandledByUser()?!!this.open:this.overlayOpen}ngOnInit(){this.inputValue=this.isRange?["",""]:"",this.datePickerService.valueChange$.pipe(Object(v.a)(this.destroy$)).subscribe(()=>{this.updateInputValue()})}ngAfterViewInit(){this.autoFocus&&this.focus(),this.isRange&&this.platform.isBrowser&&this.nzResizeObserver.observe(this.elementRef).pipe(Object(v.a)(this.destroy$)).subscribe(()=>{this.updateInputWidthAndArrowLeft()}),this.datePickerService.inputPartChange$.pipe(Object(v.a)(this.destroy$)).subscribe(e=>{e&&(this.datePickerService.activeInput=e),this.focus(),this.updateInputWidthAndArrowLeft()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}ngOnChanges(e){var t,n;(null===(t=e.format)||void 0===t?void 0:t.currentValue)!==(null===(n=e.format)||void 0===n?void 0:n.previousValue)&&(this.inputSize=Math.max(10,this.format.length)+2,this.updateInputValue())}updateInputWidthAndArrowLeft(){var e,t,n;this.inputWidth=(null===(t=null===(e=this.rangePickerInputs)||void 0===e?void 0:e.first)||void 0===t?void 0:t.nativeElement.offsetWidth)||0;const i={position:"absolute",width:`${this.inputWidth}px`};this.datePickerService.arrowLeft="left"===this.datePickerService.activeInput?0:this.inputWidth+(null===(n=this.separatorElement)||void 0===n?void 0:n.nativeElement.offsetWidth)||0,this.activeBarStyle=Object.assign(Object.assign({},i),"rtl"===this.dir?{right:`${this.datePickerService.arrowLeft}px`}:{left:`${this.datePickerService.arrowLeft}px`}),this.cdr.markForCheck()}getInput(e){var t,n;if(!this.inline)return this.isRange?"left"===e?null===(t=this.rangePickerInputs)||void 0===t?void 0:t.first.nativeElement:null===(n=this.rangePickerInputs)||void 0===n?void 0:n.last.nativeElement:this.pickerInput.nativeElement}focus(){const e=this.getInput(this.datePickerService.activeInput);this.document.activeElement!==e&&(null==e||e.focus())}onFocus(e,t){e.preventDefault(),this.focusChange.emit(!0),t&&this.datePickerService.inputPartChange$.next(t)}onFocusout(e){e.preventDefault(),this.focusChange.emit(!1),this.elementRef.nativeElement.contains(e.relatedTarget)||this.checkAndClose()}showOverlay(){this.inline||this.realOpenState||this.disabled||(this.updateInputWidthAndArrowLeft(),this.overlayOpen=!0,this.panel.init(),this.focus(),this.openChange.emit(!0),this.cdr.markForCheck())}hideOverlay(){this.inline||this.realOpenState&&(this.overlayOpen=!1,this.openChange.emit(!1))}showClear(){return!this.disabled&&!this.isEmptyValue(this.datePickerService.value)&&!!this.allowClear}checkAndClose(){if(this.realOpenState)if(this.panel.isAllowed(this.datePickerService.value,!0)){if(Array.isArray(this.datePickerService.value)&&Object(Y.d)(this.datePickerService.value)){const e=this.datePickerService.getActiveIndex(this.datePickerService.activeInput);return void this.panel.changeValueFromSelect(this.datePickerService.value[e],!0)}this.updateInputValue(),this.datePickerService.emitValue$.next()}else this.datePickerService.setValue(this.datePickerService.initialValue),this.hideOverlay()}onClickInputBox(e){e.stopPropagation(),this.focus(),this.isOpenHandledByUser()||this.showOverlay()}onOverlayDetach(){this.hideOverlay()}onOverlayKeydown(e){e.keyCode===q.f&&this.datePickerService.initValue()}onPositionChange(e){this.currentPositionX=e.connectionPair.originX,this.currentPositionY=e.connectionPair.originY,this.cdr.detectChanges()}onClickClear(e){e.preventDefault(),e.stopPropagation(),this.datePickerService.setValue(this.isRange?[]:null),this.datePickerService.emitValue$.next()}updateInputValue(){const e=this.datePickerService.value;this.inputValue=this.isRange?e?e.map(e=>this.formatValue(e)):["",""]:this.formatValue(e),this.cdr.markForCheck()}formatValue(e){return this.dateHelper.format(e&&e.nativeDate,this.format)}onInputChange(e,t=!1){if(!this.platform.TRIDENT&&this.document.activeElement===this.getInput(this.datePickerService.activeInput)&&!this.realOpenState)return void this.showOverlay();const n=this.checkValidDate(e);n&&this.realOpenState&&this.panel.changeValueFromSelect(n,t)}onKeyupEnter(e){this.onInputChange(e.target.value,!0)}checkValidDate(e){const t=new Y.a(this.dateHelper.parseDate(e,this.format));return t.isValid()&&e===this.dateHelper.format(t.nativeDate,this.format)?t:null}getPlaceholder(e){return this.isRange?this.placeholder[this.datePickerService.getActiveIndex(e)]:this.placeholder}isEmptyValue(e){return null===e||(this.isRange?!e||!Array.isArray(e)||e.every(e=>!e):!e)}isOpenHandledByUser(){return void 0!==this.open}}return e.\u0275fac=function(t){return new(t||e)(s.Qb(s.l),s.Qb(m.a),s.Qb(s.h),s.Qb(w.a),s.Qb(we),s.Qb(Hn),s.Qb(o.e))},e.\u0275cmp=s.Kb({type:e,selectors:[["","nz-picker",""]],contentQueries:function(e,t,n){if(1&e&&s.Jb(n,Un,1),2&e){let e;s.Dc(e=s.mc())&&(t.panel=e.first)}},viewQuery:function(e,t){if(1&e&&(s.Xc(r.a,1),s.Xc(Ke,1),s.Xc(Xe,1),s.Xc(qe,1)),2&e){let e;s.Dc(e=s.mc())&&(t.cdkConnectedOverlay=e.first),s.Dc(e=s.mc())&&(t.separatorElement=e.first),s.Dc(e=s.mc())&&(t.pickerInput=e.first),s.Dc(e=s.mc())&&(t.rangePickerInputs=e)}},inputs:{noAnimation:"noAnimation",isRange:"isRange",open:"open",disabled:"disabled",inputReadOnly:"inputReadOnly",inline:"inline",popupStyle:"popupStyle",dir:"dir",nzId:"nzId",hasBackdrop:"hasBackdrop",placeholder:"placeholder",allowClear:"allowClear",autoFocus:"autoFocus",format:"format",separator:"separator",dropdownClassName:"dropdownClassName",suffixIcon:"suffixIcon"},outputs:{focusChange:"focusChange",valueChange:"valueChange",openChange:"openChange"},exportAs:["nzPicker"],features:[s.Ab],attrs:Je,ngContentSelectors:gt,decls:8,vars:7,consts:[[4,"ngIf","ngIfElse"],["tplRangeInput",""],["tplRightRest",""],["inlineMode",""],["cdkConnectedOverlay","","nzConnectedOverlay","",3,"cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayTransformOriginOn","positionChange","detach","overlayKeydown"],[3,"class",4,"ngIf"],[4,"ngIf"],[3,"disabled","readOnly","ngModel","placeholder","size","ngModelChange","focus","focusout","keyup.enter"],["pickerInput",""],[4,"ngTemplateOutlet"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["separatorElement",""],["defaultSeparator",""],["nz-icon","","nzType","swap-right","nzTheme","outline"],[3,"disabled","readOnly","size","ngModel","placeholder","click","focusout","focus","keyup.enter","ngModelChange"],["rangePickerInput",""],[3,"ngStyle"],[3,"class","click",4,"ngIf"],[4,"nzStringTemplateOutlet"],[3,"click"],["nz-icon","","nzType","close-circle","nzTheme","fill"],["nz-icon","",3,"nzType"],[1,"ant-picker-wrapper",2,"position","relative",3,"nzNoAnimation"]],template:function(e,t){if(1&e&&(s.vc(),s.Qc(0,at,3,2,"ng-container",0),s.Qc(1,ct,2,5,"ng-template",null,1,s.Rc),s.Qc(3,dt,4,9,"ng-template",null,2,s.Rc),s.Qc(5,ht,3,23,"ng-template",null,3,s.Rc),s.Qc(7,ft,1,1,"ng-template",4),s.lc("positionChange",function(e){return t.onPositionChange(e)})("detach",function(){return t.onOverlayDetach()})("overlayKeydown",function(e){return t.onOverlayKeydown(e)})),2&e){const e=s.Ec(6);s.wc("ngIf",!t.inline)("ngIfElse",e),s.Cb(7),s.wc("cdkConnectedOverlayHasBackdrop",t.hasBackdrop)("cdkConnectedOverlayOrigin",t.origin)("cdkConnectedOverlayOpen",t.realOpenState)("cdkConnectedOverlayPositions",t.overlayPositions)("cdkConnectedOverlayTransformOriginOn",".ant-picker-wrapper")}},directives:[o.o,r.a,d.b,a.d,a.o,a.r,o.t,h.a,S.a,o.p,u.b,l.a],encapsulation:2,data:{animation:[f.f]},changeDetection:0}),e})();const Qn={position:"relative"};let Gn=(()=>{class e{constructor(e,t,n,i,r,o,a,c,l){this.nzConfigService=e,this.datePickerService=t,this.i18n=n,this.cdr=i,this.renderer=r,this.elementRef=o,this.dateHelper=a,this.directionality=c,this.noAnimation=l,this._nzModuleName="datePicker",this.isRange=!1,this.dir="ltr",this.panelMode="date",this.destroyed$=new y.a,this.isCustomPlaceHolder=!1,this.isCustomFormat=!1,this.showTime=!1,this.nzAllowClear=!0,this.nzAutoFocus=!1,this.nzDisabled=!1,this.nzBorderless=!1,this.nzInputReadOnly=!1,this.nzInline=!1,this.nzPlaceHolder="",this.nzPopupStyle=Qn,this.nzSize="default",this.nzShowToday=!0,this.nzMode="date",this.nzShowNow=!0,this.nzDefaultPickerValue=null,this.nzSeparator=void 0,this.nzSuffixIcon="calendar",this.nzBackdrop=!1,this.nzId=null,this.nzOnPanelChange=new s.n,this.nzOnCalendarChange=new s.n,this.nzOnOk=new s.n,this.nzOnOpenChange=new s.n,this.onChangeFn=()=>{},this.onTouchedFn=()=>{},this.elementRef.nativeElement.classList.add("ant-picker")}get nzShowTime(){return this.showTime}set nzShowTime(e){this.showTime="object"==typeof e?e:Object(b.q)(e)}ngOnInit(){var e;this.nzLocale||this.i18n.localeChange.pipe(Object(v.a)(this.destroyed$)).subscribe(()=>this.setLocale()),this.datePickerService.isRange=this.isRange,this.datePickerService.initValue(!0),this.datePickerService.emitValue$.pipe(Object(v.a)(this.destroyed$)).subscribe(e=>{var t,n,i,r;const o=this.datePickerService.value;if(this.datePickerService.initialValue=Object(Y.b)(o),this.isRange){const e=o;this.onChangeFn(e.length?[null!==(n=null===(t=e[0])||void 0===t?void 0:t.nativeDate)&&void 0!==n?n:null,null!==(r=null===(i=e[1])||void 0===i?void 0:i.nativeDate)&&void 0!==r?r:null]:[])}else this.onChangeFn(o?o.nativeDate:null);this.onTouchedFn(),this.close()}),this.setModeAndFormat(),null===(e=this.directionality.change)||void 0===e||e.pipe(Object(v.a)(this.destroyed$)).subscribe(e=>{this.dir=e,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnChanges(e){var t,n;e.nzPopupStyle&&(this.nzPopupStyle=this.nzPopupStyle?Object.assign(Object.assign({},this.nzPopupStyle),Qn):Qn),(null===(t=e.nzPlaceHolder)||void 0===t?void 0:t.currentValue)&&(this.isCustomPlaceHolder=!0),(null===(n=e.nzFormat)||void 0===n?void 0:n.currentValue)&&(this.isCustomFormat=!0),e.nzLocale&&this.setDefaultPlaceHolder(),e.nzRenderExtraFooter&&(this.extraFooter=Object(b.u)(this.nzRenderExtraFooter)),e.nzMode&&(this.setDefaultPlaceHolder(),this.setModeAndFormat())}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}setModeAndFormat(){const e={year:"yyyy",month:"yyyy-MM",week:this.i18n.getDateLocale()?"RRRR-II":"yyyy-ww",date:this.nzShowTime?"yyyy-MM-dd HH:mm:ss":"yyyy-MM-dd"};this.nzMode||(this.nzMode="date"),this.panelMode=this.isRange?[this.nzMode,this.nzMode]:this.nzMode,this.isCustomFormat||(this.nzFormat=e[this.nzMode])}onOpenChange(e){this.nzOnOpenChange.emit(e)}open(){this.picker.showOverlay()}close(){this.picker.hideOverlay()}writeValue(e){this.setValue(e),this.cdr.markForCheck()}registerOnChange(e){this.onChangeFn=e}registerOnTouched(e){this.onTouchedFn=e}setDisabledState(e){this.nzDisabled=e,this.cdr.markForCheck()}setLocale(){this.nzLocale=this.i18n.getLocaleData("DatePicker",{}),this.setDefaultPlaceHolder(),this.cdr.markForCheck()}setDefaultPlaceHolder(){if(!this.isCustomPlaceHolder&&this.nzLocale){const e={year:this.getPropertyOfLocale("yearPlaceholder"),month:this.getPropertyOfLocale("monthPlaceholder"),week:this.getPropertyOfLocale("weekPlaceholder"),date:this.getPropertyOfLocale("placeholder")},t={year:this.getPropertyOfLocale("rangeYearPlaceholder"),month:this.getPropertyOfLocale("rangeMonthPlaceholder"),week:this.getPropertyOfLocale("rangeWeekPlaceholder"),date:this.getPropertyOfLocale("rangePlaceholder")};this.nzPlaceHolder=this.isRange?t[this.nzMode]:e[this.nzMode]}}getPropertyOfLocale(e){return this.nzLocale.lang[e]||this.i18n.getLocaleData(`DatePicker.lang.${e}`)}setValue(e){const t=this.datePickerService.makeValue(e);this.datePickerService.setValue(t),this.datePickerService.initialValue=t}onFocusChange(e){e?this.renderer.addClass(this.elementRef.nativeElement,"ant-picker-focused"):this.renderer.removeClass(this.elementRef.nativeElement,"ant-picker-focused")}onPanelModeChange(e){this.nzOnPanelChange.emit(e)}onCalendarChange(e){if(this.isRange&&Array.isArray(e)){const t=e.filter(e=>e instanceof Y.a).map(e=>e.nativeDate);this.nzOnCalendarChange.emit(t)}}onResultOk(){var e,t;if(this.isRange){const n=this.datePickerService.value;this.nzOnOk.emit(n.length?[(null===(e=n[0])||void 0===e?void 0:e.nativeDate)||null,(null===(t=n[1])||void 0===t?void 0:t.nativeDate)||null]:[])}else this.nzOnOk.emit(this.datePickerService.value?this.datePickerService.value.nativeDate:null)}}return e.\u0275fac=function(t){return new(t||e)(s.Qb(g.b),s.Qb(Hn),s.Qb(m.d),s.Qb(s.h),s.Qb(s.G),s.Qb(s.l),s.Qb(m.a),s.Qb(i.c,8),s.Qb(l.a,9))},e.\u0275cmp=s.Kb({type:e,selectors:[["nz-date-picker"],["nz-week-picker"],["nz-month-picker"],["nz-year-picker"],["nz-range-picker"]],viewQuery:function(e,t){if(1&e&&s.Xc($n,3),2&e){let e;s.Dc(e=s.mc())&&(t.picker=e.first)}},hostVars:14,hostBindings:function(e,t){1&e&&s.lc("click",function(e){return t.picker.onClickInputBox(e)}),2&e&&s.Ib("ant-picker-range",t.isRange)("ant-picker-large","large"===t.nzSize)("ant-picker-small","small"===t.nzSize)("ant-picker-disabled",t.nzDisabled)("ant-picker-rtl","rtl"===t.dir)("ant-picker-borderless",t.nzBorderless)("ant-picker-inline",t.nzInline)},inputs:{nzAllowClear:"nzAllowClear",nzAutoFocus:"nzAutoFocus",nzDisabled:"nzDisabled",nzBorderless:"nzBorderless",nzInputReadOnly:"nzInputReadOnly",nzInline:"nzInline",nzPlaceHolder:"nzPlaceHolder",nzPopupStyle:"nzPopupStyle",nzSize:"nzSize",nzShowToday:"nzShowToday",nzMode:"nzMode",nzShowNow:"nzShowNow",nzDefaultPickerValue:"nzDefaultPickerValue",nzSeparator:"nzSeparator",nzSuffixIcon:"nzSuffixIcon",nzBackdrop:"nzBackdrop",nzId:"nzId",nzShowTime:"nzShowTime",nzFormat:"nzFormat",nzLocale:"nzLocale",nzOpen:"nzOpen",nzDisabledDate:"nzDisabledDate",nzDropdownClassName:"nzDropdownClassName",nzDateRender:"nzDateRender",nzDisabledTime:"nzDisabledTime",nzRenderExtraFooter:"nzRenderExtraFooter",nzRanges:"nzRanges"},outputs:{nzOnPanelChange:"nzOnPanelChange",nzOnCalendarChange:"nzOnCalendarChange",nzOnOk:"nzOnOk",nzOnOpenChange:"nzOnOpenChange"},exportAs:["nzDatePicker"],features:[s.Bb([Hn,{provide:a.m,multi:!0,useExisting:Object(s.V)(()=>e)}]),s.Ab],decls:2,vars:35,consts:[["nz-picker","",2,"display","inherit","align-items","center","width","100%",3,"id","isRange","open","dir","separator","disabled","inputReadOnly","inline","format","allowClear","autoFocus","placeholder","dropdownClassName","popupStyle","noAnimation","suffixIcon","hasBackdrop","nzId","openChange","focusChange"],[3,"isRange","inline","defaultPickerValue","showWeek","panelMode","locale","showToday","showNow","showTime","dateRender","disabledDate","disabledTime","extraFooter","ranges","dir","panelModeChange","calendarChange","resultOk"]],template:function(e,t){1&e&&(s.Wb(0,"div",0),s.lc("openChange",function(e){return t.onOpenChange(e)})("focusChange",function(e){return t.onFocusChange(e)}),s.Wb(1,"date-range-popup",1),s.lc("panelModeChange",function(e){return t.onPanelModeChange(e)})("calendarChange",function(e){return t.onCalendarChange(e)})("resultOk",function(){return t.onResultOk()}),s.Vb(),s.Vb()),2&e&&(s.Ib("ant-picker-dropdown-rtl","rtl"===t.dir),s.wc("id",t.nzId)("isRange",t.isRange)("open",t.nzOpen)("dir",t.dir)("separator",t.nzSeparator)("disabled",t.nzDisabled)("inputReadOnly",t.nzInputReadOnly)("inline",t.nzInline)("format",t.nzFormat)("allowClear",t.nzAllowClear)("autoFocus",t.nzAutoFocus)("placeholder",t.nzPlaceHolder)("dropdownClassName",t.nzDropdownClassName)("popupStyle",t.nzPopupStyle)("noAnimation",!(null==t.noAnimation||!t.noAnimation.nzNoAnimation))("suffixIcon",t.nzSuffixIcon)("hasBackdrop",t.nzBackdrop)("nzId",t.nzId),s.Cb(1),s.wc("isRange",t.isRange)("inline",t.nzInline)("defaultPickerValue",t.nzDefaultPickerValue)("showWeek","week"===t.nzMode)("panelMode",t.panelMode)("locale",null==t.nzLocale?null:t.nzLocale.lang)("showToday","date"===t.nzMode&&t.nzShowToday&&!t.isRange&&!t.nzShowTime)("showNow","date"===t.nzMode&&t.nzShowNow&&!t.isRange&&!!t.nzShowTime)("showTime",t.nzShowTime)("dateRender",t.nzDateRender)("disabledDate",t.nzDisabledDate)("disabledTime",t.nzDisabledTime)("extraFooter",t.extraFooter)("ranges",t.nzRanges)("dir",t.dir))},directives:[$n,i.b,Un],encapsulation:2,changeDetection:0}),Object(p.b)([Object(b.a)(),Object(p.c)("design:type",Boolean)],e.prototype,"nzAllowClear",void 0),Object(p.b)([Object(b.a)(),Object(p.c)("design:type",Boolean)],e.prototype,"nzAutoFocus",void 0),Object(p.b)([Object(b.a)(),Object(p.c)("design:type",Boolean)],e.prototype,"nzDisabled",void 0),Object(p.b)([Object(b.a)(),Object(p.c)("design:type",Boolean)],e.prototype,"nzBorderless",void 0),Object(p.b)([Object(b.a)(),Object(p.c)("design:type",Boolean)],e.prototype,"nzInputReadOnly",void 0),Object(p.b)([Object(b.a)(),Object(p.c)("design:type",Boolean)],e.prototype,"nzInline",void 0),Object(p.b)([Object(b.a)(),Object(p.c)("design:type",Boolean)],e.prototype,"nzOpen",void 0),Object(p.b)([Object(b.a)(),Object(p.c)("design:type",Boolean)],e.prototype,"nzShowToday",void 0),Object(p.b)([Object(b.a)(),Object(p.c)("design:type",Boolean)],e.prototype,"nzShowNow",void 0),Object(p.b)([Object(g.c)(),Object(p.c)("design:type",String)],e.prototype,"nzSeparator",void 0),Object(p.b)([Object(g.c)(),Object(p.c)("design:type",Object)],e.prototype,"nzSuffixIcon",void 0),Object(p.b)([Object(g.c)(),Object(p.c)("design:type",Object)],e.prototype,"nzBackdrop",void 0),e})(),Yn=(()=>{class e{constructor(){this.panelModeChange=new s.n,this.headerChange=new s.n,this.selectDate=new s.n,this.selectTime=new s.n,this.cellHover=new s.n,this.prefixCls=Vn}enablePrevNext(e,t){return!(!this.showTimePicker&&t===this.endPanelMode&&("left"===this.partType&&"next"===e||"right"===this.partType&&"prev"===e))}onSelectTime(e){this.selectTime.emit(new Y.a(e))}onSelectDate(e){const t=e instanceof Y.a?e:new Y.a(e),n=this.timeOptions&&this.timeOptions.nzDefaultOpenValue;!this.value&&n&&t.setHms(n.getHours(),n.getMinutes(),n.getSeconds()),this.selectDate.emit(t)}onChooseMonth(e){this.activeDate=this.activeDate.setMonth(e.getMonth()),"month"===this.endPanelMode?(this.value=e,this.selectDate.emit(e)):(this.headerChange.emit(e),this.panelModeChange.emit(this.endPanelMode))}onChooseYear(e){this.activeDate=this.activeDate.setYear(e.getYear()),"year"===this.endPanelMode?(this.value=e,this.selectDate.emit(e)):(this.headerChange.emit(e),this.panelModeChange.emit(this.endPanelMode))}onChooseDecade(e){this.activeDate=this.activeDate.setYear(e.getYear()),"decade"===this.endPanelMode?(this.value=e,this.selectDate.emit(e)):(this.headerChange.emit(e),this.panelModeChange.emit("year"))}ngOnChanges(e){e.activeDate&&!e.activeDate.currentValue&&(this.activeDate=new Y.a),e.panelMode&&"time"===e.panelMode.currentValue&&(this.panelMode="date")}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=s.Kb({type:e,selectors:[["inner-popup"]],inputs:{activeDate:"activeDate",value:"value",panelMode:"panelMode",endPanelMode:"endPanelMode",showWeek:"showWeek",locale:"locale",showTimePicker:"showTimePicker",timeOptions:"timeOptions",disabledDate:"disabledDate",dateRender:"dateRender",selectedValue:"selectedValue",hoverValue:"hoverValue",partType:"partType"},outputs:{panelModeChange:"panelModeChange",headerChange:"headerChange",selectDate:"selectDate",selectTime:"selectTime",cellHover:"cellHover"},exportAs:["innerPopup"],features:[s.Ab],decls:8,vars:11,consts:[[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[4,"ngIf"],[3,"value","locale","showSuperPreBtn","showSuperNextBtn","showNextBtn","showPreBtn","valueChange","panelModeChange"],[3,"activeDate","value","locale","disabledDate","valueChange"],[3,"activeDate","value","locale","disabledDate","selectedValue","hoverValue","valueChange","cellHover"],[3,"value","activeDate","locale","disabledDate","selectedValue","hoverValue","valueChange","cellHover"],[3,"value","locale","showSuperPreBtn","showSuperNextBtn","showPreBtn","showNextBtn","valueChange","panelModeChange"],[3,"locale","showWeek","value","activeDate","disabledDate","cellRender","selectedValue","hoverValue","valueChange","cellHover"],[3,"nzInDatePicker","ngModel","format","nzHourStep","nzMinuteStep","nzSecondStep","nzDisabledHours","nzDisabledMinutes","nzDisabledSeconds","nzHideDisabledOptions","nzDefaultOpenValue","nzUse12Hours","nzAddOn","ngModelChange"]],template:function(e,t){1&e&&(s.Wb(0,"div"),s.Wb(1,"div"),s.Ub(2,0),s.Qc(3,bt,4,13,"ng-container",1),s.Qc(4,mt,4,15,"ng-container",1),s.Qc(5,yt,4,15,"ng-container",1),s.Qc(6,vt,4,17,"ng-container",2),s.Tb(),s.Vb(),s.Qc(7,Ct,2,13,"ng-container",3),s.Vb()),2&e&&(s.Ib("ant-picker-datetime-panel",t.showTimePicker),s.Cb(1),s.Gb("",t.prefixCls,"-",t.panelMode,"-panel"),s.Cb(1),s.wc("ngSwitch",t.panelMode),s.Cb(1),s.wc("ngSwitchCase","decade"),s.Cb(1),s.wc("ngSwitchCase","year"),s.Cb(1),s.wc("ngSwitchCase","month"),s.Cb(2),s.wc("ngIf",t.showTimePicker&&t.timeOptions))},directives:function(){return[o.q,o.r,o.s,o.o,Zn,ti,oi,ai,ii,ri,Xn,Jn,Q,a.o,a.r]},encapsulation:2,changeDetection:0}),e})(),Kn=(()=>{class e{constructor(){this.prefixCls="ant-picker-header",this.selectors=[],this.showSuperPreBtn=!0,this.showSuperNextBtn=!0,this.showPreBtn=!0,this.showNextBtn=!0,this.panelModeChange=new s.n,this.valueChange=new s.n}superPreviousTitle(){return this.locale.previousYear}previousTitle(){return this.locale.previousMonth}superNextTitle(){return this.locale.nextYear}nextTitle(){return this.locale.nextMonth}superPrevious(){this.changeValue(this.value.addYears(-1))}superNext(){this.changeValue(this.value.addYears(1))}previous(){this.changeValue(this.value.addMonths(-1))}next(){this.changeValue(this.value.addMonths(1))}changeValue(e){this.value!==e&&(this.value=e,this.valueChange.emit(this.value),this.render())}changeMode(e){this.panelModeChange.emit(e)}render(){this.value&&(this.selectors=this.getSelectors())}ngOnInit(){this.value||(this.value=new Y.a),this.selectors=this.getSelectors()}ngOnChanges(e){(e.value||e.locale)&&this.render()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=s.Lb({type:e,inputs:{showSuperPreBtn:"showSuperPreBtn",showSuperNextBtn:"showSuperNextBtn",showPreBtn:"showPreBtn",showNextBtn:"showNextBtn",value:"value",locale:"locale"},outputs:{panelModeChange:"panelModeChange",valueChange:"valueChange"},features:[s.Ab]}),e})(),Xn=(()=>{class e extends Kn{constructor(e){super(),this.dateHelper=e}getSelectors(){return[{className:`${this.prefixCls}-year-btn`,title:this.locale.yearSelect,onClick:()=>this.changeMode("year"),label:this.dateHelper.format(this.value.nativeDate,Bn(this.locale.yearFormat))},{className:`${this.prefixCls}-month-btn`,title:this.locale.monthSelect,onClick:()=>this.changeMode("month"),label:this.dateHelper.format(this.value.nativeDate,this.locale.monthFormat||"MMM")}]}}return e.\u0275fac=function(t){return new(t||e)(s.Qb(m.a))},e.\u0275cmp=s.Kb({type:e,selectors:[["date-header"]],exportAs:["dateHeader"],features:[s.zb],decls:11,vars:31,consts:[["role","button","tabindex","-1",3,"title","click"],[1,"ant-picker-super-prev-icon"],[1,"ant-picker-prev-icon"],[4,"ngFor","ngForOf"],[1,"ant-picker-next-icon"],[1,"ant-picker-super-next-icon"],["role","button","type","button",3,"title","click"]],template:function(e,t){1&e&&(s.Wb(0,"div"),s.Wb(1,"button",0),s.lc("click",function(){return t.superPrevious()}),s.Rb(2,"span",1),s.Vb(),s.Wb(3,"button",0),s.lc("click",function(){return t.previous()}),s.Rb(4,"span",2),s.Vb(),s.Wb(5,"div"),s.Qc(6,wt,3,5,"ng-container",3),s.Vb(),s.Wb(7,"button",0),s.lc("click",function(){return t.next()}),s.Rb(8,"span",4),s.Vb(),s.Wb(9,"button",0),s.lc("click",function(){return t.superNext()}),s.Rb(10,"span",5),s.Vb(),s.Vb()),2&e&&(s.Eb(t.prefixCls),s.Cb(1),s.Fb("",t.prefixCls,"-super-prev-btn"),s.Nc("visibility",t.showSuperPreBtn?"visible":"hidden"),s.xc("title",t.superPreviousTitle()),s.Cb(2),s.Fb("",t.prefixCls,"-prev-btn"),s.Nc("visibility",t.showPreBtn?"visible":"hidden"),s.xc("title",t.previousTitle()),s.Cb(2),s.Fb("",t.prefixCls,"-view"),s.Cb(1),s.wc("ngForOf",t.selectors),s.Cb(1),s.Fb("",t.prefixCls,"-next-btn"),s.Nc("visibility",t.showNextBtn?"visible":"hidden"),s.xc("title",t.nextTitle()),s.Cb(2),s.Fb("",t.prefixCls,"-super-next-btn"),s.Nc("visibility",t.showSuperNextBtn?"visible":"hidden"),s.xc("title",t.superNextTitle()))},directives:[o.n],encapsulation:2,changeDetection:0}),e})(),qn=(()=>{class e{constructor(){this.isTemplateRef=b.l,this.isNonEmptyString=b.g,this.headRow=[],this.bodyRows=[],this.MAX_ROW=6,this.MAX_COL=7,this.prefixCls="ant-picker",this.activeDate=new Y.a,this.showWeek=!1,this.selectedValue=[],this.hoverValue=[],this.valueChange=new s.n,this.cellHover=new s.n}render(){this.activeDate&&(this.headRow=this.makeHeadRow(),this.bodyRows=this.makeBodyRows())}trackByBodyRow(e,t){return t.trackByIndex}trackByBodyColumn(e,t){return t.trackByIndex}hasRangeValue(){var e,t;return(null===(e=this.selectedValue)||void 0===e?void 0:e.length)>0||(null===(t=this.hoverValue)||void 0===t?void 0:t.length)>0}getClassMap(e){return{"ant-picker-cell":!0,"ant-picker-cell-in-view":!0,"ant-picker-cell-selected":e.isSelected,"ant-picker-cell-disabled":e.isDisabled,"ant-picker-cell-in-range":!!e.isInSelectedRange,"ant-picker-cell-range-start":!!e.isSelectedStart,"ant-picker-cell-range-end":!!e.isSelectedEnd,"ant-picker-cell-range-start-single":!!e.isStartSingle,"ant-picker-cell-range-end-single":!!e.isEndSingle,"ant-picker-cell-range-hover":!!e.isInHoverRange,"ant-picker-cell-range-hover-start":!!e.isHoverStart,"ant-picker-cell-range-hover-end":!!e.isHoverEnd,"ant-picker-cell-range-hover-edge-start":!!e.isFirstCellInPanel,"ant-picker-cell-range-hover-edge-end":!!e.isLastCellInPanel,"ant-picker-cell-range-start-near-hover":!!e.isRangeStartNearHover,"ant-picker-cell-range-end-near-hover":!!e.isRangeEndNearHover}}ngOnInit(){this.render()}ngOnChanges(e){e.activeDate&&!e.activeDate.currentValue&&(this.activeDate=new Y.a),(e.disabledDate||e.locale||e.showWeek||this.isDateRealChange(e.activeDate)||this.isDateRealChange(e.value)||this.isDateRealChange(e.selectedValue)||this.isDateRealChange(e.hoverValue))&&this.render()}isDateRealChange(e){if(e){const t=e.previousValue,n=e.currentValue;return Array.isArray(n)?!Array.isArray(t)||n.length!==t.length||n.some((e,n)=>{const i=t[n];return i instanceof Y.a?i.isSameDay(e):i!==e}):!this.isSameDate(t,n)}return!1}isSameDate(e,t){return!e&&!t||e&&t&&t.isSameDay(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=s.Lb({type:e,inputs:{prefixCls:"prefixCls",activeDate:"activeDate",showWeek:"showWeek",selectedValue:"selectedValue",hoverValue:"hoverValue",value:"value",locale:"locale",disabledDate:"disabledDate",cellRender:"cellRender",fullCellRender:"fullCellRender"},outputs:{valueChange:"valueChange",cellHover:"cellHover"},features:[s.Ab]}),e})(),Jn=(()=>{class e extends qn{constructor(e,t){super(),this.i18n=e,this.dateHelper=t}changeValueFromInside(e){this.activeDate=this.activeDate.setYear(e.getYear()).setMonth(e.getMonth()).setDate(e.getDate()),this.valueChange.emit(this.activeDate),this.activeDate.isSameMonth(this.value)||this.render()}makeHeadRow(){const e=[],t=this.activeDate.calendarStart({weekStartsOn:this.dateHelper.getFirstDayOfWeek()});for(let n=0;nthis.changeValueFromInside(t),onMouseEnter:()=>this.cellHover.emit(t)};this.addCellProperty(a,t),this.showWeek&&!r.weekNum&&(r.weekNum=this.dateHelper.getISOWeek(t.nativeDate)),t.isSameDay(this.value)&&(r.isActive=t.isSameDay(this.value)),r.dateCells.push(a)}r.classMap={"ant-picker-week-panel-row":this.showWeek,"ant-picker-week-panel-row-selected":this.showWeek&&r.isActive},e.push(r)}return e}addCellProperty(e,t){var n;if(this.hasRangeValue()&&!this.showWeek){const[n,i]=this.hoverValue,[r,o]=this.selectedValue;(null==r?void 0:r.isSameDay(t))&&(e.isSelectedStart=!0,e.isSelected=!0),(null==o?void 0:o.isSameDay(t))&&(e.isSelectedEnd=!0,e.isSelected=!0),n&&i&&(e.isHoverStart=n.isSameDay(t),e.isHoverEnd=i.isSameDay(t),e.isLastCellInPanel=t.isLastDayOfMonth(),e.isFirstCellInPanel=t.isFirstDayOfMonth(),e.isInHoverRange=n.isBeforeDay(t)&&t.isBeforeDay(i)),e.isStartSingle=r&&!o,e.isEndSingle=!r&&o,e.isInSelectedRange=(null==r?void 0:r.isBeforeDay(t))&&t.isBeforeDay(o),e.isRangeStartNearHover=r&&e.isInHoverRange,e.isRangeEndNearHover=o&&e.isInHoverRange}e.isToday=t.isToday(),e.isSelected=t.isSameDay(this.value),e.isDisabled=!!(null===(n=this.disabledDate)||void 0===n?void 0:n.call(this,t.nativeDate)),e.classMap=this.getClassMap(e)}getClassMap(e){const t=new Y.a(e.value);return Object.assign(Object.assign({},super.getClassMap(e)),{"ant-picker-cell-today":!!e.isToday,"ant-picker-cell-in-view":t.isSameMonth(this.activeDate)})}}return e.\u0275fac=function(t){return new(t||e)(s.Qb(m.d),s.Qb(m.a))},e.\u0275cmp=s.Kb({type:e,selectors:[["date-table"]],inputs:{locale:"locale"},exportAs:["dateTable"],features:[s.zb],decls:4,vars:3,consts:[["cellspacing","0","role","grid",1,"ant-picker-content"],[4,"ngIf"],["role","row",3,"ngClass",4,"ngFor","ngForOf","ngForTrackBy"],["role","row"],["role","columnheader",4,"ngIf"],["role","columnheader",3,"title",4,"ngFor","ngForOf"],["role","columnheader"],["role","columnheader",3,"title"],["role","row",3,"ngClass"],["role","gridcell",3,"class",4,"ngIf"],["role","gridcell",3,"title","ngClass","click","mouseenter",4,"ngFor","ngForOf","ngForTrackBy"],["role","gridcell"],["role","gridcell",3,"title","ngClass","click","mouseenter"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"innerHTML"],[4,"ngIf","ngIfElse"],["defaultCell",""]],template:function(e,t){1&e&&(s.Wb(0,"table",0),s.Qc(1,Ot,4,2,"thead",1),s.Wb(2,"tbody"),s.Qc(3,Lt,3,4,"tr",2),s.Vb(),s.Vb()),2&e&&(s.Cb(1),s.wc("ngIf",t.headRow&&t.headRow.length>0),s.Cb(2),s.wc("ngForOf",t.bodyRows)("ngForTrackBy",t.trackByBodyRow))},directives:[o.o,o.n,o.m,o.q,o.r,o.s,o.t],encapsulation:2,changeDetection:0}),e})(),Zn=(()=>{class e extends Kn{previous(){}next(){}get startYear(){return 100*parseInt(""+this.value.getYear()/100,10)}get endYear(){return this.startYear+99}superPrevious(){this.changeValue(this.value.addYears(-100))}superNext(){this.changeValue(this.value.addYears(100))}getSelectors(){return[{className:`${this.prefixCls}-decade-btn`,title:"",onClick:()=>{},label:`${this.startYear}-${this.endYear}`}]}}return e.\u0275fac=function(t){return ei(t||e)},e.\u0275cmp=s.Kb({type:e,selectors:[["decade-header"]],exportAs:["decadeHeader"],features:[s.zb],decls:11,vars:31,consts:[["role","button","tabindex","-1",3,"title","click"],[1,"ant-picker-super-prev-icon"],[1,"ant-picker-prev-icon"],[4,"ngFor","ngForOf"],[1,"ant-picker-next-icon"],[1,"ant-picker-super-next-icon"],["role","button","type","button",3,"title","click"]],template:function(e,t){1&e&&(s.Wb(0,"div"),s.Wb(1,"button",0),s.lc("click",function(){return t.superPrevious()}),s.Rb(2,"span",1),s.Vb(),s.Wb(3,"button",0),s.lc("click",function(){return t.previous()}),s.Rb(4,"span",2),s.Vb(),s.Wb(5,"div"),s.Qc(6,Nt,3,5,"ng-container",3),s.Vb(),s.Wb(7,"button",0),s.lc("click",function(){return t.next()}),s.Rb(8,"span",4),s.Vb(),s.Wb(9,"button",0),s.lc("click",function(){return t.superNext()}),s.Rb(10,"span",5),s.Vb(),s.Vb()),2&e&&(s.Eb(t.prefixCls),s.Cb(1),s.Fb("",t.prefixCls,"-super-prev-btn"),s.Nc("visibility",t.showSuperPreBtn?"visible":"hidden"),s.xc("title",t.superPreviousTitle()),s.Cb(2),s.Fb("",t.prefixCls,"-prev-btn"),s.Nc("visibility",t.showPreBtn?"visible":"hidden"),s.xc("title",t.previousTitle()),s.Cb(2),s.Fb("",t.prefixCls,"-view"),s.Cb(1),s.wc("ngForOf",t.selectors),s.Cb(1),s.Fb("",t.prefixCls,"-next-btn"),s.Nc("visibility",t.showNextBtn?"visible":"hidden"),s.xc("title",t.nextTitle()),s.Cb(2),s.Fb("",t.prefixCls,"-super-next-btn"),s.Nc("visibility",t.showSuperNextBtn?"visible":"hidden"),s.xc("title",t.superNextTitle()))},directives:[o.n],encapsulation:2,changeDetection:0}),e})();const ei=s.Yb(Zn);let ti=(()=>{class e extends qn{get startYear(){return 100*parseInt(""+this.activeDate.getYear()/100,10)}get endYear(){return this.startYear+99}makeHeadRow(){return[]}makeBodyRows(){const e=[],t=this.value&&this.value.getYear(),n=this.startYear,i=this.endYear,r=n-10;let o=0;for(let s=0;s<4;s++){const a={dateCells:[],trackByIndex:s};for(let e=0;e<3;e++){const s=r+10*o,c=r+10*o+9,l=`${s}-${c}`,u={trackByIndex:e,value:this.activeDate.setYear(s).nativeDate,content:l,title:l,isDisabled:!1,isSelected:t>=s&&t<=c,isLowerThanStart:ci,classMap:{},onClick(){},onMouseEnter(){}};u.classMap=this.getClassMap(u),u.onClick=()=>this.chooseDecade(s),o++,a.dateCells.push(u)}e.push(a)}return e}getClassMap(e){return{[`${this.prefixCls}-cell`]:!0,[`${this.prefixCls}-cell-in-view`]:!e.isBiggerThanEnd&&!e.isLowerThanStart,[`${this.prefixCls}-cell-selected`]:e.isSelected,[`${this.prefixCls}-cell-disabled`]:e.isDisabled}}chooseDecade(e){this.value=this.activeDate.setYear(e),this.valueChange.emit(this.value)}}return e.\u0275fac=function(t){return ni(t||e)},e.\u0275cmp=s.Kb({type:e,selectors:[["decade-table"]],exportAs:["decadeTable"],features:[s.zb],decls:4,vars:3,consts:[["cellspacing","0","role","grid",1,"ant-picker-content"],[4,"ngIf"],["role","row",3,"ngClass",4,"ngFor","ngForOf","ngForTrackBy"],["role","row"],["role","columnheader",4,"ngIf"],["role","columnheader",3,"title",4,"ngFor","ngForOf"],["role","columnheader"],["role","columnheader",3,"title"],["role","row",3,"ngClass"],["role","gridcell",3,"class",4,"ngIf"],["role","gridcell",3,"title","ngClass","click","mouseenter",4,"ngFor","ngForOf","ngForTrackBy"],["role","gridcell"],["role","gridcell",3,"title","ngClass","click","mouseenter"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"innerHTML"],[4,"ngIf","ngIfElse"],["defaultCell",""]],template:function(e,t){1&e&&(s.Wb(0,"table",0),s.Qc(1,Wt,4,2,"thead",1),s.Wb(2,"tbody"),s.Qc(3,tn,3,4,"tr",2),s.Vb(),s.Vb()),2&e&&(s.Cb(1),s.wc("ngIf",t.headRow&&t.headRow.length>0),s.Cb(2),s.wc("ngForOf",t.bodyRows)("ngForTrackBy",t.trackByBodyRow))},directives:[o.o,o.n,o.m,o.q,o.r,o.s,o.t],encapsulation:2,changeDetection:0}),e})();const ni=s.Yb(ti);let ii=(()=>{class e extends Kn{constructor(e){super(),this.dateHelper=e}getSelectors(){return[{className:`${this.prefixCls}-month-btn`,title:this.locale.yearSelect,onClick:()=>this.changeMode("year"),label:this.dateHelper.format(this.value.nativeDate,Bn(this.locale.yearFormat))}]}}return e.\u0275fac=function(t){return new(t||e)(s.Qb(m.a))},e.\u0275cmp=s.Kb({type:e,selectors:[["month-header"]],exportAs:["monthHeader"],features:[s.zb],decls:11,vars:31,consts:[["role","button","tabindex","-1",3,"title","click"],[1,"ant-picker-super-prev-icon"],[1,"ant-picker-prev-icon"],[4,"ngFor","ngForOf"],[1,"ant-picker-next-icon"],[1,"ant-picker-super-next-icon"],["role","button","type","button",3,"title","click"]],template:function(e,t){1&e&&(s.Wb(0,"div"),s.Wb(1,"button",0),s.lc("click",function(){return t.superPrevious()}),s.Rb(2,"span",1),s.Vb(),s.Wb(3,"button",0),s.lc("click",function(){return t.previous()}),s.Rb(4,"span",2),s.Vb(),s.Wb(5,"div"),s.Qc(6,nn,3,5,"ng-container",3),s.Vb(),s.Wb(7,"button",0),s.lc("click",function(){return t.next()}),s.Rb(8,"span",4),s.Vb(),s.Wb(9,"button",0),s.lc("click",function(){return t.superNext()}),s.Rb(10,"span",5),s.Vb(),s.Vb()),2&e&&(s.Eb(t.prefixCls),s.Cb(1),s.Fb("",t.prefixCls,"-super-prev-btn"),s.Nc("visibility",t.showSuperPreBtn?"visible":"hidden"),s.xc("title",t.superPreviousTitle()),s.Cb(2),s.Fb("",t.prefixCls,"-prev-btn"),s.Nc("visibility",t.showPreBtn?"visible":"hidden"),s.xc("title",t.previousTitle()),s.Cb(2),s.Fb("",t.prefixCls,"-view"),s.Cb(1),s.wc("ngForOf",t.selectors),s.Cb(1),s.Fb("",t.prefixCls,"-next-btn"),s.Nc("visibility",t.showNextBtn?"visible":"hidden"),s.xc("title",t.nextTitle()),s.Cb(2),s.Fb("",t.prefixCls,"-super-next-btn"),s.Nc("visibility",t.showSuperNextBtn?"visible":"hidden"),s.xc("title",t.superNextTitle()))},directives:[o.n],encapsulation:2,changeDetection:0}),e})(),ri=(()=>{class e extends qn{constructor(e){super(),this.dateHelper=e,this.MAX_ROW=4,this.MAX_COL=3}makeHeadRow(){return[]}makeBodyRows(){const e=[];let t=0;for(let n=0;nthis.chooseMonth(s.value.getMonth()),onMouseEnter:()=>this.cellHover.emit(n)};this.addCellProperty(s,n),i.dateCells.push(s),t++}e.push(i)}return e}isDisabledMonth(e){if(!this.disabledDate)return!1;for(let t=e.setDate(1);t.getMonth()===e.getMonth();t=t.addDays(1))if(!this.disabledDate(t.nativeDate))return!1;return!0}addCellProperty(e,t){if(this.hasRangeValue()){const[n,i]=this.hoverValue,[r,o]=this.selectedValue;(null==r?void 0:r.isSameMonth(t))&&(e.isSelectedStart=!0,e.isSelected=!0),(null==o?void 0:o.isSameMonth(t))&&(e.isSelectedEnd=!0,e.isSelected=!0),n&&i&&(e.isHoverStart=n.isSameMonth(t),e.isHoverEnd=i.isSameMonth(t),e.isLastCellInPanel=11===t.getMonth(),e.isFirstCellInPanel=0===t.getMonth(),e.isInHoverRange=n.isBeforeMonth(t)&&t.isBeforeMonth(i)),e.isStartSingle=r&&!o,e.isEndSingle=!r&&o,e.isInSelectedRange=(null==r?void 0:r.isBeforeMonth(t))&&(null==t?void 0:t.isBeforeMonth(o)),e.isRangeStartNearHover=r&&e.isInHoverRange,e.isRangeEndNearHover=o&&e.isInHoverRange}else t.isSameMonth(this.value)&&(e.isSelected=!0);e.classMap=this.getClassMap(e)}chooseMonth(e){this.value=this.activeDate.setMonth(e),this.valueChange.emit(this.value)}}return e.\u0275fac=function(t){return new(t||e)(s.Qb(m.a))},e.\u0275cmp=s.Kb({type:e,selectors:[["month-table"]],exportAs:["monthTable"],features:[s.zb],decls:4,vars:3,consts:[["cellspacing","0","role","grid",1,"ant-picker-content"],[4,"ngIf"],["role","row",3,"ngClass",4,"ngFor","ngForOf","ngForTrackBy"],["role","row"],["role","columnheader",4,"ngIf"],["role","columnheader",3,"title",4,"ngFor","ngForOf"],["role","columnheader"],["role","columnheader",3,"title"],["role","row",3,"ngClass"],["role","gridcell",3,"class",4,"ngIf"],["role","gridcell",3,"title","ngClass","click","mouseenter",4,"ngFor","ngForOf","ngForTrackBy"],["role","gridcell"],["role","gridcell",3,"title","ngClass","click","mouseenter"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"innerHTML"],[4,"ngIf","ngIfElse"],["defaultCell",""]],template:function(e,t){1&e&&(s.Wb(0,"table",0),s.Qc(1,sn,4,2,"thead",1),s.Wb(2,"tbody"),s.Qc(3,vn,3,4,"tr",2),s.Vb(),s.Vb()),2&e&&(s.Cb(1),s.wc("ngIf",t.headRow&&t.headRow.length>0),s.Cb(2),s.wc("ngForOf",t.bodyRows)("ngForTrackBy",t.trackByBodyRow))},directives:[o.o,o.n,o.m,o.q,o.r,o.s,o.t],encapsulation:2,changeDetection:0}),e})(),oi=(()=>{class e extends Kn{get startYear(){return 10*parseInt(""+this.value.getYear()/10,10)}get endYear(){return this.startYear+9}superPrevious(){this.changeValue(this.value.addYears(-10))}superNext(){this.changeValue(this.value.addYears(10))}getSelectors(){return[{className:`${this.prefixCls}-year-btn`,title:"",onClick:()=>this.changeMode("decade"),label:`${this.startYear}-${this.endYear}`}]}}return e.\u0275fac=function(t){return si(t||e)},e.\u0275cmp=s.Kb({type:e,selectors:[["year-header"]],exportAs:["yearHeader"],features:[s.zb],decls:11,vars:31,consts:[["role","button","tabindex","-1",3,"title","click"],[1,"ant-picker-super-prev-icon"],[1,"ant-picker-prev-icon"],[4,"ngFor","ngForOf"],[1,"ant-picker-next-icon"],[1,"ant-picker-super-next-icon"],["role","button","type","button",3,"title","click"]],template:function(e,t){1&e&&(s.Wb(0,"div"),s.Wb(1,"button",0),s.lc("click",function(){return t.superPrevious()}),s.Rb(2,"span",1),s.Vb(),s.Wb(3,"button",0),s.lc("click",function(){return t.previous()}),s.Rb(4,"span",2),s.Vb(),s.Wb(5,"div"),s.Qc(6,Cn,3,5,"ng-container",3),s.Vb(),s.Wb(7,"button",0),s.lc("click",function(){return t.next()}),s.Rb(8,"span",4),s.Vb(),s.Wb(9,"button",0),s.lc("click",function(){return t.superNext()}),s.Rb(10,"span",5),s.Vb(),s.Vb()),2&e&&(s.Eb(t.prefixCls),s.Cb(1),s.Fb("",t.prefixCls,"-super-prev-btn"),s.Nc("visibility",t.showSuperPreBtn?"visible":"hidden"),s.xc("title",t.superPreviousTitle()),s.Cb(2),s.Fb("",t.prefixCls,"-prev-btn"),s.Nc("visibility",t.showPreBtn?"visible":"hidden"),s.xc("title",t.previousTitle()),s.Cb(2),s.Fb("",t.prefixCls,"-view"),s.Cb(1),s.wc("ngForOf",t.selectors),s.Cb(1),s.Fb("",t.prefixCls,"-next-btn"),s.Nc("visibility",t.showNextBtn?"visible":"hidden"),s.xc("title",t.nextTitle()),s.Cb(2),s.Fb("",t.prefixCls,"-super-next-btn"),s.Nc("visibility",t.showSuperNextBtn?"visible":"hidden"),s.xc("title",t.superNextTitle()))},directives:[o.n],encapsulation:2,changeDetection:0}),e})();const si=s.Yb(oi);let ai=(()=>{class e extends qn{constructor(e){super(),this.dateHelper=e,this.MAX_ROW=4,this.MAX_COL=3}makeHeadRow(){return[]}makeBodyRows(){const e=this.activeDate&&this.activeDate.getYear(),t=10*parseInt(""+e/10,10),n=t+9,i=t-1,r=[];let o=0;for(let s=0;s=t&&s<=n,isSelected:s===(this.value&&this.value.getYear()),content:c,title:c,classMap:{},isLastCellInPanel:a.getYear()===n,isFirstCellInPanel:a.getYear()===t,cellRender:Object(b.u)(this.cellRender,a),fullCellRender:Object(b.u)(this.fullCellRender,a),onClick:()=>this.chooseYear(u.value.getFullYear()),onMouseEnter:()=>this.cellHover.emit(a)};this.addCellProperty(u,a),e.dateCells.push(u),o++}r.push(e)}return r}getClassMap(e){return Object.assign(Object.assign({},super.getClassMap(e)),{"ant-picker-cell-in-view":!!e.isSameDecade})}isDisabledYear(e){if(!this.disabledDate)return!1;for(let t=e.setMonth(0).setDate(1);t.getYear()===e.getYear();t=t.addDays(1))if(!this.disabledDate(t.nativeDate))return!1;return!0}addCellProperty(e,t){if(this.hasRangeValue()){const[n,i]=this.hoverValue,[r,o]=this.selectedValue;(null==r?void 0:r.isSameYear(t))&&(e.isSelectedStart=!0,e.isSelected=!0),(null==o?void 0:o.isSameYear(t))&&(e.isSelectedEnd=!0,e.isSelected=!0),n&&i&&(e.isHoverStart=n.isSameYear(t),e.isHoverEnd=i.isSameYear(t),e.isInHoverRange=n.isBeforeYear(t)&&t.isBeforeYear(i)),e.isStartSingle=r&&!o,e.isEndSingle=!r&&o,e.isInSelectedRange=(null==r?void 0:r.isBeforeYear(t))&&(null==t?void 0:t.isBeforeYear(o)),e.isRangeStartNearHover=r&&e.isInHoverRange,e.isRangeEndNearHover=o&&e.isInHoverRange}else t.isSameYear(this.value)&&(e.isSelected=!0);e.classMap=this.getClassMap(e)}chooseYear(e){this.value=this.activeDate.setYear(e),this.valueChange.emit(this.value),this.render()}}return e.\u0275fac=function(t){return new(t||e)(s.Qb(m.a))},e.\u0275cmp=s.Kb({type:e,selectors:[["year-table"]],exportAs:["yearTable"],features:[s.zb],decls:4,vars:3,consts:[["cellspacing","0","role","grid",1,"ant-picker-content"],[4,"ngIf"],["role","row",3,"ngClass",4,"ngFor","ngForOf","ngForTrackBy"],["role","row"],["role","columnheader",4,"ngIf"],["role","columnheader",3,"title",4,"ngFor","ngForOf"],["role","columnheader"],["role","columnheader",3,"title"],["role","row",3,"ngClass"],["role","gridcell",3,"class",4,"ngIf"],["role","gridcell",3,"title","ngClass","click","mouseenter",4,"ngFor","ngForOf","ngForTrackBy"],["role","gridcell"],["role","gridcell",3,"title","ngClass","click","mouseenter"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"innerHTML"],[4,"ngIf","ngIfElse"],["defaultCell",""]],template:function(e,t){1&e&&(s.Wb(0,"table",0),s.Qc(1,_n,4,2,"thead",1),s.Wb(2,"tbody"),s.Qc(3,jn,3,4,"tr",2),s.Vb(),s.Vb()),2&e&&(s.Cb(1),s.wc("ngIf",t.headRow&&t.headRow.length>0),s.Cb(2),s.wc("ngForOf",t.bodyRows)("ngForTrackBy",t.trackByBodyRow))},directives:[o.o,o.n,o.m,o.q,o.r,o.s,o.t],encapsulation:2,changeDetection:0}),e})(),ci=(()=>{class e{}return e.\u0275mod=s.Ob({type:e}),e.\u0275inj=s.Nb({factory:function(t){return new(t||e)},imports:[[o.c,a.k,m.b,G,u.a]]}),e})(),li=(()=>{class e{constructor(e){this.datePicker=e,this.datePicker.isRange=!0}}return e.\u0275fac=function(t){return new(t||e)(s.Qb(Gn,9))},e.\u0275dir=s.Lb({type:e,selectors:[["nz-range-picker"]],exportAs:["nzRangePicker"]}),e})(),ui=(()=>{class e{}return e.\u0275mod=s.Ob({type:e}),e.\u0275inj=s.Nb({factory:function(t){return new(t||e)},imports:[[i.a,o.c,a.k,r.f,ci,h.b,d.c,l.b,u.a,G,c.c,ci]]}),e})()},"1G5W":function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n("l7GE"),r=n("ZUHj");function o(e){return t=>t.lift(new s(e))}class s{constructor(e){this.notifier=e}call(e,t){const n=new a(e),i=Object(r.a)(n,this.notifier);return i&&!n.seenValue?(n.add(i),t.subscribe(n)):n}}class a extends i.a{constructor(e){super(e),this.seenValue=!1}notifyNext(e,t,n,i,r){this.seenValue=!0,this.complete()}notifyComplete(){}}},"1uat":function(e,t,n){var i;e.exports=(i=n("Ib8C"),n("MlIO"),function(){var e=i,t=e.lib.Hasher,n=e.x64,r=n.Word,o=n.WordArray,s=e.algo;function a(){return r.create.apply(r,arguments)}var c=[a(1116352408,3609767458),a(1899447441,602891725),a(3049323471,3964484399),a(3921009573,2173295548),a(961987163,4081628472),a(1508970993,3053834265),a(2453635748,2937671579),a(2870763221,3664609560),a(3624381080,2734883394),a(310598401,1164996542),a(607225278,1323610764),a(1426881987,3590304994),a(1925078388,4068182383),a(2162078206,991336113),a(2614888103,633803317),a(3248222580,3479774868),a(3835390401,2666613458),a(4022224774,944711139),a(264347078,2341262773),a(604807628,2007800933),a(770255983,1495990901),a(1249150122,1856431235),a(1555081692,3175218132),a(1996064986,2198950837),a(2554220882,3999719339),a(2821834349,766784016),a(2952996808,2566594879),a(3210313671,3203337956),a(3336571891,1034457026),a(3584528711,2466948901),a(113926993,3758326383),a(338241895,168717936),a(666307205,1188179964),a(773529912,1546045734),a(1294757372,1522805485),a(1396182291,2643833823),a(1695183700,2343527390),a(1986661051,1014477480),a(2177026350,1206759142),a(2456956037,344077627),a(2730485921,1290863460),a(2820302411,3158454273),a(3259730800,3505952657),a(3345764771,106217008),a(3516065817,3606008344),a(3600352804,1432725776),a(4094571909,1467031594),a(275423344,851169720),a(430227734,3100823752),a(506948616,1363258195),a(659060556,3750685593),a(883997877,3785050280),a(958139571,3318307427),a(1322822218,3812723403),a(1537002063,2003034995),a(1747873779,3602036899),a(1955562222,1575990012),a(2024104815,1125592928),a(2227730452,2716904306),a(2361852424,442776044),a(2428436474,593698344),a(2756734187,3733110249),a(3204031479,2999351573),a(3329325298,3815920427),a(3391569614,3928383900),a(3515267271,566280711),a(3940187606,3454069534),a(4118630271,4000239992),a(116418474,1914138554),a(174292421,2731055270),a(289380356,3203993006),a(460393269,320620315),a(685471733,587496836),a(852142971,1086792851),a(1017036298,365543100),a(1126000580,2618297676),a(1288033470,3409855158),a(1501505948,4234509866),a(1607167915,987167468),a(1816402316,1246189591)],l=[];!function(){for(var e=0;e<80;e++)l[e]=a()}();var u=s.SHA512=t.extend({_doReset:function(){this._hash=new o.init([new r.init(1779033703,4089235720),new r.init(3144134277,2227873595),new r.init(1013904242,4271175723),new r.init(2773480762,1595750129),new r.init(1359893119,2917565137),new r.init(2600822924,725511199),new r.init(528734635,4215389547),new r.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var n=this._hash.words,i=n[0],r=n[1],o=n[2],s=n[3],a=n[4],u=n[5],d=n[6],h=n[7],p=i.high,f=i.low,g=r.high,b=r.low,m=o.high,y=o.low,v=s.high,C=s.low,w=a.high,S=a.low,_=u.high,O=u.low,x=d.high,z=d.low,T=h.high,k=h.low,P=p,E=f,D=g,M=b,I=m,A=y,R=v,j=C,V=w,L=S,N=_,F=O,B=x,W=z,H=T,U=k,$=0;$<80;$++){var Q=l[$];if($<16)var G=Q.high=0|e[t+2*$],Y=Q.low=0|e[t+2*$+1];else{var K=l[$-15],X=K.high,q=K.low,J=(q>>>1|X<<31)^(q>>>8|X<<24)^(q>>>7|X<<25),Z=l[$-2],ee=Z.high,te=Z.low,ne=(te>>>19|ee<<13)^(te<<3|ee>>>29)^(te>>>6|ee<<26),ie=l[$-7],re=l[$-16],oe=re.low;Q.high=G=(G=(G=((X>>>1|q<<31)^(X>>>8|q<<24)^X>>>7)+ie.high+((Y=J+ie.low)>>>0>>0?1:0))+((ee>>>19|te<<13)^(ee<<3|te>>>29)^ee>>>6)+((Y+=ne)>>>0>>0?1:0))+re.high+((Y+=oe)>>>0>>0?1:0),Q.low=Y}var se,ae=V&N^~V&B,ce=L&F^~L&W,le=P&D^P&I^D&I,ue=(E>>>28|P<<4)^(E<<30|P>>>2)^(E<<25|P>>>7),de=c[$],he=de.low,pe=H+((V>>>14|L<<18)^(V>>>18|L<<14)^(V<<23|L>>>9))+((se=U+((L>>>14|V<<18)^(L>>>18|V<<14)^(L<<23|V>>>9)))>>>0>>0?1:0),fe=ue+(E&M^E&A^M&A);H=B,U=W,B=N,W=F,N=V,F=L,V=R+(pe=(pe=(pe=pe+ae+((se+=ce)>>>0>>0?1:0))+de.high+((se+=he)>>>0>>0?1:0))+G+((se+=Y)>>>0>>0?1:0))+((L=j+se|0)>>>0>>0?1:0)|0,R=I,j=A,I=D,A=M,D=P,M=E,P=pe+(((P>>>28|E<<4)^(P<<30|E>>>2)^(P<<25|E>>>7))+le+(fe>>>0>>0?1:0))+((E=se+fe|0)>>>0>>0?1:0)|0}f=i.low=f+E,i.high=p+P+(f>>>0>>0?1:0),b=r.low=b+M,r.high=g+D+(b>>>0>>0?1:0),y=o.low=y+A,o.high=m+I+(y>>>0>>0?1:0),C=s.low=C+j,s.high=v+R+(C>>>0>>0?1:0),S=a.low=S+L,a.high=w+V+(S>>>0>>0?1:0),O=u.low=O+F,u.high=_+N+(O>>>0>>0?1:0),z=d.low=z+W,d.high=x+B+(z>>>0>>0?1:0),k=h.low=k+U,h.high=T+H+(k>>>0>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,i=8*e.sigBytes;return t[i>>>5]|=128<<24-i%32,t[30+(i+128>>>10<<5)]=Math.floor(n/4294967296),t[31+(i+128>>>10<<5)]=n,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var e=t.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});e.SHA512=t._createHelper(u),e.HmacSHA512=t._createHmacHelper(u)}(),i.SHA512)},"1vjI":function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("/Tr7"),r=n("jIYg"),o=n("/h9T"),s=n("vq9N");function a(e,t){var n,a,c,l,u,d,h,p;Object(r.a)(1,arguments);var f=Object(s.a)(),g=Object(o.a)(null!==(n=null!==(a=null!==(c=null!==(l=null==t?void 0:t.weekStartsOn)&&void 0!==l?l:null==t||null===(u=t.locale)||void 0===u||null===(d=u.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==c?c:f.weekStartsOn)&&void 0!==a?a:null===(h=f.locale)||void 0===h||null===(p=h.options)||void 0===p?void 0:p.weekStartsOn)&&void 0!==n?n:0);if(!(g>=0&&g<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var b=Object(i.a)(e),m=b.getUTCDay(),y=(m"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())()},"2Suw":function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"b",function(){return l}),n.d(t,"c",function(){return u});var i=n("fXoL"),r=n("XNiG"),o=n("pLZG"),s=n("CqXF");const a=new i.r("nz-config"),c=function(e){return void 0!==e};let l=(()=>{class e{constructor(e){this.configUpdated$=new r.a,this.config=e||{}}getConfigForComponent(e){return this.config[e]}getConfigChangeEventForComponent(e){return this.configUpdated$.pipe(Object(o.a)(t=>t===e),Object(s.a)(void 0))}set(e,t){this.config[e]=Object.assign(Object.assign({},this.config[e]),t),this.configUpdated$.next(e)}}return e.\u0275fac=function(t){return new(t||e)(i.hc(a,8))},e.\u0275prov=Object(i.Mb)({factory:function(){return new e(Object(i.hc)(a,8))},token:e,providedIn:"root"}),e})();function u(){return function(e,t,n){const i=`$$__assignedValue__${t}`;return Object.defineProperty(e,i,{configurable:!0,writable:!0,enumerable:!1}),{get(){const e=(null==n?void 0:n.get)?n.get.bind(this)():this[i];if(((this.assignmentCount||{})[t]||0)>1&&c(e))return e;const r=(this.nzConfigService.getConfigForComponent(this._nzModuleName)||{})[t];return c(r)?r:e},set(e){this.assignmentCount=this.assignmentCount||{},this.assignmentCount[t]=(this.assignmentCount[t]||0)+1,(null==n?void 0:n.set)?n.set.bind(this)(e):this[i]=e},configurable:!0,enumerable:!0}}}},"2Vo4":function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n("XNiG"),r=n("9ppp");class o extends i.a{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const t=super._subscribe(e);return t&&!t.closed&&e.next(this._value),t}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new r.a;return this._value}next(e){super.next(this._value=e)}}},"2Yyj":function(e,t,n){var i,r,o;!function(s){if("object"==typeof e.exports){var a=s(0,t);void 0!==a&&(e.exports=a)}else r=[n,t],void 0===(o="function"==typeof(i=s)?i.apply(t,r):i)||(e.exports=o)}(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=void 0;t.default=["es",[["a.\xa0m.","p.\xa0m."],n,n],n,[["D","L","M","X","J","V","S"],["dom.","lun.","mar.","mi\xe9.","jue.","vie.","s\xe1b."],["domingo","lunes","martes","mi\xe9rcoles","jueves","viernes","s\xe1bado"],["DO","LU","MA","MI","JU","VI","SA"]],n,[["E","F","M","A","M","J","J","A","S","O","N","D"],["ene.","feb.","mar.","abr.","may.","jun.","jul.","ago.","sept.","oct.","nov.","dic."],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]],n,[["a. C.","d. C."],n,["antes de Cristo","despu\xe9s de Cristo"]],1,[6,0],["d/M/yy","d MMM y","d 'de' MMMM 'de' y","EEEE, d 'de' MMMM 'de' y"],["H:mm","H:mm:ss","H:mm:ss z","H:mm:ss (zzzz)"],["{1} {0}",n,"{1}, {0}",n],[",",".",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"EUR","\u20ac","euro",{AUD:[n,"$"],BRL:[n,"R$"],CNY:[n,"\xa5"],EGP:[],ESP:["\u20a7"],GBP:[n,"\xa3"],HKD:[n,"$"],ILS:[n,"\u20aa"],INR:[n,"\u20b9"],JPY:[n,"\xa5"],KRW:[n,"\u20a9"],MXN:[n,"$"],NZD:[n,"$"],RON:[n,"L"],THB:["\u0e3f"],TWD:[n,"NT$"],USD:["US$","$"],XAF:[],XCD:[n,"$"],XOF:[]},"ltr",function(e){return 1===e?1:5}]})},"2fFW":function(e,t,n){"use strict";n.d(t,"a",function(){return r});let i=!1;const r={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){const e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else i&&console.log("RxJS: Back to a better error behavior. Thank you. <3");i=e},get useDeprecatedSynchronousErrorHandling(){return i}}},"38dE":function(e,t,n){"use strict";n.d(t,"a",function(){return i});var i=function(e){return e.xs="Xs",e.sm="Sm",e.md="Md",e.lg="Lg",e.xl="Xl",e.xxl="XXl",e}({})},"3E0/":function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("D0XW"),r=n("mlxB"),o=n("7o/Q"),s=n("WMd4");function a(e,t=i.a){const n=Object(r.a)(e)?+e-t.now():Math.abs(e);return e=>e.lift(new c(n,t))}class c{constructor(e,t){this.delay=e,this.scheduler=t}call(e,t){return t.subscribe(new l(e,this.delay,this.scheduler))}}class l extends o.a{constructor(e,t,n){super(e),this.delay=t,this.scheduler=n,this.queue=[],this.active=!1,this.errored=!1}static dispatch(e){const t=e.source,n=t.queue,i=e.scheduler,r=e.destination;for(;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(r);if(n.length>0){const t=Math.max(0,n[0].time-i.now());this.schedule(e,t)}else this.unsubscribe(),t.active=!1}_schedule(e){this.active=!0,this.destination.add(e.schedule(l.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))}scheduleNotification(e){if(!0===this.errored)return;const t=this.scheduler,n=new u(t.now()+this.delay,e);this.queue.push(n),!1===this.active&&this._schedule(t)}_next(e){this.scheduleNotification(s.a.createNext(e))}_error(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()}_complete(){this.scheduleNotification(s.a.createComplete()),this.unsubscribe()}}class u{constructor(e,t){this.time=e,this.notification=t}}},"3N8a":function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n("quSY");class r extends i.a{constructor(e,t){super()}schedule(e,t=0){return this}}class o extends r{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){if(this.closed)return this;this.state=e;const n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(i,this.id,t),this}requestAsyncId(e,t,n=0){return setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,t,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let n,i=!1;try{this.work(e)}catch(r){i=!0,n=!!r&&r||new Error(r)}if(i)return this.unsubscribe(),n}_unsubscribe(){const e=this.id,t=this.scheduler,n=t.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}},"3Pt+":function(e,t,n){"use strict";n.d(t,"a",function(){return ve}),n.d(t,"b",function(){return g}),n.d(t,"c",function(){return p}),n.d(t,"d",function(){return b}),n.d(t,"e",function(){return Se}),n.d(t,"f",function(){return Ue}),n.d(t,"g",function(){return Me}),n.d(t,"h",function(){return je}),n.d(t,"i",function(){return we}),n.d(t,"j",function(){return Ae}),n.d(t,"k",function(){return $e}),n.d(t,"l",function(){return Fe}),n.d(t,"m",function(){return d}),n.d(t,"n",function(){return j}),n.d(t,"o",function(){return L}),n.d(t,"p",function(){return N}),n.d(t,"q",function(){return xe}),n.d(t,"r",function(){return ke}),n.d(t,"s",function(){return We}),n.d(t,"t",function(){return Qe}),n.d(t,"u",function(){return Le}),n.d(t,"v",function(){return S}),n.d(t,"w",function(){return Pe});var i=n("fXoL"),r=n("ofXK"),o=n("HDdC"),s=n("DH7j"),a=n("lJxs"),c=n("XoHu"),l=n("Cfvw");function u(e,t){return new o.a(n=>{const i=e.length;if(0===i)return void n.complete();const r=new Array(i);let o=0,s=0;for(let a=0;a{u||(u=!0,s++),r[a]=e},error:e=>n.error(e),complete:()=>{o++,o!==i&&u||(s===i&&n.next(t?t.reduce((e,t,n)=>(e[t]=r[n],e),{}):r),n.complete())}}))}})}const d=new i.r("NgValueAccessor"),h={provide:d,useExisting:Object(i.V)(()=>p),multi:!0};let p=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"checked",e)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.G),i.Qb(i.l))},e.\u0275dir=i.Lb({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(e,t){1&e&&i.lc("change",function(e){return t.onChange(e.target.checked)})("blur",function(){return t.onTouched()})},features:[i.Bb([h])]}),e})();const f={provide:d,useExisting:Object(i.V)(()=>b),multi:!0},g=new i.r("CompositionEventMode");let b=(()=>{class e{constructor(e,t,n){this._renderer=e,this._elementRef=t,this._compositionMode=n,this.onChange=e=>{},this.onTouched=()=>{},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const e=Object(r.F)()?Object(r.F)().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.G),i.Qb(i.l),i.Qb(g,8))},e.\u0275dir=i.Lb({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,t){1&e&&i.lc("input",function(e){return t._handleInput(e.target.value)})("blur",function(){return t.onTouched()})("compositionstart",function(){return t._compositionStart()})("compositionend",function(e){return t._compositionEnd(e.target.value)})},features:[i.Bb([f])]}),e})();function m(e){return null==e||0===e.length}function y(e){return null!=e&&"number"==typeof e.length}const v=new i.r("NgValidators"),C=new i.r("NgAsyncValidators"),w=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class S{static min(e){return t=>{if(m(t.value)||m(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n{if(m(t.value)||m(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}static required(e){return m(e.value)?{required:!0}:null}static requiredTrue(e){return!0===e.value?null:{required:!0}}static email(e){return m(e.value)||w.test(e.value)?null:{email:!0}}static minLength(e){return t=>m(t.value)||!y(t.value)?null:t.value.lengthy(t.value)&&t.value.length>e?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null}static pattern(e){if(!e)return S.nullValidator;let t,n;return"string"==typeof e?(n="","^"!==e.charAt(0)&&(n+="^"),n+=e,"$"!==e.charAt(e.length-1)&&(n+="$"),t=new RegExp(n)):(n=e.toString(),t=e),e=>{if(m(e.value))return null;const i=e.value;return t.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}}static nullValidator(e){return null}static compose(e){if(!e)return null;const t=e.filter(_);return 0==t.length?null:function(e){return x(z(e,t))}}static composeAsync(e){if(!e)return null;const t=e.filter(_);return 0==t.length?null:function(e){return function(...e){if(1===e.length){const t=e[0];if(Object(s.a)(t))return u(t,null);if(Object(c.a)(t)&&Object.getPrototypeOf(t)===Object.prototype){const e=Object.keys(t);return u(e.map(e=>t[e]),e)}}if("function"==typeof e[e.length-1]){const t=e.pop();return u(e=1===e.length&&Object(s.a)(e[0])?e[0]:e,null).pipe(Object(a.a)(e=>t(...e)))}return u(e,null)}(z(e,t).map(O)).pipe(Object(a.a)(x))}}}function _(e){return null!=e}function O(e){const t=Object(i.tb)(e)?Object(l.a)(e):e;return Object(i.sb)(t),t}function x(e){let t={};return e.forEach(e=>{t=null!=e?Object.assign(Object.assign({},t),e):t}),0===Object.keys(t).length?null:t}function z(e,t){return t.map(t=>t(e))}function T(e){return e.map(e=>function(e){return!e.validate}(e)?e:t=>e.validate(t))}function k(e){return null!=e?S.compose(T(e)):null}function P(e){return null!=e?S.composeAsync(T(e)):null}function E(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function D(e){return e._rawValidators}function M(e){return e._rawAsyncValidators}let I=(()=>{class e{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=k(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=P(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e){this.control&&this.control.reset(e)}hasError(e,t){return!!this.control&&this.control.hasError(e,t)}getError(e,t){return this.control?this.control.getError(e,t):null}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Lb({type:e}),e})(),A=(()=>{class e extends I{get formDirective(){return null}get path(){return null}}return e.\u0275fac=function(t){return R(t||e)},e.\u0275dir=i.Lb({type:e,features:[i.zb]}),e})();const R=i.Yb(A);class j extends I{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class V{constructor(e){this._cd=e}is(e){var t,n;return!!(null===(n=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===n?void 0:n[e])}}let L=(()=>{class e extends V{constructor(e){super(e)}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(j,2))},e.\u0275dir=i.Lb({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&i.Ib("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))},features:[i.zb]}),e})(),N=(()=>{class e extends V{constructor(e){super(e)}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(A,10))},e.\u0275dir=i.Lb({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(e,t){2&e&&i.Ib("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))},features:[i.zb]}),e})();const F={provide:d,useExisting:Object(i.V)(()=>B),multi:!0};let B=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.G),i.Qb(i.l))},e.\u0275dir=i.Lb({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,t){1&e&&i.lc("input",function(e){return t.onChange(e.target.value)})("blur",function(){return t.onTouched()})},features:[i.Bb([F])]}),e})();const W={provide:d,useExisting:Object(i.V)(()=>U),multi:!0};let H=(()=>{class e{constructor(){this._accessors=[]}add(e,t){this._accessors.push([e,t])}remove(e){for(let t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)}select(e){this._accessors.forEach(t=>{this._isSameGroup(t,e)&&t[1]!==e&&t[1].fireUncheck(e.value)})}_isSameGroup(e,t){return!!e[0].control&&e[0]._parent===t._control._parent&&e[1].name===t.name}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.Mb({token:e,factory:e.\u0275fac}),e})(),U=(()=>{class e{constructor(e,t,n,i){this._renderer=e,this._elementRef=t,this._registry=n,this._injector=i,this.onChange=()=>{},this.onTouched=()=>{}}ngOnInit(){this._control=this._injector.get(j),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(e){this._state=e===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}registerOnChange(e){this._fn=e,this.onChange=()=>{e(this.value),this._registry.select(this)}}fireUncheck(e){this.writeValue(e)}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.G),i.Qb(i.l),i.Qb(H),i.Qb(i.s))},e.\u0275dir=i.Lb({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(e,t){1&e&&i.lc("change",function(){return t.onChange()})("blur",function(){return t.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[i.Bb([W])]}),e})();const $={provide:d,useExisting:Object(i.V)(()=>Q),multi:!0};let Q=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(e))}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.G),i.Qb(i.l))},e.\u0275dir=i.Lb({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(e,t){1&e&&i.lc("change",function(e){return t.onChange(e.target.value)})("input",function(e){return t.onChange(e.target.value)})("blur",function(){return t.onTouched()})},features:[i.Bb([$])]}),e})();const G={provide:d,useExisting:Object(i.V)(()=>Y),multi:!0};let Y=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=e=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){this.value=e;const t=this._getOptionId(e);null==t&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);const n=function(e,t){return null==e?`${t}`:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}(t,e);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)}registerOnChange(e){this.onChange=t=>{this.value=this._getOptionValue(t),e(this.value)}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_registerOption(){return(this._idCounter++).toString()}_getOptionId(e){for(const t of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(t),e))return t;return null}_getOptionValue(e){const t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t):e}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.G),i.Qb(i.l))},e.\u0275dir=i.Lb({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(e,t){1&e&&i.lc("change",function(e){return t.onChange(e.target.value)})("blur",function(){return t.onTouched()})},inputs:{compareWith:"compareWith"},features:[i.Bb([G])]}),e})();const K={provide:d,useExisting:Object(i.V)(()=>X),multi:!0};let X=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=e=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){let t;if(this.value=e,Array.isArray(e)){const n=e.map(e=>this._getOptionId(e));t=(e,t)=>{e._setSelected(n.indexOf(t.toString())>-1)}}else t=(e,t)=>{e._setSelected(!1)};this._optionMap.forEach(t)}registerOnChange(e){this.onChange=t=>{const n=[];if(void 0!==t.selectedOptions){const e=t.selectedOptions;for(let t=0;t{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&ie(e,t)})}(e,t),function(e,t){const n=(e,n)=>{t.valueAccessor.writeValue(e),n&&t.viewToModelUpdate(e)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}(e,t),function(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&ie(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function(e,t){if(t.valueAccessor.setDisabledState){const n=e=>{t.valueAccessor.setDisabledState(e)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function Z(e,t,n=!0){const i=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(i),t.valueAccessor.registerOnTouched(i)),ne(e,t,!0),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function ee(e,t){e.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function te(e,t,n){const i=D(e);null!==t.validator?e.setValidators(E(i,t.validator)):"function"==typeof i&&e.setValidators([i]);const r=M(e);if(null!==t.asyncValidator?e.setAsyncValidators(E(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]),n){const n=()=>e.updateValueAndValidity();ee(t._rawValidators,n),ee(t._rawAsyncValidators,n)}}function ne(e,t,n){let i=!1;if(null!==e){if(null!==t.validator){const n=D(e);if(Array.isArray(n)&&n.length>0){const r=n.filter(e=>e!==t.validator);r.length!==n.length&&(i=!0,e.setValidators(r))}}if(null!==t.asyncValidator){const n=M(e);if(Array.isArray(n)&&n.length>0){const r=n.filter(e=>e!==t.asyncValidator);r.length!==n.length&&(i=!0,e.setAsyncValidators(r))}}}if(n){const e=()=>{};ee(t._rawValidators,e),ee(t._rawAsyncValidators,e)}return i}function ie(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function re(e,t){te(e,t,!1)}function oe(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}const se=[p,Q,B,Y,X,U];function ae(e,t){e._syncPendingControls(),t.forEach(e=>{const t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function ce(e,t){if(!t)return null;let n,i,r;return Array.isArray(t),t.forEach(e=>{var t;e.constructor===b?n=e:(t=e,se.some(e=>t.constructor===e)?i=e:r=e)}),r||i||n||null}function le(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const ue="VALID",de="INVALID",he="PENDING",pe="DISABLED";function fe(e){return(ye(e)?e.validators:e)||null}function ge(e){return Array.isArray(e)?k(e):e||null}function be(e,t){return(ye(t)?t.asyncValidators:e)||null}function me(e){return Array.isArray(e)?P(e):e||null}function ye(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class ve{constructor(e,t){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=e,this._rawAsyncValidators=t,this._composedValidatorFn=ge(this._rawValidators),this._composedAsyncValidatorFn=me(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===ue}get invalid(){return this.status===de}get pending(){return this.status==he}get disabled(){return this.status===pe}get enabled(){return this.status!==pe}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._rawValidators=e,this._composedValidatorFn=ge(e)}setAsyncValidators(e){this._rawAsyncValidators=e,this._composedAsyncValidatorFn=me(e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=he,!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status=pe,this.errors=null,this._forEachChild(t=>{t.disable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(e=>e(!0))}enable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status=ue,this._forEachChild(t=>{t.enable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(e=>e(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),this.status!==ue&&this.status!==he||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?pe:ue}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=he,this._hasOwnPendingAsyncValidator=!0;const t=O(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(t=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(t,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,t={}){this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}get(e){return function(e,t,n){if(null==t)return null;if(Array.isArray(t)||(t=t.split(".")),Array.isArray(t)&&0===t.length)return null;let i=e;return t.forEach(e=>{i=i instanceof we?i.controls.hasOwnProperty(e)?i.controls[e]:null:i instanceof Se&&i.at(e)||null}),i}(this,e)}getError(e,t){const n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null}hasError(e,t){return!!this.getError(e,t)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new i.n,this.statusChanges=new i.n}_calculateStatus(){return this._allControlsDisabled()?pe:this.errors?de:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(he)?he:this._anyControlsHaveStatus(de)?de:ue}_anyControlsHaveStatus(e){return this._anyControls(t=>t.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_isBoxedValue(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){ye(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){return!e&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class Ce extends ve{constructor(e=null,t,n){super(fe(t),be(n,t)),this._onChange=[],this._applyFormState(e),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}setValue(e,t={}){this.value=this._pendingValue=e,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(e=>e(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(e,t={}){this.setValue(e,t)}reset(e=null,t={}){this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){le(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){le(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}}class we extends ve{constructor(e,t,n){super(fe(t),be(n,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}registerControl(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(e,t){this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}removeControl(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity(),this._onCollectionChange()}setControl(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,t={}){this._checkAllValuesPresent(e),Object.keys(e).forEach(n=>{this._throwIfControlMissing(n),this.controls[n].setValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){null!=e&&(Object.keys(e).forEach(n=>{this.controls[n]&&this.controls[n].patchValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e={},t={}){this._forEachChild((n,i)=>{n.reset(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(e,t,n)=>(e[n]=t instanceof Ce?t.value:t.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(e,t)=>!!t._syncPendingControls()||e);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(e){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[e])throw new Error(`Cannot find form control with name: ${e}.`)}_forEachChild(e){Object.keys(this.controls).forEach(t=>{const n=this.controls[t];n&&e(n,t)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(const t of Object.keys(this.controls)){const n=this.controls[t];if(this.contains(t)&&e(n))return!0}return!1}_reduceValue(){return this._reduceChildren({},(e,t,n)=>((t.enabled||this.disabled)&&(e[n]=t.value),e))}_reduceChildren(e,t){let n=e;return this._forEachChild((e,i)=>{n=t(n,e,i)}),n}_allControlsDisabled(){for(const e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(e){this._forEachChild((t,n)=>{if(void 0===e[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)})}}class Se extends ve{constructor(e,t,n){super(fe(t),be(n,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}at(e){return this.controls[e]}push(e){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()}insert(e,t){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity()}removeAt(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),this.updateValueAndValidity()}setControl(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity(),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,t={}){this._checkAllValuesPresent(e),e.forEach((e,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){null!=e&&(e.forEach((e,n)=>{this.at(n)&&this.at(n).patchValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e=[],t={}){this._forEachChild((n,i)=>{n.reset(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(e=>e instanceof Ce?e.value:e.getRawValue())}clear(){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity())}_syncPendingControls(){let e=this.controls.reduce((e,t)=>!!t._syncPendingControls()||e,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(e){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(e))throw new Error(`Cannot find form control at index ${e}`)}_forEachChild(e){this.controls.forEach((t,n)=>{e(t,n)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(t=>t.enabled&&e(t))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_checkAllValuesPresent(e){this._forEachChild((t,n)=>{if(void 0===e[n])throw new Error(`Must supply a value for form control at index: ${n}.`)})}_allControlsDisabled(){for(const e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}}const _e={provide:A,useExisting:Object(i.V)(()=>xe)},Oe=(()=>Promise.resolve(null))();let xe=(()=>{class e extends A{constructor(e,t){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new i.n,this.form=new we({},k(e),P(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Oe.then(()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),J(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Oe.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name),le(this._directives,e)})}addFormGroup(e){Oe.then(()=>{const t=this._findContainer(e.path),n=new we({});re(n,e),t.registerControl(e.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Oe.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){Oe.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,ae(this.form,this._directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(v,10),i.Qb(C,10))},e.\u0275dir=i.Lb({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&i.lc("submit",function(e){return t.onSubmit(e)})("reset",function(){return t.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i.Bb([_e]),i.zb]}),e})();const ze={provide:j,useExisting:Object(i.V)(()=>ke)},Te=(()=>Promise.resolve(null))();let ke=(()=>{class e extends j{constructor(e,t,n,r){super(),this.control=new Ce,this._registered=!1,this.update=new i.n,this._parent=e,this._setValidators(t),this._setAsyncValidators(n),this.valueAccessor=ce(0,r)}ngOnChanges(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),oe(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?q(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){J(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(e){Te.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1})})}_updateDisabled(e){const t=e.isDisabled.currentValue,n=""===t||t&&"false"!==t;Te.then(()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable()})}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(A,9),i.Qb(v,10),i.Qb(C,10),i.Qb(d,10))},e.\u0275dir=i.Lb({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[i.Bb([ze]),i.zb,i.Ab]}),e})(),Pe=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Lb({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e})();const Ee=new i.r("NgModelWithFormControlWarning"),De={provide:j,useExisting:Object(i.V)(()=>Me)};let Me=(()=>{class e extends j{constructor(e,t,n,r){super(),this._ngModelWarningConfig=r,this.update=new i.n,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(t),this.valueAccessor=ce(0,n)}set isDisabled(e){}ngOnChanges(e){if(this._isControlChanged(e)){const t=e.form.previousValue;t&&Z(t,this,!1),J(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}oe(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Z(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(v,10),i.Qb(C,10),i.Qb(d,10),i.Qb(Ee,8))},e.\u0275dir=i.Lb({type:e,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[i.Bb([De]),i.zb,i.Ab]}),e._ngModelWarningSentOnce=!1,e})();const Ie={provide:A,useExisting:Object(i.V)(()=>Ae)};let Ae=(()=>{class e extends A{constructor(e,t){super(),this.validators=e,this.asyncValidators=t,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new i.n,this._setValidators(e),this._setAsyncValidators(t)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(ne(this.form,this,!1),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const t=this.form.get(e.path);return J(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){Z(e.control||null,e,!1),le(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,t){this.form.get(e.path).setValue(t)}onSubmit(e){return this.submitted=!0,ae(this.form,this.directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const t=this.form.get(e.path);e.control!==t&&(Z(e.control||null,e),t&&J(t,e),e.control=t)}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const t=this.form.get(e.path);re(t,e),t.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const t=this.form.get(e.path);if(t){const n=function(e,t){return ne(e,t,!1)}(t,e);n&&t.updateValueAndValidity({emitEvent:!1})}}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){te(this.form,this,!1),this._oldForm&&ne(this._oldForm,this,!1)}_checkFormPresent(){}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(v,10),i.Qb(C,10))},e.\u0275dir=i.Lb({type:e,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&i.lc("submit",function(e){return t.onSubmit(e)})("reset",function(){return t.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i.Bb([Ie]),i.zb,i.Ab]}),e})();const Re={provide:j,useExisting:Object(i.V)(()=>je)};let je=(()=>{class e extends j{constructor(e,t,n,r,o){super(),this._ngModelWarningConfig=o,this._added=!1,this.update=new i.n,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(t),this._setAsyncValidators(n),this.valueAccessor=ce(0,r)}set isDisabled(e){}ngOnChanges(e){this._added||this._setUpControl(),oe(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return q(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(A,13),i.Qb(v,10),i.Qb(C,10),i.Qb(d,10),i.Qb(Ee,8))},e.\u0275dir=i.Lb({type:e,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[i.Bb([Re]),i.zb,i.Ab]}),e._ngModelWarningSentOnce=!1,e})();const Ve={provide:v,useExisting:Object(i.V)(()=>Le),multi:!0};let Le=(()=>{class e{constructor(){this._required=!1}get required(){return this._required}set required(e){this._required=null!=e&&!1!==e&&"false"!=`${e}`,this._onChange&&this._onChange()}validate(e){return this.required?S.required(e):null}registerOnValidatorChange(e){this._onChange=e}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Lb({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,t){2&e&&i.Db("required",t.required?"":null)},inputs:{required:"required"},features:[i.Bb([Ve])]}),e})();const Ne={provide:v,useExisting:Object(i.V)(()=>Fe),multi:!0};let Fe=(()=>{class e{constructor(){this._validator=S.nullValidator}ngOnChanges(e){"maxlength"in e&&(this._createValidator(),this._onChange&&this._onChange())}validate(e){return null!=this.maxlength?this._validator(e):null}registerOnValidatorChange(e){this._onChange=e}_createValidator(){this._validator=S.maxLength("number"==typeof this.maxlength?this.maxlength:parseInt(this.maxlength,10))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Lb({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&i.Db("maxlength",t.maxlength?t.maxlength:null)},inputs:{maxlength:"maxlength"},features:[i.Bb([Ne]),i.Ab]}),e})();const Be={provide:v,useExisting:Object(i.V)(()=>We),multi:!0};let We=(()=>{class e{constructor(){this._validator=S.nullValidator}ngOnChanges(e){"pattern"in e&&(this._createValidator(),this._onChange&&this._onChange())}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}_createValidator(){this._validator=S.pattern(this.pattern)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Lb({type:e,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&i.Db("pattern",t.pattern?t.pattern:null)},inputs:{pattern:"pattern"},features:[i.Bb([Be]),i.Ab]}),e})(),He=(()=>{class e{}return e.\u0275mod=i.Ob({type:e}),e.\u0275inj=i.Nb({factory:function(t){return new(t||e)}}),e})(),Ue=(()=>{class e{group(e,t=null){const n=this._reduceControls(e);let i,r=null,o=null;return null!=t&&(function(e){return void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn}(t)?(r=null!=t.validators?t.validators:null,o=null!=t.asyncValidators?t.asyncValidators:null,i=null!=t.updateOn?t.updateOn:void 0):(r=null!=t.validator?t.validator:null,o=null!=t.asyncValidator?t.asyncValidator:null)),new we(n,{asyncValidators:o,updateOn:i,validators:r})}control(e,t,n){return new Ce(e,t,n)}array(e,t,n){const i=e.map(e=>this._createControl(e));return new Se(i,t,n)}_reduceControls(e){const t={};return Object.keys(e).forEach(n=>{t[n]=this._createControl(e[n])}),t}_createControl(e){return e instanceof Ce||e instanceof we||e instanceof Se?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.Mb({token:e,factory:e.\u0275fac}),e})(),$e=(()=>{class e{}return e.\u0275mod=i.Ob({type:e}),e.\u0275inj=i.Nb({factory:function(t){return new(t||e)},providers:[H],imports:[He]}),e})(),Qe=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Ee,useValue:t.warnOnNgModelWithFormControl}]}}}return e.\u0275mod=i.Ob({type:e}),e.\u0275inj=i.Nb({factory:function(t){return new(t||e)},providers:[Ue,H],imports:[He]}),e})()},"3REe":function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return s}),n.d(t,"c",function(){return a});var i=["D","DD"],r=["YY","YYYY"];function o(e){return-1!==i.indexOf(e)}function s(e){return-1!==r.indexOf(e)}function a(e,t,n){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===e)throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===e)throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===e)throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}},"3RF7":function(e,t,n){"use strict";n.d(t,"a",function(){return S}),n.d(t,"b",function(){return _});var i=function(e){return e.Policy="Policy",e.PropertyAmenity="PropertyAmenity",e.HotelFacilities="Hotel Facilities",e.RoomAmenity="RoomAmenity",e.RoomFacilities="Room Facilities",e}({}),r=function(e){return e.CheckInOutPolicy="CheckInOut",e.PetPolicy="Pets",e.PaymentPolicy="Payment",e.ChildPolicy="Child",e}({}),o=function(e){return e[e.CheckinStartTime=2019]="CheckinStartTime",e[e.CheckinEndTime=3763]="CheckinEndTime",e[e.CheckOutEndTime=2020]="CheckOutEndTime",e[e.MinGuestAge=2940]="MinGuestAge",e[e.CarRecommended=1073743369]="CarRecommended",e[e.CarRequired=1073743368]="CarRequired",e[e.MinCheckInAge=2551]="MinCheckInAge",e}({}),s=function(e){return e[e.CheckinStartTime=10008]="CheckinStartTime",e[e.CheckinEndTime=10045]="CheckinEndTime",e[e.CheckOutStartTime=10044]="CheckOutStartTime",e[e.CheckOutEndTime=10009]="CheckOutEndTime",e}({}),a=function(e){return e[e.CheckinStartTime=353]="CheckinStartTime",e[e.CheckinEndTime=359]="CheckinEndTime",e[e.CheckOutStartTime=360]="CheckOutStartTime",e[e.CheckOutEndTime=361]="CheckOutEndTime",e[e.FreeText=362]="FreeText",e}({});const c=[o.CheckinStartTime,s.CheckinStartTime,a.CheckinStartTime],l=[o.CheckinEndTime,s.CheckinEndTime,a.CheckinEndTime],u=[s.CheckOutStartTime,a.CheckOutStartTime],d=[o.CheckOutEndTime,s.CheckOutEndTime,a.CheckOutEndTime];var h=n("U8d7"),p=n("O+5q");class f{constructor(e,t,n=0,i={}){this.hotelId=e,this.pageKey=t,this.timeticks=n,this.unavailableRatePlanList=i}}var g=n("arSf");new class{constructor(){this._autoRemoved=!1}setOptions(e,t){const n=JSON.stringify(t);g.a.save(`DIDA_SHOPPING_HOTEL_BOOKING_PRE_ORDER_OPTIONS:${e}`,n),console.log(t),this.autoRemove()}getOptions(e){this._autoRemoved||(this.autoRemove(),this._autoRemoved=!0);const t=g.a.get(`DIDA_SHOPPING_HOTEL_BOOKING_PRE_ORDER_OPTIONS:${e}`);let n={};return t&&(n=JSON.parse(t)),n}autoRemove(){try{const e=(new Date).getTime(),t=864e5;g.a.keys().forEach(n=>{if(n&&n.startsWith("DIDA_SHOPPING_HOTEL_BOOKING_PRE_ORDER_OPTIONS")){const i=g.a.get(n);if(i){const r=JSON.parse(i);e-r.__timetick__>t&&(g.a.clear(n),console.log(n))}}})}catch(e){console.log(e)}}};var b=n("rUKz");new class extends b.a{constructor(){super()}searchHotelPrice(e,t,n,i,r=null,o){var s;if(!(null===(s=e.RealTimeFilter)||void 0===s?void 0:s.IsRealTime)&&(null==n?void 0:n.length)>0)throw new Error("\u975e\u5b9e\u65f6\u67e5\u8be2\u65f6\uff0c\u4e0d\u5141\u8bb8\u4f20\u9012SupplierMask");const a=h.f.format(e.CheckInDate,"MM-dd");return this.httpClientWrapper.post(`/HotelPriceAPI/Search?_d=${a}&i=${o}`,{data:e,rec:r,bid:t,sr:i,sourceMaskList:n},{resultProcessor:t=>{var n;return null===(n=t.HotelPriceList)||void 0===n||n.forEach(e=>{this.normalizeHotelRatePlanPrice(e)}),Object.assign({Data:t.HotelPriceList||[],TotalAmount:t.TotalCount,PageNum:e.PageNum,PageSize:e.CountPerPage},t)},payloadProcessor:t=>{const n=t.data,i=h.f.format(n.CheckInDate,h.f.DEFAULT_DATE_FORMAT);n.CheckInDate=i;const r=h.f.format(n.CheckOutDate,h.f.DEFAULT_DATE_FORMAT);return n.CheckOutDate=r,n.PriceSearchFilter&&n.PriceSearchFilter.Location&&e.PriceSearchFilter.Location instanceof p.a&&(n.PriceSearchFilter.Location=e.PriceSearchFilter.Location.serviceCoordinate),t}})}searchHotelCachePrice(e,t,n=null){var i;return(null===(i=e.RealTimeFilter)||void 0===i?void 0:i.IsRealTime)&&(e=Object.assign(Object.assign({},e),{RealTimeFilter:Object.assign(Object.assign({},e.RealTimeFilter),{IsRealTime:!1})})),this.searchHotelPrice(e,null,null,t,n)}searchHotelChains(e){return this.httpClientWrapper.post("/HotelApi/GetHotelChainList",{options:e},{payloadProcessor:t=>{const n=t.options;return n.PriceSearchFilter&&n.PriceSearchFilter.Location&&e.PriceSearchFilter.Location instanceof p.a&&(n.PriceSearchFilter.Location=e.PriceSearchFilter.Location.serviceCoordinate),t}})}searchMonitor(e){const t=h.f.format(e.CheckInDate,h.f.DEFAULT_DATE_FORMAT);return this.httpClientWrapper.post("/HotelPriceAPI/SearchMonitor?_d="+t,{data:e})}searchRatePlanPrice(e){return this.httpClientWrapper.post("/HotelPriceAPI/GetRatePlanPrice",e,{resultProcessor:e=>(e.HotelPriceList.forEach(e=>{this.normalizeHotelRatePlanPrice(e)}),e),payloadProcessor:e=>(e.CheckIn instanceof Date&&(e.CheckIn=h.f.format(h.f.getDate(e.CheckIn),h.f.DEFAULT_DATE_FORMAT)),e.CheckOut instanceof Date&&(e.CheckOut=h.f.format(h.f.getDate(e.CheckOut),h.f.DEFAULT_DATE_FORMAT)),e)})}searchDailyPrice(e){return this.httpClientWrapper.post("/HotelPriceAPI/SearchDailyPrice",e)}normalizeHotelRatePlanPrice(e){e.RatePlanPriceList?e.RatePlanPriceList.forEach(e=>{e.RateList.forEach(e=>{e.StayDate=h.f.parse(e.StayDate,!0)}),e.CancellationList.forEach(e=>{e.FromDate=h.f.parse(e.FromDate,!0)}),e.CancellationList.sort((e,t)=>e.FromDate.getTime()-t.FromDate.getTime()),e.CancellationList=e.CancellationList.filter((e,t,n)=>!n[t-1]||e.Price!==n[t-1].Price),(e.RatePlan.DidaRoomTypeID||0)<=0&&(e.RatePlan.DidaRoomTypeID=null),e.RatePlan.ExtraInfoIDList=(e.RatePlan.ExtraInfoIDList||"").split("|").map(e=>parseInt(e,10))}):e.RatePlanPriceList=[]}};class m{static generateStateModel(e){return new f(e,(new Date).getTime().toString())}static getItemKey(e){return`${e.hotelId}_${e.pageKey}`}static getRatePlanKey(e,t,n,i){return 0===e?`${n}_${i}`:`${e}:${t}`}}var y=n("XNiG"),v=n("w1tV"),C=n("pLZG");const w="DIDA_SHOPPING_RATE_STATE";new class{constructor(){this.rateStateSubject=new y.a,this.changes=this.rateStateSubject.asObservable().pipe(Object(v.a)()),g.a.changes.pipe(Object(C.a)(e=>e.key===w)).subscribe(e=>{let t={};null!=e.value&&(t=JSON.parse(e.value)),this.rateStateSubject.next({data:t,external:e.external})})}update(e){const t=this.getItems();t[m.getItemKey(e)]=e,this.saveItems(t)}remove(e){const t=this.getItems(),n=m.getItemKey(e);t[n]&&(delete t[n],this.saveItems(t))}get(e){return this.getItems()[e]}saveItems(e){const t=JSON.stringify(e);g.a.save(w,t)}getItems(){const e=g.a.get(w);let t={};return e&&(t=JSON.parse(e)),t}},n("jq9o"),n("M34a"),n("9/EM");class S{static getCheckInOutInfo(e,t){var n;const i=e.hotelPolicies.checkInOut,r=i.find(e=>c.includes(e.AttributeID));let o=i.find(e=>l.includes(e.AttributeID));const s=i.find(e=>u.includes(e.AttributeID)),a=i.find(e=>d.includes(e.AttributeID));return(null===(n=null==o?void 0:o.AppendTxt)||void 0===n?void 0:n.startsWith("24"))&&(o=Object.assign({},o),o.AppendTxt="00:00"),{checkInStart:this.normalizeTime(null==r?void 0:r.AppendTxt,"14:00"),checkInEnd:this.normalizeTime(null==o?void 0:o.AppendTxt,"22:00"),checkOutStart:this.normalizeTime(null==s?void 0:s.AppendTxt),checkOutEnd:this.normalizeTime(null==a?void 0:a.AppendTxt,"12:00")}}static normalizeTime(e,t){if(!(e=null==e?void 0:e.trim())&&t)return t;if(/^\d+$/.test(e))switch(e.length){case 1:e=`0${e}:00`;break;case 2:e+=":00";break;case 4:e=e.slice(0,2)+":"+e.slice(2)}return e}static classifyHotelAttribute(e){const t=[],n=[],o=[],s=[],a=[],c=[],l=[];return null==e||e.forEach(e=>{var u;const d=[(e=Object.assign({},e)).AttributeDescription];switch((null===(u=e.AttributeDescription)||void 0===u?void 0:u.includes(e.AppendTxt))||d.push(e.AppendTxt),e.AttributeDescription=d.filter(Boolean).join(" ")||null,e.Type){case i.Policy:switch(e.SubType){case r.CheckInOutPolicy:t.push(e);break;case r.PaymentPolicy:n.push(e);break;case r.PetPolicy:o.push(e);break;case r.ChildPolicy:s.push(e);break;default:a.push(e)}break;case i.PropertyAmenity:case i.HotelFacilities:c.push(e);break;case i.RoomAmenity:case i.RoomFacilities:l.push(e);break;default:a.push(e)}}),{checkInOutPolicies:t,paymentPolicies:n,petPolicies:o,childPolicies:s,otherPolicies:a,hotelAmenities:c,roomAmenities:l}}static checkHotelPolicyExist(e){if(!e)return!1;const{HotelAttributeList:t,PolicyDescription:n,ImportNotice:i}=e;return!!(t&&t.length>0)||!(!n||!/\w+/.test(n))||!!i}static simplifyHotelInfo(e,t){var n,i,r,o,s;const a=null==t?void 0:t.replace("-","_"),c=this.classifyHotelAttribute(e.HotelAttributeList);let l=null,u=null;"zh_CN"===a?(u=(null===(n=e.I18n.zh_CN)||void 0===n?void 0:n.Name)||e.Name,l=null===(i=e.I18n.en_US)||void 0===i?void 0:i.Name):u=(null===(r=e.I18n[a])||void 0===r?void 0:r.Name)||e.Name;const{CustomizedSetting:d,CustomizeDescription:p,HotelImageList:f,Phone:g,ZipCode:b}=e,m=e.HotelMeta;(null==m?void 0:m.WebsiteUrl)&&m.WebsiteUrl.startsWith("http")&&(m.WebsiteUrl="http://"+m.WebsiteUrl);let y=e.AliasList;if((null==y?void 0:y.length)>0){const t=[e.Name,e.Name_CN,e.Name_EN];Object.values(e.I18n).forEach(e=>{t.push(e.Name)}),y=y.filter(e=>!t.includes(e.Alias)&&e.IsChecked)}const v=(null===(o=e.I18n[a])||void 0===o?void 0:o.Tags)||e.Tags,C=S.checkHotelPolicyExist(e),w="\u513f\u7ae5\u5982\u679c\u4e0e\u7236\u6bcd\u6216\u76d1\u62a4\u4eba\u540c\u4f4f\u4e00\u623f\u5e76\u4f7f\u7528\u73b0\u6709\u5e8a\u94fa\uff0c\u53ef\u514d\u8d39\u5165\u4f4f";e.PolicyDescription&&e.PolicyDescription.includes(w)&&(e.PolicyDescription=e.PolicyDescription.split("").map(e=>e.includes(w)?e.replace("
  • ",'
  • '):e).join("
  • "));const _=null==f?void 0:f.filter(Boolean).map(e=>(e.ImageUrl_HD=h.q.normalizeStaticUrl(e.ImageUrl_HD||e.ImageUrl),e.ImageUrl=h.q.normalizeStaticUrl(e.ImageUrl||e.ImageUrl_HD),e)),O=null==_?void 0:_[0];return{hotelId:e.HotelID,mainHotelId:e.MainHotelID,name:u,nameSub:l,address:e.Address,addressFull:e.AddressFull,imageUrl:(null==O?void 0:O.ImageUrl_HD)||(null==O?void 0:O.ImageUrl),hasWifi:(null==d?void 0:d.InternetTypeList.indexOf(1))>=0||p&&p.HasWifi,isOnPromotion:(null==d?void 0:d.IsOnPromotion)||!1,phone:g||"--",zipCode:b||"--",hotelPolicies:{checkInOut:c.checkInOutPolicies,payment:c.paymentPolicies,pet:c.petPolicies,child:c.childPolicies,others:c.otherPolicies,roomAmenities:c.roomAmenities,hotelAmenities:c.hotelAmenities},goordinate:{Latitude:e.Latitude,Longitude:e.Longitude},starRating:e.StarRating,countryCode:e.CountryCode,facilitySetting:e.FacilitySetting,distance:e.Distance,destinationId:e.DestinationIDStr,destinationName:e.DestinationName,hotelMeta:m,hasHotelPolicy:C,chainName:e.ChainName,aliasList:y,tagList:v,areaAttractions:e.AreaAttractions,customizedSetting:e.CustomizedSetting,sellingPoints:e.DidaHotelSellingPoint,description:e.Description,descriptionDigest:null===(s=e.Description)||void 0===s?void 0:s.replace(/.*?<\/b>/g,"").replace(/<.+?>/g,""),imageList:_,importNotice:e.ImportNotice,policyDescription:e.PolicyDescription}}static getRoomAttributeList(e){const t=[];return e?(e.Floor&&t.push({type:"floor",value:e.Floor}),e.Size&&t.push({type:"size",value:e.Size}),e.HasWindow&&t.push({type:"window",value:!0}),e.HasWifi&&t.push({type:"wifi",value:!0}),e.MaxOccupancy>0&&t.push({type:"max-occupancy",value:e.MaxOccupancy}),t):t}}const _=new class extends b.a{constructor(){super()}getFavoriteHotels(){return this.httpClientWrapper.get("/UserFavoriteHotelApi/Get")}addFavoriteHotel(e){return this.httpClientWrapper.post("/UserFavoriteHotelApi/Add",{hotelId:e,option:null})}removeFavoriteHotel(e){return this.httpClientWrapper.post("/UserFavoriteHotelApi/Remove",{hotelId:e,option:null})}getUserRegionSearchHistory(){return this.httpClientWrapper.get("/HotelApi/GetUserRegionSearchHistory")}getRegionHotelRadarData(e){return this.httpClientWrapper.get("/HotelApi/GetRegionHotelRadarData",{options:e},{resultProcessor:e=>(e.CheckInDate=h.f.parse(e.CheckInDate,!0),e.CheckOutDate=h.f.parse(e.CheckOutDate,!0),e)})}};var O=n("dgj+");new class extends b.a{constructor(){super()}getHotelGeoStaticMapData(e,t,n,i,r=null,o=null,s=null){let a=null;const c=i.userIdentityInfo.profile.UserName;return this.httpClientWrapper.get("/HotelApi/GetHotelGeoStaticMapData",{hotelId:e,height:t,width:n,iconUrl:r,useHDImage:o,zoomLevel:s},{payloadProcessor:i=>{const l={hotelId:e,height:t,width:n,iconUrl:r,useHDImage:o,zoomLevel:s,username:c,pin:(new Date).getTime()};return i.sign=a=O.f.generateSignature(l),i.pin=l.pin,i}})}getHotelVideo(e){return this.httpClientWrapper.get("/HotelApi/GetHotelVideo",{hotelId:e})}getRoomInfo(e,t,n,i,r){return this.httpClientWrapper.get("/HotelApi/GetRoomContent",{hotelId:e,supplierId:t,ratePlanId:n,responseId:i,ratePlanMask:r},{resultProcessor:e=>(e?e.Images&&(e.Images=e.Images.sort((e,t)=>e.IsDefault?1:0)):e=null,e)})}getHotelDetail(e,t=!0,n=!1){return this.httpClientWrapper.get("/HotelApi/GetHotelStaticById",{id:e,withMeta:t,withTransferLocations:n})}getHotelRoomInfo(e){return this.httpClientWrapper.get("/HotelApi/GetHotelRoomContent",{hotelId:e},{resultProcessor:e=>(e.Rooms&&e.Rooms.forEach(e=>{e.Images&&(e.Images=e.Images.sort((e,t)=>e.IsDefault?1:0))}),e)})}getHotelSuppliersList(e,t){return this.httpClientWrapper.get("/HotelApi/GetHotelSupplierList",{hotelId:e,sids:t&&t.join(",")})}getHotelSearchSubRegion(e){return this.httpClientWrapper.get("/HotelApi/GetHotelSearchSubRegion",{regionId:e})}getRegionHotelSearchOptions(e){return this.httpClientWrapper.get("/HotelApi/GetHotelSearchOptions",{regionId:e})}getRecommendContent(){return this.httpClientWrapper.get("/HotelApi/GetRecommendContent",{},{resultProcessor:e=>(e||[]).filter(e=>(e.Hotels=e.Hotels||[],e.Hotels.length>0))})}getRegionalPromotedHotels(e){return this.httpClientWrapper.get("/HotelApi/GetRegionalPromotedHotels",{regionIdList:e},{})}getHotelsPromotedByRegionId(e){return this.httpClientWrapper.get("/HotelApi/GetHotelsPromotedByRegionId",{regionId:e})}getHotelDetailOpen(e){return this.httpClientWrapper.get("/HotelApi/GetHotelStaticOpen",{id:e},{resultProcessor:e=>(e.HotelMeta&&e.HotelMeta.WebsiteUrl&&!e.HotelMeta.WebsiteUrl.startsWith("http")&&(e.HotelMeta.WebsiteUrl="http://"+e.HotelMeta.WebsiteUrl),e.DestinationIDStr&&(e.DestinationID=e.DestinationIDStr),e)})}getHotelStaticData(e,t){return this.httpClientWrapper.get("/HotelApi/GetHotelStaticData",{id:e,options:t},{resultProcessor:e=>(e.DestinationIDStr&&(e.DestinationID=e.DestinationIDStr),e)})}getHotelStaticList(e){return this.httpClientWrapper.post("/HotelApi/GetHotelStaticList",{idList:e},{resultProcessor:e=>(e.DestinationIDStr&&(e.DestinationID=e.DestinationIDStr),e)})}postNoMappingRooms(e){return this.httpClientWrapper.post("/HotelApi/PostNoMappingRooms",e)}},new class extends b.a{constructor(){super()}getHotelChainList(e){return this.httpClientWrapper.post("/HotelApi/GetHotelChainList",{options:e},{payloadProcessor:e=>{const t=e.options;return t.PriceSearchFilter&&t.PriceSearchFilter.Location&&t.PriceSearchFilter.Location instanceof p.a&&(t.PriceSearchFilter.Location=t.PriceSearchFilter.Location.serviceCoordinate),e}})}}},"3UWI":function(e,t,n){"use strict";n.d(t,"a",function(){return l});var i=n("D0XW"),r=n("l7GE"),o=n("ZUHj");class s{constructor(e){this.durationSelector=e}call(e,t){return t.subscribe(new a(e,this.durationSelector))}}class a extends r.a{constructor(e,t){super(e),this.durationSelector=t,this.hasValue=!1}_next(e){if(this.value=e,this.hasValue=!0,!this.throttled){let n;try{const{durationSelector:t}=this;n=t(e)}catch(t){return this.destination.error(t)}const i=Object(o.a)(this,n);!i||i.closed?this.clearThrottle():this.add(this.throttled=i)}}clearThrottle(){const{value:e,hasValue:t,throttled:n}=this;n&&(this.remove(n),this.throttled=null,n.unsubscribe()),t&&(this.value=null,this.hasValue=!1,this.destination.next(e))}notifyNext(e,t,n,i){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}var c=n("PqYM");function l(e,t=i.a){return n=()=>Object(c.a)(e,t),function(e){return e.lift(new s(n))};var n}},"3rB1":function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n("ofXK"),r=n("fXoL");n("WN2g"),n("JNZN"),n("yAKf"),n("HZ3n");let o=(()=>{class e{}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)},imports:[[i.c]]}),e})()},"3y9D":function(e,t,n){var i,r,o,s,a,c,l;e.exports=(l=n("Ib8C"),o=(r=(i=l).lib).WordArray,a=[],c=i.algo.SHA1=(s=r.Hasher).extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=this._hash.words,i=n[0],r=n[1],o=n[2],s=n[3],c=n[4],l=0;l<80;l++){if(l<16)a[l]=0|e[t+l];else{var u=a[l-3]^a[l-8]^a[l-14]^a[l-16];a[l]=u<<1|u>>>31}var d=(i<<5|i>>>27)+c+a[l];d+=l<20?1518500249+(r&o|~r&s):l<40?1859775393+(r^o^s):l<60?(r&o|r&s|o&s)-1894007588:(r^o^s)-899497514,c=s,s=o,o=r<<30|r>>>2,r=i,i=d}n[0]=n[0]+i|0,n[1]=n[1]+r|0,n[2]=n[2]+o|0,n[3]=n[3]+s|0,n[4]=n[4]+c|0},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,i=8*e.sigBytes;return t[i>>>5]|=128<<24-i%32,t[14+(i+64>>>9<<4)]=Math.floor(n/4294967296),t[15+(i+64>>>9<<4)]=n,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=s.clone.call(this);return e._hash=this._hash.clone(),e}}),i.SHA1=s._createHelper(c),i.HmacSHA1=s._createHmacHelper(c),l.SHA1)},"48Xl":function(e,t,n){"use strict";var i=n("iSMj");t.a=i.a},"4I5i":function(e,t,n){"use strict";n.d(t,"a",function(){return i});const i=(()=>{function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e})()},"4hBO":function(e,t,n){"use strict";n.d(t,"a",function(){return O}),n.d(t,"b",function(){return x});var i=n("mrSG"),r=n("nLfN"),o=n("ofXK"),s=n("fXoL"),a=n("2Suw"),c=n("/KA4"),l=n("quSY"),u=n("jtHE"),d=n("XNiG"),h=n("VRyK"),p=n("xgIS"),f=n("1G5W"),g=n("lJxs"),b=n("3UWI"),m=n("cH1L"),y=n("JwMs");const v=["fixedEl"],C=["*"];var w=function(e){return e.resize="resize",e.scroll="scroll",e.touchstart="touchstart",e.touchmove="touchmove",e.touchend="touchend",e.pageshow="pageshow",e.load="LOAD",e}({});function S(e){return function(e){return"undefined"!=typeof window&&e===window}(e)?{top:0,left:0,bottom:0}:e.getBoundingClientRect()}const _="ant-affix";let O=(()=>{class e{constructor(e,t,n,i,r,o,a,c,h){this.nzConfigService=n,this.scrollSrv=i,this.ngZone=r,this.platform=o,this.renderer=a,this.cdr=c,this.directionality=h,this._nzModuleName="affix",this.nzChange=new s.n,this.dir="ltr",this.positionChangeSubscription=l.a.EMPTY,this.offsetChanged$=new u.a(1),this.destroy$=new d.a,this.placeholderNode=e.nativeElement,this.document=t}get target(){const e=this.nzTarget;return("string"==typeof e?this.document.querySelector(e):e)||window}ngOnInit(){var e;null===(e=this.directionality.change)||void 0===e||e.pipe(Object(f.a)(this.destroy$)).subscribe(e=>{this.dir=e,this.registerListeners(),this.updatePosition({}),this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnChanges(e){const{nzOffsetBottom:t,nzOffsetTop:n,nzTarget:i}=e;(t||n)&&this.offsetChanged$.next(),i&&this.registerListeners()}ngAfterViewInit(){this.registerListeners()}ngOnDestroy(){this.removeListeners()}registerListeners(){this.platform.isBrowser&&(this.removeListeners(),this.positionChangeSubscription=this.ngZone.runOutsideAngular(()=>Object(h.a)(...Object.keys(w).map(e=>Object(p.a)(this.target,e)),this.offsetChanged$.pipe(Object(f.a)(this.destroy$),Object(g.a)(()=>({})))).pipe(Object(b.a)(20)).subscribe(e=>this.updatePosition(e))),this.timeout=setTimeout(()=>this.updatePosition({})))}removeListeners(){clearTimeout(this.timeout),this.positionChangeSubscription.unsubscribe(),this.destroy$.next(),this.destroy$.complete()}getOffset(e,t){const n=e.getBoundingClientRect(),i=S(t),r=this.scrollSrv.getScroll(t,!0),o=this.scrollSrv.getScroll(t,!1),s=this.document.body;return{top:n.top-i.top+r-(s.clientTop||0),left:n.left-i.left+o-(s.clientLeft||0),width:n.width,height:n.height}}setAffixStyle(e,t){const n=this.affixStyle,i=this.target===window;if("scroll"===e.type&&n&&t&&i)return;if(Object(c.o)(n,t))return;const r=!!t,o=this.fixedEl.nativeElement;this.renderer.setStyle(o,"cssText",Object(c.e)(t)),this.affixStyle=t,r?o.classList.add(_):o.classList.remove(_),this.updateRtlClass(),(t&&!n||!t&&n)&&this.nzChange.emit(r)}setPlaceholderStyle(e){const t=this.placeholderStyle;Object(c.o)(e,t)||(this.renderer.setStyle(this.placeholderNode,"cssText",Object(c.e)(e)),this.placeholderStyle=e)}syncPlaceholderStyle(e){if(!this.affixStyle)return;this.renderer.setStyle(this.placeholderNode,"cssText",""),this.placeholderStyle=void 0;const t={width:this.placeholderNode.offsetWidth,height:this.fixedEl.nativeElement.offsetHeight};this.setAffixStyle(e,Object.assign(Object.assign({},this.affixStyle),t)),this.setPlaceholderStyle(t)}updatePosition(e){if(!this.platform.isBrowser)return;const t=this.target;let n=this.nzOffsetTop;const i=this.scrollSrv.getScroll(t,!0),r=this.getOffset(this.placeholderNode,t),o=this.fixedEl.nativeElement,s={width:o.offsetWidth,height:o.offsetHeight},a={top:!1,bottom:!1};"number"!=typeof n&&"number"!=typeof this.nzOffsetBottom?(a.top=!0,n=0):(a.top="number"==typeof n,a.bottom="number"==typeof this.nzOffsetBottom);const c=S(t),l=t.innerHeight||t.clientHeight;if(i>=r.top-n&&a.top){const t=r.width;this.setAffixStyle(e,{position:"fixed",top:c.top+n,left:c.left+r.left,width:t}),this.setPlaceholderStyle({width:t,height:s.height})}else if(i<=r.top+s.height+this.nzOffsetBottom-l&&a.bottom){const n=t===window?0:window.innerHeight-c.bottom,i=r.width;this.setAffixStyle(e,{position:"fixed",bottom:n+this.nzOffsetBottom,left:c.left+r.left,width:i}),this.setPlaceholderStyle({width:i,height:r.height})}else e.type===w.resize&&this.affixStyle&&"fixed"===this.affixStyle.position&&this.placeholderNode.offsetWidth?this.setAffixStyle(e,Object.assign(Object.assign({},this.affixStyle),{width:this.placeholderNode.offsetWidth})):this.setAffixStyle(e),this.setPlaceholderStyle();"resize"===e.type&&this.syncPlaceholderStyle(e)}updateRtlClass(){const e=this.fixedEl.nativeElement;"rtl"===this.dir&&e.classList.contains(_)?e.classList.add("ant-affix-rtl"):e.classList.remove("ant-affix-rtl")}}return e.\u0275fac=function(t){return new(t||e)(s.Qb(s.l),s.Qb(o.e),s.Qb(a.b),s.Qb(y.e),s.Qb(s.B),s.Qb(r.a),s.Qb(s.G),s.Qb(s.h),s.Qb(m.c,8))},e.\u0275cmp=s.Kb({type:e,selectors:[["nz-affix"]],viewQuery:function(e,t){if(1&e&&s.Xc(v,3),2&e){let e;s.Dc(e=s.mc())&&(t.fixedEl=e.first)}},inputs:{nzTarget:"nzTarget",nzOffsetTop:"nzOffsetTop",nzOffsetBottom:"nzOffsetBottom"},outputs:{nzChange:"nzChange"},exportAs:["nzAffix"],features:[s.Ab],ngContentSelectors:C,decls:3,vars:0,consts:[["fixedEl",""]],template:function(e,t){1&e&&(s.vc(),s.Wb(0,"div",null,0),s.uc(2),s.Vb())},encapsulation:2,changeDetection:0}),Object(i.b)([Object(a.c)(),Object(c.b)(void 0),Object(i.c)("design:type",Object)],e.prototype,"nzOffsetTop",void 0),Object(i.b)([Object(a.c)(),Object(c.b)(void 0),Object(i.c)("design:type",Object)],e.prototype,"nzOffsetBottom",void 0),e})(),x=(()=>{class e{}return e.\u0275mod=s.Ob({type:e}),e.\u0275inj=s.Nb({factory:function(t){return new(t||e)},imports:[[m.a,o.c,r.b]]}),e})()},"4xsP":function(e,t,n){"use strict";n.d(t,"a",function(){return C}),n.d(t,"b",function(){return y}),n.d(t,"c",function(){return w});var i=n("cH1L"),r=n("ofXK"),o=n("fXoL"),s=n("mrSG"),a=n("2Suw"),c=n("79xS"),l=n("/KA4"),u=n("XNiG"),d=n("1G5W");const h=["*"];function p(e,t){}const f=function(e){return{$implicit:e}};function g(e,t){if(1&e&&(o.Wb(0,"span",4),o.Qc(1,p,0,0,"ng-template",5),o.Vb()),2&e){const e=o.oc(),t=e.last,n=e.index,i=o.oc();o.Nc("margin-bottom","vertical"===i.nzDirection?t?null:i.spaceSize:null,"px")("margin-right","horizontal"===i.nzDirection?t?null:i.spaceSize:null,"px"),o.Cb(1),o.wc("ngTemplateOutlet",i.nzSplit)("ngTemplateOutletContext",o.Bc(6,f,n))}}function b(e,t){if(1&e&&(o.Wb(0,"div",1),o.Sb(1,2),o.Vb(),o.Qc(2,g,2,8,"span",3)),2&e){const e=t.$implicit,n=t.last,i=o.oc();o.Nc("margin-bottom","vertical"===i.nzDirection?n?null:i.spaceSize:null,"px")("margin-right","horizontal"===i.nzDirection?n?null:i.spaceSize:null,"px"),o.Cb(1),o.wc("ngTemplateOutlet",e),o.Cb(1),o.wc("ngIf",i.nzSplit&&!n)}}let m=(()=>{class e{constructor(e,t){this.renderer=e,this.elementRef=t}setDirectionAndSize(e,t){"horizontal"===e?(this.renderer.removeStyle(this.elementRef.nativeElement,"margin-bottom"),this.renderer.setStyle(this.elementRef.nativeElement,"margin-right",`${t}px`)):(this.renderer.removeStyle(this.elementRef.nativeElement,"margin-right"),this.renderer.setStyle(this.elementRef.nativeElement,"margin-bottom",`${t}px`))}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)(o.Qb(o.G),o.Qb(o.l))},e.\u0275cmp=o.Kb({type:e,selectors:[["nz-space-item"],["","nz-space-item",""]],hostAttrs:[1,"ant-space-item"],ngContentSelectors:h,decls:1,vars:0,template:function(e,t){1&e&&(o.vc(),o.uc(0))},encapsulation:2,changeDetection:0}),e})(),y=(()=>{class e{constructor(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o.Lb({type:e,selectors:[["","nzSpaceItem",""]]}),e})();const v={small:8,middle:16,large:24};let C=(()=>{class e{constructor(e,t){this.nzConfigService=e,this.cdr=t,this._nzModuleName="space",this.nzDirection="horizontal",this.nzSplit=null,this.nzWrap=!1,this.nzSize="small",this.spaceSize=v.small,this.destroy$=new u.a}updateSpaceItems(){var e;this.spaceSize=("string"==typeof this.nzSize?v[this.nzSize]:this.nzSize)/(this.nzSplit?2:1),(null===(e=this.nzSpaceItemComponents)||void 0===e?void 0:e.length)&&(Object(c.c)("`nz-space-item` in `nz-space` will be removed in 12.0.0, please use `*nzSpaceItem` instead."),this.nzSpaceItemComponents.forEach(e=>{e.setDirectionAndSize(this.nzDirection,this.spaceSize)})),this.cdr.markForCheck()}ngOnChanges(){this.updateSpaceItems(),this.mergedAlign=void 0===this.nzAlign&&"horizontal"===this.nzDirection?"center":this.nzAlign}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}ngAfterContentInit(){this.updateSpaceItems(),this.nzSpaceItemComponents.changes.pipe(Object(d.a)(this.destroy$)).subscribe(()=>{this.updateSpaceItems()})}}return e.\u0275fac=function(t){return new(t||e)(o.Qb(a.b),o.Qb(o.h))},e.\u0275cmp=o.Kb({type:e,selectors:[["nz-space"],["","nz-space",""]],contentQueries:function(e,t,n){if(1&e&&(o.Jb(n,m,0),o.Jb(n,y,0,o.N)),2&e){let e;o.Dc(e=o.mc())&&(t.nzSpaceItemComponents=e),o.Dc(e=o.mc())&&(t.items=e)}},hostAttrs:[1,"ant-space"],hostVars:14,hostBindings:function(e,t){2&e&&(o.Nc("flex-wrap",t.nzWrap?"wrap":null),o.Ib("ant-space-horizontal","horizontal"===t.nzDirection)("ant-space-vertical","vertical"===t.nzDirection)("ant-space-align-start","start"===t.mergedAlign)("ant-space-align-end","end"===t.mergedAlign)("ant-space-align-center","center"===t.mergedAlign)("ant-space-align-baseline","baseline"===t.mergedAlign))},inputs:{nzDirection:"nzDirection",nzSplit:"nzSplit",nzWrap:"nzWrap",nzSize:"nzSize",nzAlign:"nzAlign"},exportAs:["NzSpace"],features:[o.Ab],ngContentSelectors:h,decls:2,vars:1,consts:[["ngFor","",3,"ngForOf"],[1,"ant-space-item"],[3,"ngTemplateOutlet"],["class","ant-space-split",3,"margin-bottom","margin-right",4,"ngIf"],[1,"ant-space-split"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(e,t){1&e&&(o.vc(),o.uc(0),o.Qc(1,b,3,6,"ng-template",0)),2&e&&(o.Cb(1),o.wc("ngForOf",t.items))},directives:[r.n,r.t,r.o],encapsulation:2,changeDetection:0}),Object(s.b)([Object(l.a)(),Object(s.c)("design:type",Boolean)],e.prototype,"nzWrap",void 0),Object(s.b)([Object(a.c)(),Object(s.c)("design:type",Object)],e.prototype,"nzSize",void 0),e})(),w=(()=>{class e{}return e.\u0275mod=o.Ob({type:e}),e.\u0275inj=o.Nb({factory:function(t){return new(t||e)},imports:[[i.a,r.c]]}),e})()},"5+tZ":function(e,t,n){"use strict";n.d(t,"a",function(){return c});var i=n("ZUHj"),r=n("l7GE"),o=n("51Dv"),s=n("lJxs"),a=n("Cfvw");function c(e,t,n=Number.POSITIVE_INFINITY){return"function"==typeof t?i=>i.pipe(c((n,i)=>Object(a.a)(e(n,i)).pipe(Object(s.a)((e,r)=>t(n,e,i,r))),n)):("number"==typeof t&&(n=t),t=>t.lift(new l(e,n)))}class l{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new u(e,this.project,this.concurrent))}}class u extends r.a{constructor(e,t,n=Number.POSITIVE_INFINITY){super(e),this.project=t,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},"51Dv":function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("7o/Q");class r extends i.a{constructor(e,t,n){super(),this.parent=e,this.outerValue=t,this.outerIndex=n,this.index=0}_next(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}_error(e){this.parent.notifyError(e,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}},"57/M":function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n("fXoL");n("B7ZD"),n("wfDa"),n("9lI/"),n("te4A");var r=n("ofXK");let o=(()=>{class e{}return e.\u0275mod=i.Ob({type:e}),e.\u0275inj=i.Nb({factory:function(t){return new(t||e)},providers:[r.f],imports:[[r.c]]}),e})();n("+Brk")},"5hvy":function(e,t,n){var i;e.exports=(i=n("Ib8C"),n("MlIO"),function(e){var t=i,n=t.lib,r=n.WordArray,o=n.Hasher,s=t.x64.Word,a=t.algo,c=[],l=[],u=[];!function(){for(var e=1,t=0,n=0;n<24;n++){c[e+5*t]=(n+1)*(n+2)/2%64;var i=(2*e+3*t)%5;e=t%5,t=i}for(e=0;e<5;e++)for(t=0;t<5;t++)l[e+5*t]=t+(2*e+3*t)%5*5;for(var r=1,o=0;o<24;o++){for(var a=0,d=0,h=0;h<7;h++){if(1&r){var p=(1<>>24)|4278255360&(o<<24|o>>>8),(D=n[r]).high^=s=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),D.low^=o}for(var a=0;a<24;a++){for(var h=0;h<5;h++){for(var p=0,f=0,g=0;g<5;g++)p^=(D=n[h+5*g]).high,f^=D.low;var b=d[h];b.high=p,b.low=f}for(h=0;h<5;h++){var m=d[(h+4)%5],y=d[(h+1)%5],v=y.high,C=y.low;for(p=m.high^(v<<1|C>>>31),f=m.low^(C<<1|v>>>31),g=0;g<5;g++)(D=n[h+5*g]).high^=p,D.low^=f}for(var w=1;w<25;w++){var S=(D=n[w]).high,_=D.low,O=c[w];O<32?(p=S<>>32-O,f=_<>>32-O):(p=_<>>64-O,f=S<>>64-O);var x=d[l[w]];x.high=p,x.low=f}var z=d[0],T=n[0];for(z.high=T.high,z.low=T.low,h=0;h<5;h++)for(g=0;g<5;g++){var k=d[w=h+5*g],P=d[(h+1)%5+5*g],E=d[(h+2)%5+5*g];(D=n[w]).high=k.high^~P.high&E.high,D.low=k.low^~P.low&E.low}var D,M=u[a];(D=n[0]).high^=M.high,D.low^=M.low}},_doFinalize:function(){var t=this._data,n=t.words,i=8*t.sigBytes,o=32*this.blockSize;n[i>>>5]|=1<<24-i%32,n[(e.ceil((i+1)/o)*o>>>5)-1]|=128,t.sigBytes=4*n.length,this._process();for(var s=this._state,a=this.cfg.outputLength/8,c=a/8,l=[],u=0;u>>24)|4278255360&(h<<24|h>>>8),l.push(p=16711935&(p<<8|p>>>24)|4278255360&(p<<24|p>>>8)),l.push(h)}return new r.init(l,a)},clone:function(){for(var e=o.clone.call(this),t=e._state=this._state.slice(0),n=0;n<25;n++)t[n]=t[n].clone();return e}});t.SHA3=o._createHelper(h),t.HmacSHA3=o._createHmacHelper(h)}(Math),i.SHA3)},"5vDB":function(e,t,n){"use strict";n.d(t,"a",function(){return d}),n.d(t,"b",function(){return h});var i=n("mrSG"),r=n("/KA4"),o=n("cH1L"),s=n("ofXK"),a=n("pdGh"),c=n("fXoL");function l(e,t){if(1&e&&(c.Ub(0),c.Sc(1),c.Tb()),2&e){const e=c.oc(2);c.Cb(1),c.Tc(e.nzText)}}function u(e,t){if(1&e&&(c.Wb(0,"span",1),c.Qc(1,l,2,1,"ng-container",2),c.Vb()),2&e){const e=c.oc();c.Cb(1),c.wc("nzStringTemplateOutlet",e.nzText)}}let d=(()=>{class e{constructor(e){this.elementRef=e,this.nzType="horizontal",this.nzOrientation="center",this.nzDashed=!1,this.nzPlain=!1,this.elementRef.nativeElement.classList.add("ant-divider")}}return e.\u0275fac=function(t){return new(t||e)(c.Qb(c.l))},e.\u0275cmp=c.Kb({type:e,selectors:[["nz-divider"]],hostVars:16,hostBindings:function(e,t){2&e&&c.Ib("ant-divider-horizontal","horizontal"===t.nzType)("ant-divider-vertical","vertical"===t.nzType)("ant-divider-with-text",t.nzText)("ant-divider-plain",t.nzPlain)("ant-divider-with-text-left",t.nzText&&"left"===t.nzOrientation)("ant-divider-with-text-right",t.nzText&&"right"===t.nzOrientation)("ant-divider-with-text-center",t.nzText&&"center"===t.nzOrientation)("ant-divider-dashed",t.nzDashed)},inputs:{nzType:"nzType",nzOrientation:"nzOrientation",nzDashed:"nzDashed",nzPlain:"nzPlain",nzText:"nzText"},exportAs:["nzDivider"],decls:1,vars:1,consts:[["class","ant-divider-inner-text",4,"ngIf"],[1,"ant-divider-inner-text"],[4,"nzStringTemplateOutlet"]],template:function(e,t){1&e&&c.Qc(0,u,2,1,"span",0),2&e&&c.wc("ngIf",t.nzText)},directives:[s.o,a.b],encapsulation:2,changeDetection:0}),Object(i.b)([Object(r.a)(),Object(i.c)("design:type",Object)],e.prototype,"nzDashed",void 0),Object(i.b)([Object(r.a)(),Object(i.c)("design:type",Object)],e.prototype,"nzPlain",void 0),e})(),h=(()=>{class e{}return e.\u0275mod=c.Ob({type:e}),e.\u0275inj=c.Nb({factory:function(t){return new(t||e)},imports:[[o.a,s.c,a.a]]}),e})()},"5voH":function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("mrSG"),r=n("/KA4"),o=n("fXoL");const s=["*"];let a=(()=>{class e{constructor(){this.clsNamePrefix="nd-typography-text_"}ngOnInit(){}get clsNames(){let e=[];return this.ndPrimary?e.push(this.clsNamePrefix+"primary"):this.ndType&&e.push(this.clsNamePrefix+this.ndType),this.ndSize&&e.push(this.clsNamePrefix+this.ndSize),e}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=o.Kb({type:e,selectors:[["nd-typography-text"]],hostVars:12,hostBindings:function(e,t){2&e&&(o.Eb(t.clsNames),o.Ib("nd-typography-text_line-through",t.ndLineThrough)("nd-typography-text_strong",t.ndStrong)("nd-typography-text_block",t.ndBlock)("nd-typography-text_bracketed",t.ndBracketed)("nd-typography-text_reactive",t.ndReactive))},inputs:{ndSize:"ndSize",ndType:"ndType",ndPrimary:"ndPrimary",ndLineThrough:"ndLineThrough",ndStrong:"ndStrong",ndBlock:"ndBlock",ndBracketed:"ndBracketed",ndReactive:"ndReactive"},ngContentSelectors:s,decls:1,vars:0,template:function(e,t){1&e&&(o.vc(),o.uc(0))},styles:['@charset "UTF-8";.nd-typography-text_small{font-size:12px;line-height:20px}.nd-typography-text_base{font-size:14px;line-height:22px}.nd-typography-text_large{font-size:16px;line-height:24px}.nd-typography-text_line-through{text-decoration:line-through}.nd-typography-text_secondary{color:#9ca2b4}.nd-typography-text_primary{color:#f32a4e}.nd-typography-text_success{color:#36b889}.nd-typography-text_warning{color:#f90}.nd-typography-text_error{color:#bc1a1a}.nd-typography-text_strong{font-weight:700}.nd-typography-text_block{display:block}.nd-typography-text_bracketed:before{content:"("}.nd-typography-text_bracketed:after{content:")"}:root[lang^=zh] .nd-typography-text_bracketed:before{content:"\uff08"}:root[lang^=zh] .nd-typography-text_bracketed:after{content:"\uff09"}.nd-typography-text_reactive{cursor:pointer;border-bottom:1px dotted}@media print{.nd-typography-text_reactive{border-bottom:none!important}}.nd-emulate-print .nd-typography-text_reactive{border-bottom:none!important}'],encapsulation:2,changeDetection:0}),Object(i.b)([Object(r.a)(),Object(i.c)("design:type",Object)],e.prototype,"ndPrimary",void 0),Object(i.b)([Object(r.a)(),Object(i.c)("design:type",Object)],e.prototype,"ndLineThrough",void 0),Object(i.b)([Object(r.a)(),Object(i.c)("design:type",Object)],e.prototype,"ndStrong",void 0),Object(i.b)([Object(r.a)(),Object(i.c)("design:type",Object)],e.prototype,"ndBlock",void 0),Object(i.b)([Object(r.a)(),Object(i.c)("design:type",Object)],e.prototype,"ndBracketed",void 0),Object(i.b)([Object(r.a)(),Object(i.c)("design:type",Object)],e.prototype,"ndReactive",void 0),e})()},"6PmW":function(e,t,n){"use strict";n.d(t,"a",function(){return le});var i=n("ofXK"),r=n("3Pt+"),o=n("tyNb"),s=n("SKKP"),a=n("OzZK"),c=n("TaO5"),l=n("2Suw"),u=n("YF2q"),d=n("pdGh"),h=n("0lU3"),p=n("5vDB"),f=n("ocnv"),g=n("B+r4"),b=n("FwiY"),m=n("PTRe"),y=n("fXoL"),v=(n("mrSG"),n("/KA4"),n("XNiG"),n("NXyV"),n("LRne"),n("VRyK"),n("2Vo4"),n("IzEk"),n("eIep"),n("1G5W"),n("cH1L")),C=n("nLfN");let w=(()=>{class e{}return e.\u0275mod=y.Ob({type:e}),e.\u0275inj=y.Nb({factory:function(t){return new(t||e)},imports:[[v.a,i.c,b.b,C.b]]}),e})();var S=n("QlLE");n("jtHE"),n("PqYM"),n("JX91"),n("/uUt"),n("l7GE"),n("ZUHj");var _=n("GU7r");let O=(()=>{class e{}return e.\u0275mod=y.Ob({type:e}),e.\u0275inj=y.Nb({factory:function(t){return new(t||e)},imports:[[v.a,i.c,_.b]]}),e})(),x=(()=>{class e{}return e.\u0275mod=y.Ob({type:e}),e.\u0275inj=y.Nb({factory:function(t){return new(t||e)},imports:[[v.a,i.c,O,g.b,w,d.a,S.c]]}),e})();var z=n("Q8cG"),T=n("PScX"),k=n("dEAy"),P=n("KupA"),E=n("+oEP"),D=n("zAKX"),M=n("OtHt"),I=n("3rB1"),A=n("cuYk"),R=n("Xy/U");n("aew6");let j=(()=>{class e{}return e.\u0275mod=y.Ob({type:e}),e.\u0275inj=y.Nb({factory:function(t){return new(t||e)},imports:[[i.c,b.b,E.b,g.b]]}),e})();var V=n("rDax");n("yu7t");let L=(()=>{class e{}return e.\u0275mod=y.Ob({type:e}),e.\u0275inj=y.Nb({factory:function(t){return new(t||e)},imports:[[i.c,h.b,V.f,r.k]]}),e})();var N=n("NJZU"),F=n("57/M"),B=n("Nqz0"),W=n("bNXi"),H=n("4xsP"),U=n("nJia"),$=n("eHCX");n("l9o/");let Q=(()=>{class e{}return e.\u0275mod=y.Ob({type:e}),e.\u0275inj=y.Nb({factory:function(t){return new(t||e)},imports:[[i.c]]}),e})();var G=n("GYQ8");n("U8d7"),n("5voH");var Y=n("Tnpf");let K=(()=>{class e{}return e.\u0275mod=y.Ob({type:e}),e.\u0275inj=y.Nb({factory:function(t){return new(t||e)},providers:[i.d],imports:[[i.c,Y.a]]}),e})();var X=n("GSp9"),q=n("qf9Q");let J=(()=>{class e{}return e.\u0275mod=y.Ob({type:e}),e.\u0275inj=y.Nb({factory:function(t){return new(t||e)},imports:[[i.c,r.k,V.f,o.k,X.a,G.a,q.a,F.a,A.a,Y.a,K,a.c,D.d,k.d,H.c,$.b,g.b,U.b]]}),e})();var Z=n("K9Ic"),ee=n("kAy/"),te=n("KYnA"),ne=n("Wfee");let ie=(()=>{class e{}return e.\u0275mod=y.Ob({type:e}),e.\u0275inj=y.Nb({factory:function(t){return new(t||e)},imports:[[i.c,r.k,f.e,o.k,A.a,Z.a,te.a,Q,a.c,m.d,c.b,ne.b]]}),e})();var re=n("mP9+");n("rc96"),n("oZ7g"),n("tb4M"),n("SjsC"),n("moCM"),n("jJa6"),n("BpXt"),n("C2AL"),n("B7ZD"),n("TlLR");var oe=n("9rm2"),se=n("Etcd");let ae=(()=>{class e{}return e.\u0275mod=y.Ob({type:e}),e.\u0275inj=y.Nb({factory:function(t){return new(t||e)},imports:[[i.c,o.k,r.k,f.e,a.c,T.d,k.d,oe.a,se.c,E.b,m.d,te.a,F.a,J,ne.b]]}),e})();n("nDcz"),n("a8Jl"),n("FCoD");const ce={message:{nzTop:74},notification:{nzTop:74}};let le=(()=>{class e{}return e.\u0275mod=y.Ob({type:e}),e.\u0275inj=y.Nb({factory:function(t){return new(t||e)},providers:[{provide:l.a,useValue:ce}],imports:[[o.k,r.t,i.c,r.k,b.b,z.e,E.b,f.e,m.d,g.b,a.c,c.b,p.b,x,D.d,s.b,h.b,u.b,k.d,T.d,U.b,P.b,$.b,S.c,H.c,M.b,W.a,B.c,I.a,F.a,A.a,R.b,L,d.a,j,N.b,q.a,J,ee.a,Q,Z.a,ie,re.a,Y.a,ae]]}),e})()},"7+OI":function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("HDdC");function r(e){return!!e&&(e instanceof i.a||"function"==typeof e.lift&&"function"==typeof e.subscribe)}},"79xS":function(e,t,n){"use strict";n.d(t,"a",function(){return s}),n.d(t,"b",function(){return c}),n.d(t,"c",function(){return l});var i=n("fXoL"),r=n("OySI");const o={},s="[NG-ZORRO]:";function a(e,...t){(r.a.isTestMode||Object(i.X)()&&function(...e){const t=e.reduce((e,t)=>e+t.toString(),"");return!o[t]&&(o[t]=!0,!0)}(...t))&&e(...t)}const c=(...e)=>a((...e)=>console.warn(s,...e),...e),l=(...e)=>{if(r.a.isTestMode)return()=>{};{const t=(new Error).stack;return a((...e)=>console.warn(s,"deprecated:",...e,t),...e)}}},"7o/Q":function(e,t,n){"use strict";n.d(t,"a",function(){return l});var i=n("n6bG"),r=n("gRHU"),o=n("quSY"),s=n("2QA8"),a=n("2fFW"),c=n("NJ4a");class l extends o.a{constructor(e,t,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=r.a;break;case 1:if(!e){this.destination=r.a;break}if("object"==typeof e){e instanceof l?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new u(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new u(this,e,t,n)}}[s.a](){return this}static create(e,t,n){const i=new l(e,t,n);return i.syncErrorThrowable=!1,i}next(e){this.isStopped||this._next(e)}error(e){this.isStopped||(this.isStopped=!0,this._error(e))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(e){this.destination.next(e)}_error(e){this.destination.error(e),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:e}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}class u extends l{constructor(e,t,n,o){let s;super(),this._parentSubscriber=e;let a=this;Object(i.a)(t)?s=t:t&&(s=t.next,n=t.error,o=t.complete,t!==r.a&&(a=Object.create(t),Object(i.a)(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this))),this._context=a,this._next=s,this._error=n,this._complete=o}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;a.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}error(e){if(!this.isStopped){const{_parentSubscriber:t}=this,{useDeprecatedSynchronousErrorHandling:n}=a.a;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):Object(c.a)(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;Object(c.a)(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const t=()=>this._complete.call(this._context);a.a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),a.a.useDeprecatedSynchronousErrorHandling)throw n;Object(c.a)(n)}}__tryOrSetError(e,t,n){if(!a.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(i){return a.a.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=i,e.syncErrorThrown=!0,!0):(Object(c.a)(i),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}},"8LU1":function(e,t,n){"use strict";n.d(t,"a",function(){return s}),n.d(t,"b",function(){return a}),n.d(t,"c",function(){return r}),n.d(t,"d",function(){return c}),n.d(t,"e",function(){return l}),n.d(t,"f",function(){return o});var i=n("fXoL");function r(e){return null!=e&&"false"!=`${e}`}function o(e,t=0){return s(e)?Number(e):t}function s(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function a(e){return Array.isArray(e)?e:[e]}function c(e){return null==e?"":"string"==typeof e?e:`${e}px`}function l(e){return e instanceof i.l?e.nativeElement:e}},"8ND1":function(e,t,n){var i,r,o;!function(s){if("object"==typeof e.exports){var a=s(0,t);void 0!==a&&(e.exports=a)}else r=[n,t],void 0===(o="function"==typeof(i=s)?i.apply(t,r):i)||(e.exports=o)}(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=void 0;t.default=["ar-AE",[["\u0635","\u0645"],n,n],[["\u0635","\u0645"],n,["\u0635\u0628\u0627\u062d\u064b\u0627","\u0645\u0633\u0627\u0621\u064b"]],[["\u062d","\u0646","\u062b","\u0631","\u062e","\u062c","\u0633"],["\u0627\u0644\u0623\u062d\u062f","\u0627\u0644\u0627\u062b\u0646\u064a\u0646","\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621","\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621","\u0627\u0644\u062e\u0645\u064a\u0633","\u0627\u0644\u062c\u0645\u0639\u0629","\u0627\u0644\u0633\u0628\u062a"],n,["\u0623\u062d\u062f","\u0625\u062b\u0646\u064a\u0646","\u062b\u0644\u0627\u062b\u0627\u0621","\u0623\u0631\u0628\u0639\u0627\u0621","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639\u0629","\u0633\u0628\u062a"]],n,[["\u064a","\u0641","\u0645","\u0623","\u0648","\u0646","\u0644","\u063a","\u0633","\u0643","\u0628","\u062f"],["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"],n],n,[["\u0642.\u0645","\u0645"],n,["\u0642\u0628\u0644 \u0627\u0644\u0645\u064a\u0644\u0627\u062f","\u0645\u064a\u0644\u0627\u062f\u064a"]],6,[5,6],["d\u200f/M\u200f/y","dd\u200f/MM\u200f/y","d MMMM y","EEEE\u060c d MMMM y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1} {0}",n,n,n],[".",",",";","\u200e%\u200e","\u200e+","\u200e-","E","\xd7","\u2030","\u221e","\u0644\u064a\u0633\xa0\u0631\u0642\u0645\u064b\u0627",":"],["#,##0.###","#,##0%","\xa4\xa0#,##0.00","#E0"],"AED","\u062f.\u0625.\u200f","\u062f\u0631\u0647\u0645 \u0625\u0645\u0627\u0631\u0627\u062a\u064a",{AED:["\u062f.\u0625.\u200f"],ARS:[n,"AR$"],AUD:["AU$"],BBD:[n,"BB$"],BHD:["\u062f.\u0628.\u200f"],BMD:[n,"BM$"],BSD:[n,"BS$"],BZD:[n,"BZ$"],CAD:["CA$"],CLP:[n,"CL$"],CNY:["CN\xa5"],COP:[n,"CO$"],CUP:[n,"CU$"],DOP:[n,"DO$"],DZD:["\u062f.\u062c.\u200f"],EGP:["\u062c.\u0645.\u200f","E\xa3"],FJD:[n,"FJ$"],GBP:["UK\xa3"],GYD:[n,"GY$"],HKD:["HK$"],IQD:["\u062f.\u0639.\u200f"],IRR:["\u0631.\u0625."],JMD:[n,"JM$"],JOD:["\u062f.\u0623.\u200f"],JPY:["JP\xa5"],KWD:["\u062f.\u0643.\u200f"],KYD:[n,"KY$"],LBP:["\u0644.\u0644.\u200f","L\xa3"],LRD:[n,"$LR"],LYD:["\u062f.\u0644.\u200f"],MAD:["\u062f.\u0645.\u200f"],MRU:["\u0623.\u0645."],MXN:["MX$"],NZD:["NZ$"],OMR:["\u0631.\u0639.\u200f"],QAR:["\u0631.\u0642.\u200f"],SAR:["\u0631.\u0633.\u200f"],SBD:[n,"SB$"],SDD:["\u062f.\u0633.\u200f"],SDG:["\u062c.\u0633."],SRD:[n,"SR$"],SYP:["\u0644.\u0633.\u200f","\xa3"],THB:["\u0e3f"],TND:["\u062f.\u062a.\u200f"],TTD:[n,"TT$"],TWD:["NT$"],USD:["US$"],UYU:[n,"UY$"],XXX:["***"],YER:["\u0631.\u064a.\u200f"]},"rtl",function(e){return 0===e?0:1===e?1:2===e?2:e%100===Math.floor(e%100)&&e%100>=3&&e%100<=10?3:e%100===Math.floor(e%100)&&e%100>=11&&e%100<=99?4:5}]})},"8mR2":function(e,t,n){"use strict";n.d(t,"a",function(){return i});class i{constructor(e,t){this.sender=e,this.data=t}}},"9/EM":function(e,t,n){"use strict";n.d(t,"a",function(){return s});var i=n("/h9T"),r=n("/Tr7"),o=n("jIYg");function s(e,t){Object(o.a)(2,arguments);var n=Object(r.a)(e),s=Object(i.a)(t);return isNaN(s)?new Date(NaN):s?(n.setDate(n.getDate()+s),n):n}},"9OqN":function(e,t,n){var i,r,o;e.exports=(o=n("Ib8C"),n("OLod"),o.mode.CTR=(r=(i=o.lib.BlockCipherMode.extend()).Encryptor=i.extend({processBlock:function(e,t){var n=this._cipher,i=n.blockSize,r=this._iv,o=this._counter;r&&(o=this._counter=r.slice(0),this._iv=void 0);var s=o.slice(0);n.encryptBlock(s,0),o[i-1]=o[i-1]+1|0;for(var a=0;a{class e{constructor(e){this.datePipe=e}transform(e,t=i.f.DEFAULT_DATE_TIME_FORMAT){let n=new Date(e);return n=i.f.addServerOffset(n),this.datePipe.transform(n,t)}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(o.f))},e.\u0275pipe=r.Pb({name:"ndDate",type:e,pure:!0}),e})()},"9ppp":function(e,t,n){"use strict";n.d(t,"a",function(){return i});const i=(()=>{function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e})()},"9rm2":function(e,t,n){"use strict";n.d(t,"a",function(){return c});var i=n("ofXK"),r=n("tk/3"),o=n("fXoL"),s=n("kAy/"),a=n("lR5k");n("iPdJ");let c=(()=>{class e{}return e.\u0275mod=o.Ob({type:e}),e.\u0275inj=o.Nb({factory:function(t){return new(t||e)},imports:[[a.b.forRoot({loader:r.c,sanitize:o.K.NONE}),i.c,s.a],a.b]}),e})()},"9uaG":function(e,t,n){"use strict";n.d(t,"a",function(){return g});var i=n("fXoL"),r=n("B7ZD"),o=n("wfDa"),s=n("3Pt+"),a=n("PTRe"),c=n("ofXK"),l=n("zAKX");function u(e,t){if(1&e&&(i.Wb(0,"nz-option",7),i.Sc(1),i.Vb()),2&e){const e=t.$implicit;i.wc("nzValue",e)("nzLabel","+"+e.prefix),i.Cb(1),i.Vc("\n +",e.prefix," ",e.name,"\n ")}}const d=function(){return{standalone:!0}};function h(e,t){if(1&e){const e=i.Xb();i.Wb(0,"nz-select",5),i.lc("ngModelChange",function(t){return i.Hc(e),i.oc(2).countryInfo=t})("ngModelChange",function(){return i.Hc(e),i.oc(2).onPhoneNumberPrefixChange()}),i.Sc(1,"\n "),i.Qc(2,u,2,4,"nz-option",6),i.Sc(3,"\n "),i.Vb()}if(2&e){const e=i.oc(2);i.wc("ngModel",e.countryInfo)("ngModelOptions",i.Ac(6,d))("nzFilterOption",e.countryDataFilter)("nzDisabled",e._isDisabled||e.ndCountryCode)("nzDropdownMatchSelectWidth",!1),i.Cb(2),i.wc("ngForOf",e.phonePrefixData)}}function p(e,t){if(1&e&&(i.Wb(0,"span"),i.Sc(1),i.Vb()),2&e){const e=i.oc(2);i.Cb(1),i.Uc("+",e.countryInfo.prefix," ")}}function f(e,t){if(1&e&&(i.Sc(0,"\n "),i.Wb(1,"div"),i.Sc(2,"\n "),i.Qc(3,h,4,7,"nz-select",3),i.Sc(4,"\n "),i.Qc(5,p,2,1,"span",4),i.Sc(6,"\n "),i.Vb(),i.Sc(7,"\n ")),2&e){const e=i.oc();i.Cb(3),i.wc("ngIf",!e.ndCountryCode),i.Cb(2),i.wc("ngIf",e.ndCountryCode&&e.countryInfo)}}let g=(()=>{class e{constructor(e,t){this.control=e,this.localeId=t,this.ndPlaceholder="",this.ndEnableAreaCode=!0,this._phoneNumber=null,this.propagateChange=e=>{},this.propagateTouch=e=>{},this.countryData=[],this.phonePrefixData=[],e&&!e.valueAccessor&&(this.control.valueAccessor=this),this.countryData=o.a,this.localeId===r.d.zh_CN&&this.countryData.map(e=>{e.name=e.name_cn})}writeValue(e){if(!this.ndEnableAreaCode)return void(this._phoneNumber=e);let t=null;"string"==typeof e&&/^\+\d+\-\d*/.test(e)?([t,this._phoneNumber]=e.slice(1).split("-"),this._phoneNumber=this._phoneNumber||null):this._phoneNumber=e||null,this.countryInfo=this.ndCountryCode?this.countryData.find(e=>e.code===this.ndCountryCode):t&&this.countryData.find(e=>e.prefix===t)}registerOnChange(e){this.propagateChange=e}registerOnTouched(e){this.propagateTouch=e}setDisabledState(e){this._isDisabled=e}onPhoneNumberPrefixChange(){this._phoneNumber&&this.onPhoneNumberChange()}onPhoneNumberChange(){var e;let t=this._phoneNumber;(null===(e=this.countryInfo)||void 0===e?void 0:e.prefix)&&(t=`+${this.countryInfo.prefix}-${t}`),this.propagateChange(t),this.propagateTouch(null)}ngOnInit(){const e=new Set;this.phonePrefixData=this.countryData.filter(t=>!!t.prefix&&!e.has(t.prefix)&&(e.add(t.prefix),!0)).sort((e,t)=>e.prefix>t.prefix?1:-1)}countryDataFilter(e,t){var n;if(e&&e.trim().length>0){const i=e.trim().toLowerCase().replace("+","\\+"),r=t.nzValue;return r.code.toLowerCase().search(i)>=0||(null===(n=r.prefix)||void 0===n?void 0:n.search(i))>=0||r.name.toLowerCase().search(i)>=0}return!0}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(s.n,10),i.Qb(i.v))},e.\u0275cmp=i.Kb({type:e,selectors:[["nd-input-phone"]],inputs:{ndPlaceholder:"ndPlaceholder",ndCountryCode:"ndCountryCode",ndEnableAreaCode:"ndEnableAreaCode"},decls:8,vars:6,consts:function(){let e;return e="Area Code",[[3,"nzAddOnBefore"],["addOnBeforeTemplate",""],["nz-input","",1,"nd-input-phone__input",3,"ngModel","ngModelOptions","placeholder","disabled","ngModelChange"],["nzShowSearch","","nzPlaceHolder",e,"nzAllowClear","","nzBorderless","","style","min-width: 66px;","class","nd-input-phone__prefix",3,"ngModel","ngModelOptions","nzFilterOption","nzDisabled","nzDropdownMatchSelectWidth","ngModelChange",4,"ngIf"],[4,"ngIf"],["nzShowSearch","","nzPlaceHolder",e,"nzAllowClear","","nzBorderless","",1,"nd-input-phone__prefix",2,"min-width","66px",3,"ngModel","ngModelOptions","nzFilterOption","nzDisabled","nzDropdownMatchSelectWidth","ngModelChange"],["nzCustomContent","",3,"nzValue","nzLabel",4,"ngFor","ngForOf"],["nzCustomContent","",3,"nzValue","nzLabel"]]},template:function(e,t){if(1&e&&(i.Sc(0," "),i.Wb(1,"nz-input-group",0),i.Sc(2,"\n "),i.Qc(3,f,8,2,"ng-template",null,1,i.Rc),i.Sc(5,"\n "),i.Wb(6,"input",2),i.lc("ngModelChange",function(e){return t._phoneNumber=e})("ngModelChange",function(){return t.onPhoneNumberChange()}),i.Vb(),i.Sc(7,"\n "),i.Vb()),2&e){const e=i.Ec(4);i.Cb(1),i.wc("nzAddOnBefore",t.ndEnableAreaCode&&e),i.Cb(5),i.wc("ngModel",t._phoneNumber)("ngModelOptions",i.Ac(5,d))("placeholder",t.ndPlaceholder)("disabled",t._isDisabled)}},directives:[a.c,a.b,s.d,s.o,s.r,c.o,l.c,c.n,l.a],styles:["\n nd-input-phone .ant-input-group-addon {\n position: relative;\n background-color: white;\n }\n nd-input-phone .ant-input-group-addon + .ant-input {\n border-left-color: transparent;\n }\n nd-input-phone .ant-input-group-addon > ::after {\n content: '';\n height: 60%;\n border-right: 1px solid #dad8d8;\n position: absolute;\n right: 0;\n top: 20%;\n }\n "],encapsulation:2}),e})()},AF4N:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n("/Tr7"),r=n("jIYg");function o(e,t){Object(r.a)(2,arguments);var n=Object(i.a)(e),o=Object(i.a)(t);return n.getFullYear()-o.getFullYear()}},ALsQ:function(e,t,n){var i;e.exports=(i=n("Ib8C"),n("OLod"),i.mode.CFB=function(){var e=i.lib.BlockCipherMode.extend();function t(e,t,n,i){var r=this._iv;if(r){var o=r.slice(0);this._iv=void 0}else o=this._prevBlock;i.encryptBlock(o,0);for(var s=0;s27&&c.setDate(30),c.setMonth(c.getMonth()-u*d);var h=Object(o.a)(c,l)===-u;Object(a.a)(Object(i.a)(e))&&1===d&&1===Object(o.a)(e,l)&&(h=!1),n=u*(d-Number(h))}return 0===n?0:n}},"B+r4":function(e,t,n){"use strict";n.d(t,"a",function(){return f}),n.d(t,"b",function(){return g}),n.d(t,"c",function(){return p});var i=n("cH1L"),r=n("0MNC"),o=n("nLfN"),s=n("JwMs"),a=n("jtHE"),c=n("XNiG"),l=n("1G5W"),u=n("/KA4"),d=n("ofXK"),h=n("fXoL");let p=(()=>{class e{constructor(e,t,n,i,r,o,s){this.elementRef=e,this.renderer=t,this.mediaMatcher=n,this.ngZone=i,this.platform=r,this.breakpointService=o,this.directionality=s,this.nzAlign=null,this.nzJustify=null,this.nzGutter=null,this.actualGutter$=new a.a(1),this.dir="ltr",this.destroy$=new c.a,this.elementRef.nativeElement.classList.add("ant-row")}getGutter(){const e=[null,null],t=this.nzGutter||0;return(Array.isArray(t)?t:[t,null]).forEach((t,n)=>{"object"==typeof t&&null!==t?(e[n]=null,Object.keys(s.g).map(i=>{const r=i;this.mediaMatcher.matchMedia(s.g[r]).matches&&t[r]&&(e[n]=t[r])})):e[n]=Number(t)||null}),e}setGutterStyle(){const[e,t]=this.getGutter();this.actualGutter$.next([e,t]);const n=(e,t)=>{null!==t&&this.renderer.setStyle(this.elementRef.nativeElement,e,`-${t/2}px`)};n("margin-left",e),n("margin-right",e),n("margin-top",t),n("margin-bottom",t)}ngOnInit(){var e;this.dir=this.directionality.value,null===(e=this.directionality.change)||void 0===e||e.pipe(Object(l.a)(this.destroy$)).subscribe(e=>{this.dir=e}),this.setGutterStyle()}ngOnChanges(e){e.nzGutter&&this.setGutterStyle()}ngAfterViewInit(){this.platform.isBrowser&&this.breakpointService.subscribe(s.g).pipe(Object(l.a)(this.destroy$)).subscribe(()=>{this.setGutterStyle()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(h.Qb(h.l),h.Qb(h.G),h.Qb(r.b),h.Qb(h.B),h.Qb(o.a),h.Qb(s.b),h.Qb(i.c,8))},e.\u0275dir=h.Lb({type:e,selectors:[["","nz-row",""],["nz-row"],["nz-form-item"]],hostVars:18,hostBindings:function(e,t){2&e&&h.Ib("ant-row-top","top"===t.nzAlign)("ant-row-middle","middle"===t.nzAlign)("ant-row-bottom","bottom"===t.nzAlign)("ant-row-start","start"===t.nzJustify)("ant-row-end","end"===t.nzJustify)("ant-row-center","center"===t.nzJustify)("ant-row-space-around","space-around"===t.nzJustify)("ant-row-space-between","space-between"===t.nzJustify)("ant-row-rtl","rtl"===t.dir)},inputs:{nzAlign:"nzAlign",nzJustify:"nzJustify",nzGutter:"nzGutter"},exportAs:["nzRow"],features:[h.Ab]}),e})(),f=(()=>{class e{constructor(e,t,n,i){this.elementRef=e,this.nzRowDirective=t,this.renderer=n,this.directionality=i,this.classMap={},this.destroy$=new c.a,this.hostFlexStyle=null,this.dir="ltr",this.nzFlex=null,this.nzSpan=null,this.nzOrder=null,this.nzOffset=null,this.nzPush=null,this.nzPull=null,this.nzXs=null,this.nzSm=null,this.nzMd=null,this.nzLg=null,this.nzXl=null,this.nzXXl=null}setHostClassMap(){const e=Object.assign({"ant-col":!0,[`ant-col-${this.nzSpan}`]:Object(u.h)(this.nzSpan),[`ant-col-order-${this.nzOrder}`]:Object(u.h)(this.nzOrder),[`ant-col-offset-${this.nzOffset}`]:Object(u.h)(this.nzOffset),[`ant-col-pull-${this.nzPull}`]:Object(u.h)(this.nzPull),[`ant-col-push-${this.nzPush}`]:Object(u.h)(this.nzPush),"ant-col-rtl":"rtl"===this.dir},this.generateClass());for(const t in this.classMap)this.classMap.hasOwnProperty(t)&&this.renderer.removeClass(this.elementRef.nativeElement,t);this.classMap=Object.assign({},e);for(const t in this.classMap)this.classMap.hasOwnProperty(t)&&this.classMap[t]&&this.renderer.addClass(this.elementRef.nativeElement,t)}setHostFlexStyle(){this.hostFlexStyle=this.parseFlex(this.nzFlex)}parseFlex(e){return"number"==typeof e?`${e} ${e} auto`:"string"==typeof e&&/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?`0 0 ${e}`:e}generateClass(){const e={};return["nzXs","nzSm","nzMd","nzLg","nzXl","nzXXl"].forEach(t=>{const n=t.replace("nz","").toLowerCase();if(Object(u.h)(this[t]))if("number"==typeof this[t]||"string"==typeof this[t])e[`ant-col-${n}-${this[t]}`]=!0;else{const i=this[t];["span","pull","push","offset","order"].forEach(t=>{e[`ant-col-${n}${"span"===t?"-":`-${t}-`}${i[t]}`]=i&&Object(u.h)(i[t])})}}),e}ngOnInit(){this.dir=this.directionality.value,this.directionality.change.pipe(Object(l.a)(this.destroy$)).subscribe(e=>{this.dir=e,this.setHostClassMap()}),this.setHostClassMap(),this.setHostFlexStyle()}ngOnChanges(e){this.setHostClassMap();const{nzFlex:t}=e;t&&this.setHostFlexStyle()}ngAfterViewInit(){this.nzRowDirective&&this.nzRowDirective.actualGutter$.pipe(Object(l.a)(this.destroy$)).subscribe(([e,t])=>{const n=(e,t)=>{null!==t&&this.renderer.setStyle(this.elementRef.nativeElement,e,t/2+"px")};n("padding-left",e),n("padding-right",e),n("padding-top",t),n("padding-bottom",t)})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(h.Qb(h.l),h.Qb(p,9),h.Qb(h.G),h.Qb(i.c,8))},e.\u0275dir=h.Lb({type:e,selectors:[["","nz-col",""],["nz-col"],["nz-form-control"],["nz-form-label"]],hostVars:2,hostBindings:function(e,t){2&e&&h.Nc("flex",t.hostFlexStyle)},inputs:{nzFlex:"nzFlex",nzSpan:"nzSpan",nzOrder:"nzOrder",nzOffset:"nzOffset",nzPush:"nzPush",nzPull:"nzPull",nzXs:"nzXs",nzSm:"nzSm",nzMd:"nzMd",nzLg:"nzLg",nzXl:"nzXl",nzXXl:"nzXXl"},exportAs:["nzCol"],features:[h.Ab]}),e})(),g=(()=>{class e{}return e.\u0275mod=h.Ob({type:e}),e.\u0275inj=h.Nb({factory:function(t){return new(t||e)},imports:[[i.a,d.c,r.a,o.b]]}),e})()},B7ZD:function(e,t,n){"use strict";n.d(t,"d",function(){return i}),n.d(t,"e",function(){return r}),n.d(t,"a",function(){return s}),n.d(t,"c",function(){return a}),n.d(t,"b",function(){return c});var i=function(e){return e.zh_CN="zh-CN",e._zh_CN="zh_CN",e.en_US="en-US",e._en_US="en_US",e.ja_JP="ja-JP",e._ja_JP="ja_JP",e.th_TH="th-TH",e._th_TH="th_TH",e.ko_KR="ko-KR",e._ko_KR="ko_KR",e.es_ES="es-ES",e._es_ES="es_ES",e.fr_FR="fr-FR",e._fr_FR="fr_FR",e.ru_RU="ru-RU",e._ru_RU="ru_RU",e.id_ID="id-ID",e._id_ID="id_ID",e.ar_AE="ar-AE",e._ar_AE="ar_AE",e}({});function r(e){return e.replace("_","-")}var o=n("BVU9");const s=["zh-CN","en-US","id-ID","ar-AE","ja-JP","es-ES","ko-KR","pt-BR","fr-FR"],a=["zh-CN","ja-JP","ko-KR"],c=[{langCode:"en-US",displayTxt:"English",abbr:"EN",icon:o.a.english},{langCode:"zh-CN",displayTxt:"\u4e2d\u6587",abbr:"\u4e2d\u6587",icon:o.a.chinese},{langCode:"ja-JP",displayTxt:"\u65e5\u672c\u8a9e",abbr:"\u65e5\u672c\u8a9e",icon:o.a.japanese},{langCode:"id-ID",displayTxt:"Bahasa",abbr:"ID",icon:o.a.indonesian},{langCode:"es-ES",displayTxt:"Espa\xf1ol",abbr:"ES",icon:o.a.spanish},{langCode:"ar-AE",displayTxt:"\u0627\u0644\u0639\u0631\u0628\u064a\u0629",abbr:"AR",icon:o.a.arabic},{langCode:"ko-KR",displayTxt:"\ud55c\uad6d\uc5b4",abbr:"KR",icon:o.a.korean},{langCode:"fr-FR",displayTxt:"Fran\xe7ais",abbr:"FR",icon:o.a.french},{langCode:"ru-RU",displayTxt:"\u0420\u0443\u0441\u0441\u043a\u0438\u0439",abbr:"RU",icon:o.a.russian},{langCode:"pt-BR",displayTxt:"Portugu\xeas(Brasil)",abbr:"PT(BR)",icon:o.a.portuguesBr}].reduce((e,t)=>(e.set(t.langCode,t),e),new Map)},BVU9:function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return o});var i=function(e){return e.address="nd:address",e.address2="nd:address2",e.address3="nd:address3",e.airportGroup="nd:airport-group",e.applets="nd:applets",e.arabic="nd:arabic",e.area="nd:area",e.arrowBtn="nd:arrow-btn",e.arrowBtn_active="nd:arrow-btn_active",e.arrowDark="nd:arrow-dark",e.arrowFill="nd:arrow-fill",e.arrowLight="nd:arrow-light",e.arrowNav="nd:arrow-nav",e.arrowRight="nd:arrow-right",e.arrowRight_active="nd:arrow-right_active",e.arrowTop="nd:arrow-top",e.articleArrow="nd:article-arrow",e.baggage="nd:baggage",e.ban="nd:ban",e.bill="nd:bill",e.bill_active="nd:bill_active",e.binaryTreeOuline="nd:binary-tree-ouline",e.businessDistrict="nd:business-district",e.buyerIcon="nd:buyer-icon",e.checkedFill="nd:checked-fill",e.chinese="nd:chinese",e.city="nd:city",e.clean="nd:clean",e.close_active="nd:close_active",e.close_inherit="nd:close_inherit",e.closeFill="nd:close-fill",e.close="nd:close",e.close2="nd:close2",e.close2_active="nd:close2_active",e.collect="nd:collect",e.collect_active="nd:collect_active",e.collect1="nd:collect1",e.collect2="nd:collect2",e.collect2_active="nd:collect2_active",e.collect3="nd:collect3",e.collect3_active="nd:collect3_active",e.collect4="nd:collect4",e.collect5="nd:collect5",e.collect5_active="nd:collect5_active",e.commonProblem="nd:common-problem",e.cut="nd:cut",e.cut_active="nd:cut_active",e.cut_disabled="nd:cut_disabled",e.data="nd:data",e.data_active="nd:data_active",e.data2="nd:data2",e.data2_active="nd:data2_active",e.dateNext="nd:date-next",e.details="nd:details",e.directSign="nd:direct-sign",e.distance="nd:distance",e.edit="nd:edit",e.emptyResult="nd:empty-result",e.english="nd:english",e.envelopeFill="nd:envelope-fill",e.exchange="nd:exchange",e.expandCollapse="nd:expand-collapse",e.expandCollapse_active="nd:expand-collapse_active",e.failure="nd:failure",e.failure1="nd:failure1",e.feedback="nd:feedback",e.feedback_active="nd:feedback_active",e.feedback2="nd:feedback2",e.feedback2_active="nd:feedback2_active",e.fire="nd:fire",e.fire2="nd:fire2",e.fitness="nd:fitness",e.flightBtnMore="nd:flight-btn-more",e.flightClock="nd:flight-clock",e.flightFilterArrow="nd:flight-filter-arrow",e.flightMan="nd:flight-man",e.flightPlane="nd:flight-plane",e.flightSearchPlane="nd:flight-search-plane",e.flightUpload="nd:flight-upload",e.flight="nd:flight",e.floor="nd:floor",e.freeze="nd:freeze",e.french="nd:french",e.frown="nd:frown",e.helpCenterLight_active="nd:help-center-light_active",e.helpCenterLightEn="nd:help-center-light-en",e.helpCenterLightEn_active="nd:help-center-light-en_active",e.helpCenterLight="nd:help-center-light",e.helpLink="nd:help-link",e.historyNext_active="nd:history-next_active",e.historyNext_default="nd:history-next_default",e.hotRouteLeft="nd:hot-route-left",e.hotelBrandBackground="nd:hotel-brand-background",e.hotel="nd:hotel",e.immediate="nd:immediate",e.immediate1="nd:immediate1",e.increase="nd:increase",e.increase_active="nd:increase_active",e.increase_disabled="nd:increase_disabled",e.indonesian="nd:indonesian",e.install="nd:install",e.install_active="nd:install_active",e.invoice="nd:invoice",e.invoice_active="nd:invoice_active",e.japanese="nd:japanese",e.korean="nd:korean",e.light="nd:light",e.LinkedIn="nd:LinkedIn",e.LinkedIn_active="nd:LinkedIn_active",e.localeGeneral="nd:locale-general",e.location="nd:location",e.location_active="nd:location_active",e.location1="nd:location1",e.location1_active="nd:location1_active",e.location10="nd:location10",e.location10_active="nd:location10_active",e.location2="nd:location2",e.location2_active="nd:location2_active",e.location3="nd:location3",e.location3_active="nd:location3_active",e.location4="nd:location4",e.location4_active="nd:location4_active",e.location5="nd:location5",e.location5_active="nd:location5_active",e.location6="nd:location6",e.location6_active="nd:location6_active",e.location7="nd:location7",e.location7_active="nd:location7_active",e.location8="nd:location8",e.location8_active="nd:location8_active",e.location9="nd:location9",e.location9_active="nd:location9_active",e.locking="nd:locking",e.logoEn="nd:logo-en",e.logoRed="nd:logo-red",e.logoWhite="nd:logo-white",e.logoZh="nd:logo-zh",e.loudspeaker="nd:loudspeaker",e.mechanism="nd:mechanism",e.mechanism_active="nd:mechanism_active",e.meetingRoom="nd:meeting-room",e.modalClose="nd:modal-close",e.news="nd:news",e.news_active="nd:news_active",e.news1="nd:news1",e.news2="nd:news2",e.news2_active="nd:news2_active",e.news3="nd:news3",e.news3_active="nd:news3_active",e.news4="nd:news4",e.news4_active="nd:news4_active",e.nextFill="nd:next-fill",e.nextFill_active="nd:next-fill_active",e.nextGary="nd:next-gary",e.nextOutline="nd:next-outline",e.nextOutline_active="nd:next-outline_active",e.noSmoking="nd:no-smoking",e.number="nd:number",e.order="nd:order",e.order_active="nd:order_active",e.parking="nd:parking",e.passengerPlus="nd:passenger-plus",e.passengerReduce="nd:passenger-reduce",e.pause="nd:pause",e.periphery="nd:periphery",e.personalCenter="nd:personal-center",e.personalCenter_active="nd:personal-center_active",e.phone="nd:phone",e.phone_active="nd:phone_active",e.phone1="nd:phone1",e.phone2="nd:phone2",e.phone2_active="nd:phone2_active",e.phone3="nd:phone3",e.pieFill="nd:pie-fill",e.pieOuline="nd:pie-ouline",e.play="nd:play",e.portuguesBr="nd:portugues-br",e.portuguese="nd:portuguese",e.positioning="nd:positioning",e.processing="nd:processing",e.prompt="nd:prompt",e.qq="nd:qq",e.qq_active="nd:qq_active",e.qq2="nd:qq2",e.qq2_active="nd:qq2_active",e.qrcode="nd:qrcode",e.quitOuline="nd:quit-ouline",e.quit="nd:quit",e.quit_active="nd:quit_active",e.quotationLeft="nd:quotation-left",e.quotationRight="nd:quotation-right",e.recommend="nd:recommend",e.remind="nd:remind",e.restaurant="nd:restaurant",e.restaurant2="nd:restaurant2",e.ringOuline="nd:ring-ouline",e.russian="nd:russian",e.sellerIcon="nd:seller-icon",e.share="nd:share",e.shopping="nd:shopping",e.shuttle="nd:shuttle",e.sidebarBacktop="nd:sidebar-backtop",e.sidebarClose="nd:sidebar-close",e.sidebarCollapse="nd:sidebar-collapse",e.sidebarCustom="nd:sidebar-custom",e.sidebarCustomer="nd:sidebar-customer",e.sidebarFavorite="nd:sidebar-favorite",e.sidebarFeedback="nd:sidebar-feedback",e.sidebarHelp="nd:sidebar-help",e.sidebarMsg="nd:sidebar-msg",e.sidebarQq="nd:sidebar-qq",e.sights="nd:sights",e.sights2="nd:sights2",e.sliders="nd:sliders",e.slogon_en="nd:slogon_en",e.slogon_zh="nd:slogon_zh",e.smile="nd:smile",e.spanish="nd:spanish",e.star="nd:star",e.success="nd:success",e.success1="nd:success1",e.swimmingPool="nd:swimming-pool",e.switch="nd:switch",e.timeLimit="nd:time-limit",e.timeLimit1="nd:time-limit1",e.title_l="nd:title_l",e.title_r="nd:title_r",e.tool="nd:tool",e.tool_active="nd:tool_active",e.tool2="nd:tool2",e.tool2_active="nd:tool2_active",e.top="nd:top",e.top_active="nd:top_active",e.top2="nd:top2",e.top2_active="nd:top2_active",e.traffic="nd:traffic",e.upCircle="nd:up-circle",e.url="nd:url",e.userFill="nd:user-fill",e.userOutline="nd:user-outline",e.usericonDark="nd:usericon-dark",e.usericonLight="nd:usericon-light",e.wechat="nd:wechat",e.wechat2="nd:wechat2",e.wechat2_active="nd:wechat2_active",e.wifi="nd:wifi",e.wifi2="nd:wifi2",e.window="nd:window",e.workOrder="nd:work-order",e.workOrder_active="nd:work-order_active",e}({}),r=function(e){return e.active="active",e.inherit="inherit",e.disabled="disabled",e.default="default",e.en="en",e.zh="zh",e.l="l",e.r="r",e}({});const o=new class{constructor(){this.enumMap={},this.statusMap={};for(const e in i)i.hasOwnProperty(e)&&(this.enumMap[i[e]]=e);this.statusMap={active:{"example-1":"example_active"},disabled:{"example-1":"example-1_disabled"}}}getIcon(e,t=r.active){return this.statusMap[t]&&this.statusMap[t][e]?this.statusMap[t][e]:i[this.enumMap[`${e}_${t}`]]||e}}},Bp6I:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("/Tr7"),r=n("AF4N"),o=n("JhOC"),s=n("jIYg");function a(e,t){Object(s.a)(2,arguments);var n=Object(i.a)(e),a=Object(i.a)(t),c=Object(o.a)(n,a),l=Math.abs(Object(r.a)(n,a));n.setFullYear(1584),a.setFullYear(1584);var u=Object(o.a)(n,a)===-c,d=c*(l-Number(u));return 0===d?0:d}},BpXt:function(e,t,n){"use strict";n.d(t,"a",function(){return b});var i=n("fXoL"),r=n("IuoC"),o=n("ofXK"),s=n("pdGh");function a(e,t){if(1&e&&(i.Ub(0),i.Sc(1),i.Tb()),2&e){const e=i.oc(2);i.Cb(1),i.Tc(e.ndTitle)}}function c(e,t){if(1&e&&(i.Wb(0,"div",6),i.Sc(1,"\n "),i.Qc(2,a,2,1,"ng-container",7),i.Sc(3,"\n "),i.uc(4,2),i.Sc(5,"\n "),i.Vb()),2&e){const e=i.oc();i.Cb(2),i.wc("nzStringTemplateOutlet",e.ndTitle)}}function l(e,t){if(1&e&&(i.Ub(0),i.Sc(1),i.Tb()),2&e){const e=i.oc(2);i.Cb(1),i.Tc(e.ndSubTitle)}}function u(e,t){if(1&e&&(i.Wb(0,"div",8),i.Sc(1,"\n "),i.Qc(2,l,2,1,"ng-container",7),i.Sc(3,"\n "),i.uc(4,3),i.Sc(5,"\n "),i.Vb()),2&e){const e=i.oc();i.Cb(2),i.wc("nzStringTemplateOutlet",e.ndSubTitle)}}const d=[[["","nd-result-extra",""]],"*",[["","nd-result-title",""]],[["","nd-result-subtitle",""]]],h=["[nd-result-extra]","*","[nd-result-title]","[nd-result-subtitle]"];let p=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Lb({type:e,selectors:[["div","nd-result-title",""],["nd-result-title"]]}),e})(),f=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Lb({type:e,selectors:[["div","nd-result-subtitle",""],["nd-result-subtitle"]]}),e})(),g=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Lb({type:e,selectors:[["div","nd-result-extra",""],["nd-result-extra"]]}),e})(),b=(()=>{class e{constructor(){this.ndTitle="",this.ndType="empty",this.ndImageUrl="/v2-app/images/hotel/img-rate-not-avail.png"}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Kb({type:e,selectors:[["nd-result"]],contentQueries:function(e,t,n){if(1&e&&(i.Jb(n,p,1),i.Jb(n,f,1),i.Jb(n,g,1)),2&e){let e;i.Dc(e=i.mc())&&(t.contentTitle=e.first),i.Dc(e=i.mc())&&(t.contentSubtitle=e.first),i.Dc(e=i.mc())&&(t.contentExtra=e.first)}},inputs:{ndTitle:"ndTitle",ndSubTitle:"ndSubTitle",ndType:"ndType",ndImageUrl:"ndImageUrl",ndImageSize:"ndImageSize"},ngContentSelectors:h,decls:20,vars:3,consts:[[1,"nd-result"],[1,"nd-result__image",3,"ndSrc"],[1,"nd-result__content"],["class","nd-result__title",4,"ngIf"],["class","nd-result__subtitle",4,"ngIf"],[1,"nd-result__extra"],[1,"nd-result__title"],[4,"nzStringTemplateOutlet"],[1,"nd-result__subtitle"]],template:function(e,t){1&e&&(i.vc(d),i.Sc(0,"\n "),i.Wb(1,"div",0),i.Sc(2,"\n "),i.Rb(3,"nd-image",1),i.Sc(4,"\n "),i.Wb(5,"div",2),i.Sc(6,"\n "),i.Qc(7,c,6,1,"div",3),i.Sc(8,"\n "),i.Qc(9,u,6,1,"div",4),i.Sc(10,"\n "),i.Wb(11,"div",5),i.Sc(12,"\n "),i.uc(13),i.Sc(14,"\n "),i.uc(15,1),i.Sc(16,"\n "),i.Vb(),i.Sc(17,"\n "),i.Vb(),i.Sc(18,"\n "),i.Vb(),i.Sc(19,"\n ")),2&e&&(i.Cb(3),i.wc("ndSrc",t.ndImageUrl),i.Cb(4),i.wc("ngIf",t.ndTitle||t.contentTitle),i.Cb(2),i.wc("ngIf",t.ndSubTitle||t.contentSubtitle))},directives:[r.a,o.o,s.b],styles:[".nd-result[_ngcontent-%COMP%]{text-align:center;margin-bottom:20px}.nd-result__image[_ngcontent-%COMP%]{display:inline-block;width:50%;max-width:300px;margin-bottom:20px}.nd-result__title[_ngcontent-%COMP%]{color:#1f2b4b;font-size:16px;font-weight:700;margin-bottom:8px}.nd-result__subtitle[_ngcontent-%COMP%]{margin-bottom:12px}.nd-result__extra[_ngcontent-%COMP%]{margin-top:20px}"]}),e})()},C2AL:function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return s});var i=n("nLfN"),r=n("fXoL");let o=(()=>{class e{constructor(e,t){this.elementRef=e,this.renderer=t,this.hidden=null,this.renderer.setAttribute(this.elementRef.nativeElement,"hidden","")}setHiddenAttribute(){!0===this.hidden?this.renderer.setAttribute(this.elementRef.nativeElement,"hidden",""):!1===this.hidden||null===this.hidden?this.renderer.removeAttribute(this.elementRef.nativeElement,"hidden"):"string"==typeof this.hidden&&this.renderer.setAttribute(this.elementRef.nativeElement,"hidden",this.hidden)}ngOnChanges(){this.setHiddenAttribute()}ngAfterViewInit(){this.setHiddenAttribute()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.l),r.Qb(r.G))},e.\u0275dir=r.Lb({type:e,selectors:[["","nz-button",""],["nz-button-group"],["","nz-icon",""],["","nz-menu-item",""],["","nz-submenu",""],["nz-select-top-control"],["nz-select-placeholder"],["nz-input-group"]],inputs:{hidden:"hidden"},features:[r.Ab]}),e})(),s=(()=>{class e{}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)},imports:[[i.b]]}),e})()},Cfvw:function(e,t,n){"use strict";n.d(t,"a",function(){return d});var i=n("HDdC"),r=n("SeVD"),o=n("quSY"),s=n("kJWO"),a=n("jZKg"),c=n("Lhse"),l=n("c2HN"),u=n("I55L");function d(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[s.a]}(e))return function(e,t){return new i.a(n=>{const i=new o.a;return i.add(t.schedule(()=>{const r=e[s.a]();i.add(r.subscribe({next(e){i.add(t.schedule(()=>n.next(e)))},error(e){i.add(t.schedule(()=>n.error(e)))},complete(){i.add(t.schedule(()=>n.complete()))}}))})),i})}(e,t);if(Object(l.a)(e))return function(e,t){return new i.a(n=>{const i=new o.a;return i.add(t.schedule(()=>e.then(e=>{i.add(t.schedule(()=>{n.next(e),i.add(t.schedule(()=>n.complete()))}))},e=>{i.add(t.schedule(()=>n.error(e)))}))),i})}(e,t);if(Object(u.a)(e))return Object(a.a)(e,t);if(function(e){return e&&"function"==typeof e[c.a]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new i.a(n=>{const i=new o.a;let r;return i.add(()=>{r&&"function"==typeof r.return&&r.return()}),i.add(t.schedule(()=>{r=e[c.a](),i.add(t.schedule(function(){if(n.closed)return;let e,t;try{const n=r.next();e=n.value,t=n.done}catch(i){return void n.error(i)}t?n.complete():(n.next(e),this.schedule())}))})),i})}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,t):e instanceof i.a?e:new i.a(Object(r.a)(e))}},CqXF:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("7o/Q");function r(e){return t=>t.lift(new o(e))}class o{constructor(e){this.value=e}call(e,t){return t.subscribe(new s(e,this.value))}}class s extends i.a{constructor(e,t){super(e),this.value=t}_next(e){this.destination.next(this.value)}}},Cw5e:function(e,t,n){"use strict";n.d(t,"e",function(){return r}),n.d(t,"a",function(){return o}),n.d(t,"b",function(){return s}),n.d(t,"d",function(){return a}),n.d(t,"c",function(){return c});var i=n("fXoL");let r=(()=>{class e{constructor(){this.className="nd-layout__nav",this.noBoxShadow=!1}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Lb({type:e,selectors:[["nd-layout-nav"]],hostVars:4,hostBindings:function(e,t){2&e&&(i.Eb(t.className),i.Ib("nd-layout__nav_no-box-shadow",t.noBoxShadow))},inputs:{noBoxShadow:"noBoxShadow"}}),e})(),o=(()=>{class e{constructor(e){this.el=e,this.className="nd-layout__aside nd-layout__aside_left"}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.l))},e.\u0275dir=i.Lb({type:e,selectors:[["nd-layout-aside-left"]],hostVars:10,hostBindings:function(e,t){2&e&&(i.Eb(t.className),i.Nc("flex",t.widthPx,"px")("width",t.widthPx,"px")("min-width",t.widthPx,"px")("max-width",t.widthPx,"px"))},inputs:{widthPx:"widthPx"}}),e})(),s=(()=>{class e{constructor(e){this.el=e,this.className="nd-layout__aside nd-layout__aside_right"}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.l))},e.\u0275dir=i.Lb({type:e,selectors:[["nd-layout-aside-right"]],hostVars:4,hostBindings:function(e,t){2&e&&(i.Eb(t.className),i.Nc("flex",t.widthPx,"px"))},inputs:{widthPx:"widthPx"}}),e})(),a=(()=>{class e{constructor(){this.className="nd-layout__footer"}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Lb({type:e,selectors:[["nd-layout-footer"]],hostVars:2,hostBindings:function(e,t){2&e&&i.Eb(t.className)}}),e})(),c=(()=>{class e{constructor(){this.className="nd-layout__container"}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Lb({type:e,selectors:[["nd-layout-container"]],hostVars:4,hostBindings:function(e,t){2&e&&(i.Eb(t.className),i.Ib("nd-layout__container_root",t.ndRoot))},inputs:{ndRoot:"ndRoot"}}),e})()},D0XW:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("3N8a");const r=new(n("IjjT").a)(i.a)},DH7j:function(e,t,n){"use strict";n.d(t,"a",function(){return i});const i=(()=>Array.isArray||(e=>e&&"number"==typeof e.length))()},DX7i:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("/Tr7"),r=n("jIYg");function o(e){Object(r.a)(1,arguments);var t=Object(i.a)(e);return t.setHours(23,59,59,999),t}function s(e){Object(r.a)(1,arguments);var t=Object(i.a)(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}function a(e){Object(r.a)(1,arguments);var t=Object(i.a)(e);return o(t).getTime()===s(t).getTime()}},E4JC:function(e,t,n){var i;e.exports=(i=n("Ib8C"),n("ETIr"),n("cv67"),n("K3mO"),n("OLod"),function(){var e=i,t=e.lib.StreamCipher,n=[],r=[],o=[],s=e.algo.Rabbit=t.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,n=0;n<4;n++)e[n]=16711935&(e[n]<<8|e[n]>>>24)|4278255360&(e[n]<<24|e[n]>>>8);var i=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],r=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];for(this._b=0,n=0;n<4;n++)a.call(this);for(n=0;n<8;n++)r[n]^=i[n+4&7];if(t){var o=t.words,s=o[0],c=o[1],l=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),u=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8),d=l>>>16|4294901760&u,h=u<<16|65535&l;for(r[0]^=l,r[1]^=d,r[2]^=u,r[3]^=h,r[4]^=l,r[5]^=d,r[6]^=u,r[7]^=h,n=0;n<4;n++)a.call(this)}},_doProcessBlock:function(e,t){var i=this._X;a.call(this),n[0]=i[0]^i[5]>>>16^i[3]<<16,n[1]=i[2]^i[7]>>>16^i[5]<<16,n[2]=i[4]^i[1]>>>16^i[7]<<16,n[3]=i[6]^i[3]>>>16^i[1]<<16;for(var r=0;r<4;r++)n[r]=16711935&(n[r]<<8|n[r]>>>24)|4278255360&(n[r]<<24|n[r]>>>8),e[t+r]^=n[r]},blockSize:4,ivSize:2});function a(){for(var e=this._X,t=this._C,n=0;n<8;n++)r[n]=t[n];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0,n=0;n<8;n++){var i=e[n]+t[n],s=65535&i,a=i>>>16;o[n]=((s*s>>>17)+s*a>>>15)+a*a^((4294901760&i)*i|0)+((65535&i)*i|0)}e[0]=o[0]+(o[7]<<16|o[7]>>>16)+(o[6]<<16|o[6]>>>16)|0,e[1]=o[1]+(o[0]<<8|o[0]>>>24)+o[7]|0,e[2]=o[2]+(o[1]<<16|o[1]>>>16)+(o[0]<<16|o[0]>>>16)|0,e[3]=o[3]+(o[2]<<8|o[2]>>>24)+o[1]|0,e[4]=o[4]+(o[3]<<16|o[3]>>>16)+(o[2]<<16|o[2]>>>16)|0,e[5]=o[5]+(o[4]<<8|o[4]>>>24)+o[3]|0,e[6]=o[6]+(o[5]<<16|o[5]>>>16)+(o[4]<<16|o[4]>>>16)|0,e[7]=o[7]+(o[6]<<8|o[6]>>>24)+o[5]|0}e.Rabbit=t._createHelper(s)}(),i.Rabbit)},ELcG:function(e,t,n){var i;e.exports=(i=n("Ib8C"),function(e){var t=i,n=t.lib,r=n.WordArray,o=n.Hasher,s=t.algo,a=r.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),c=r.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),l=r.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),u=r.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),d=r.create([0,1518500249,1859775393,2400959708,2840853838]),h=r.create([1352829926,1548603684,1836072691,2053994217,0]),p=s.RIPEMD160=o.extend({_doReset:function(){this._hash=r.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var i=t+n,r=e[i];e[i]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8)}var o,s,p,C,w,S,_,O,x,z,T,k=this._hash.words,P=d.words,E=h.words,D=a.words,M=c.words,I=l.words,A=u.words;for(S=o=k[0],_=s=k[1],O=p=k[2],x=C=k[3],z=w=k[4],n=0;n<80;n+=1)T=o+e[t+D[n]]|0,T+=n<16?f(s,p,C)+P[0]:n<32?g(s,p,C)+P[1]:n<48?b(s,p,C)+P[2]:n<64?m(s,p,C)+P[3]:y(s,p,C)+P[4],T=(T=v(T|=0,I[n]))+w|0,o=w,w=C,C=v(p,10),p=s,s=T,T=S+e[t+M[n]]|0,T+=n<16?y(_,O,x)+E[0]:n<32?m(_,O,x)+E[1]:n<48?b(_,O,x)+E[2]:n<64?g(_,O,x)+E[3]:f(_,O,x)+E[4],T=(T=v(T|=0,A[n]))+z|0,S=z,z=x,x=v(O,10),O=_,_=T;T=k[1]+p+x|0,k[1]=k[2]+C+z|0,k[2]=k[3]+w+S|0,k[3]=k[4]+o+_|0,k[4]=k[0]+s+O|0,k[0]=T},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,i=8*e.sigBytes;t[i>>>5]|=128<<24-i%32,t[14+(i+64>>>9<<4)]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8),e.sigBytes=4*(t.length+1),this._process();for(var r=this._hash,o=r.words,s=0;s<5;s++){var a=o[s];o[s]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8)}return r},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});function f(e,t,n){return e^t^n}function g(e,t,n){return e&t|~e&n}function b(e,t,n){return(e|~t)^n}function m(e,t,n){return e&n|t&~n}function y(e,t,n){return e^(t|~n)}function v(e,t){return e<>>32-t}t.RIPEMD160=o._createHelper(p),t.HmacRIPEMD160=o._createHmacHelper(p)}(Math),i.RIPEMD160)},ETIr:function(e,t,n){var i,r;e.exports=(i=n("Ib8C"),r=i.lib.WordArray,i.enc.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,i=this._map;e.clamp();for(var r=[],o=0;o>>2]>>>24-o%4*8&255)<<16|(t[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|t[o+2>>>2]>>>24-(o+2)%4*8&255,a=0;a<4&&o+.75*a>>6*(3-a)&63));var c=i.charAt(64);if(c)for(;r.length%4;)r.push(c);return r.join("")},parse:function(e){var t=e.length,n=this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var o=0;o>>6-s%4*2;i[o>>>2]|=(a|c)<<24-o%4*8,o++}return r.create(i,o)}(e,t,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},i.enc.Base64)},EY2u:function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return o});var i=n("HDdC");const r=new i.a(e=>e.complete());function o(e){return e?function(e){return new i.a(t=>e.schedule(()=>t.complete()))}(e):r}},Enxc:function(e,t){},ErpD:function(e,t,n){"use strict";n.d(t,"a",function(){return d});var i=n("/Tr7"),r=n("1vjI"),o=n("Szzx"),s=n("jIYg"),a=n("/h9T"),c=n("vq9N");function l(e,t){var n,i,l,u,d,h,p,f;Object(s.a)(1,arguments);var g=Object(c.a)(),b=Object(a.a)(null!==(n=null!==(i=null!==(l=null!==(u=null==t?void 0:t.firstWeekContainsDate)&&void 0!==u?u:null==t||null===(d=t.locale)||void 0===d||null===(h=d.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==l?l:g.firstWeekContainsDate)&&void 0!==i?i:null===(p=g.locale)||void 0===p||null===(f=p.options)||void 0===f?void 0:f.firstWeekContainsDate)&&void 0!==n?n:1),m=Object(o.a)(e,t),y=new Date(0);y.setUTCFullYear(m,0,b),y.setUTCHours(0,0,0,0);var v=Object(r.a)(y,t);return v}var u=6048e5;function d(e,t){Object(s.a)(1,arguments);var n=Object(i.a)(e),o=Object(r.a)(n,t).getTime()-l(n,t).getTime();return Math.round(o/u)+1}},Etcd:function(e,t,n){"use strict";n.d(t,"a",function(){return T}),n.d(t,"b",function(){return S}),n.d(t,"c",function(){return k});var i=n("cH1L"),r=n("nLfN"),o=n("ofXK"),s=n("fXoL"),a=n("mrSG"),c=n("FtGj"),l=n("2Suw"),u=n("/KA4"),d=n("XNiG"),h=n("1G5W"),p=n("JwMs");const f=["slickList"],g=["slickTrack"];function b(e,t){}const m=function(e){return{$implicit:e}};function y(e,t){if(1&e){const e=s.Xb();s.Wb(0,"li",9),s.lc("click",function(){s.Hc(e);const n=t.index;return s.oc(2).onLiClick(n)}),s.Qc(1,b,0,0,"ng-template",10),s.Vb()}if(2&e){const e=t.$implicit,n=t.index,i=s.oc(2),r=s.Ec(8);s.Ib("slick-active",e.isActive),s.Cb(1),s.wc("ngTemplateOutlet",i.nzDotRender||r)("ngTemplateOutletContext",s.Bc(4,m,n))}}function v(e,t){if(1&e&&(s.Wb(0,"ul",7),s.Qc(1,y,2,6,"li",8),s.Vb()),2&e){const e=s.oc();s.Ib("slick-dots-top","top"===e.nzDotPosition)("slick-dots-bottom","bottom"===e.nzDotPosition)("slick-dots-left","left"===e.nzDotPosition)("slick-dots-right","right"===e.nzDotPosition),s.Cb(1),s.wc("ngForOf",e.carouselContents)}}function C(e,t){if(1&e&&(s.Wb(0,"button"),s.Sc(1),s.Vb()),2&e){const e=t.$implicit;s.Cb(1),s.Tc(e+1)}}const w=["*"];let S=(()=>{class e{constructor(e,t){this.renderer=t,this._active=!1,this.el=e.nativeElement,this.renderer.addClass(e.nativeElement,"slick-slide")}set isActive(e){this._active=e,this.isActive?this.renderer.addClass(this.el,"slick-active"):this.renderer.removeClass(this.el,"slick-active")}get isActive(){return this._active}}return e.\u0275fac=function(t){return new(t||e)(s.Qb(s.l),s.Qb(s.G))},e.\u0275dir=s.Lb({type:e,selectors:[["","nz-carousel-content",""]],exportAs:["nzCarouselContent"]}),e})();class _{constructor(e,t,n,i,r){this.cdr=t,this.renderer=n,this.platform=i,this.options=r,this.carouselComponent=e}get maxIndex(){return this.length-1}get firstEl(){return this.contents[0].el}get lastEl(){return this.contents[this.maxIndex].el}withCarouselContents(e){const t=this.carouselComponent;if(this.slickListEl=t.slickListEl,this.slickTrackEl=t.slickTrackEl,this.contents=(null==e?void 0:e.toArray())||[],this.length=this.contents.length,this.platform.isBrowser){const e=t.el.getBoundingClientRect();this.unitWidth=e.width,this.unitHeight=e.height}else null==e||e.forEach((e,t)=>{0===t?this.renderer.setStyle(e.el,"width","100%"):this.renderer.setStyle(e.el,"display","none")})}dragging(e){}dispose(){}getFromToInBoundary(e,t){const n=this.maxIndex+1;return{from:(e+n)%n,to:(t+n)%n}}}class O extends _{withCarouselContents(e){super.withCarouselContents(e),this.contents&&(this.slickTrackEl.style.width=this.length*this.unitWidth+"px",this.contents.forEach((e,t)=>{this.renderer.setStyle(e.el,"opacity",this.carouselComponent.activeIndex===t?"1":"0"),this.renderer.setStyle(e.el,"position","relative"),this.renderer.setStyle(e.el,"width",`${this.unitWidth}px`),this.renderer.setStyle(e.el,"left",-this.unitWidth*t+"px"),this.renderer.setStyle(e.el,"transition",["opacity 500ms ease 0s","visibility 500ms ease 0s"])}))}switch(e,t){const{to:n}=this.getFromToInBoundary(e,t),i=new d.a;return this.contents.forEach((e,t)=>{this.renderer.setStyle(e.el,"opacity",n===t?"1":"0")}),setTimeout(()=>{i.next(),i.complete()},this.carouselComponent.nzTransitionSpeed),i}dispose(){this.contents.forEach(e=>{this.renderer.setStyle(e.el,"transition",null)}),super.dispose()}}class x extends _{constructor(e,t,n,i,r){super(e,t,n,i,r),this.isDragging=!1,this.isTransitioning=!1}get vertical(){return this.carouselComponent.vertical}dispose(){super.dispose(),this.renderer.setStyle(this.slickTrackEl,"transform",null)}withCarouselContents(e){super.withCarouselContents(e);const t=this.carouselComponent.activeIndex;this.platform.isBrowser&&this.contents.length&&(this.renderer.setStyle(this.slickListEl,"height",`${this.unitHeight}px`),this.vertical?(this.renderer.setStyle(this.slickTrackEl,"width",`${this.unitWidth}px`),this.renderer.setStyle(this.slickTrackEl,"height",this.length*this.unitHeight+"px"),this.renderer.setStyle(this.slickTrackEl,"transform",`translate3d(0, ${-t*this.unitHeight}px, 0)`)):(this.renderer.setStyle(this.slickTrackEl,"height",`${this.unitHeight}px`),this.renderer.setStyle(this.slickTrackEl,"width",this.length*this.unitWidth+"px"),this.renderer.setStyle(this.slickTrackEl,"transform",`translate3d(${-t*this.unitWidth}px, 0, 0)`)),this.contents.forEach(e=>{this.renderer.setStyle(e.el,"position","relative"),this.renderer.setStyle(e.el,"width",`${this.unitWidth}px`),this.renderer.setStyle(e.el,"height",`${this.unitHeight}px`)}))}switch(e,t){const{to:n}=this.getFromToInBoundary(e,t),i=new d.a;return this.renderer.setStyle(this.slickTrackEl,"transition",`transform ${this.carouselComponent.nzTransitionSpeed}ms ease`),this.vertical?this.verticalTransform(e,t):this.horizontalTransform(e,t),this.isTransitioning=!0,this.isDragging=!1,setTimeout(()=>{this.renderer.setStyle(this.slickTrackEl,"transition",null),this.contents.forEach(e=>{this.renderer.setStyle(e.el,this.vertical?"top":"left",null)}),this.renderer.setStyle(this.slickTrackEl,"transform",this.vertical?`translate3d(0, ${-n*this.unitHeight}px, 0)`:`translate3d(${-n*this.unitWidth}px, 0, 0)`),this.isTransitioning=!1,i.next(),i.complete()},this.carouselComponent.nzTransitionSpeed),i.asObservable()}dragging(e){if(this.isTransitioning)return;const t=this.carouselComponent.activeIndex;this.carouselComponent.vertical?(!this.isDragging&&this.length>2&&(t===this.maxIndex?this.prepareVerticalContext(!0):0===t&&this.prepareVerticalContext(!1)),this.renderer.setStyle(this.slickTrackEl,"transform",`translate3d(0, ${-t*this.unitHeight+e.x}px, 0)`)):(!this.isDragging&&this.length>2&&(t===this.maxIndex?this.prepareHorizontalContext(!0):0===t&&this.prepareHorizontalContext(!1)),this.renderer.setStyle(this.slickTrackEl,"transform",`translate3d(${-t*this.unitWidth+e.x}px, 0, 0)`)),this.isDragging=!0}verticalTransform(e,t){const{from:n,to:i}=this.getFromToInBoundary(e,t);this.length>2&&t!==i?(this.prepareVerticalContext(i2&&t!==i?(this.prepareHorizontalContext(i{class e{constructor(e,t,n,i,r,o,a,c,l){this.nzConfigService=t,this.renderer=n,this.cdr=i,this.platform=r,this.resizeService=o,this.nzDragService=a,this.directionality=c,this.customStrategies=l,this._nzModuleName="carousel",this.nzEffect="scrollx",this.nzEnableSwipe=!0,this.nzDots=!0,this.nzAutoPlay=!1,this.nzAutoPlaySpeed=3e3,this.nzTransitionSpeed=500,this.nzStrategyOptions=void 0,this._dotPosition="bottom",this.nzBeforeChange=new s.n,this.nzAfterChange=new s.n,this.activeIndex=0,this.vertical=!1,this.transitionInProgress=null,this.dir="ltr",this.destroy$=new d.a,this.gestureRect=null,this.pointerDelta=null,this.isTransiting=!1,this.isDragging=!1,this.onLiClick=e=>{this.goTo("rtl"===this.dir?this.carouselContents.length-1-e:e)},this.pointerDown=e=>{this.isDragging||this.isTransiting||!this.nzEnableSwipe||(this.clearScheduledTransition(),this.gestureRect=this.slickListEl.getBoundingClientRect(),this.nzDragService.requestDraggingSequence(e).subscribe(e=>{var t;this.pointerDelta=e,this.isDragging=!0,null===(t=this.strategy)||void 0===t||t.dragging(this.pointerDelta)},()=>{},()=>{if(this.nzEnableSwipe&&this.isDragging){const e=this.pointerDelta?this.pointerDelta.x:0;Math.abs(e)>this.gestureRect.width/3?this.goTo(e>0?this.activeIndex-1:this.activeIndex+1):this.goTo(this.activeIndex),this.gestureRect=null,this.pointerDelta=null}this.isDragging=!1}))},this.nzDotPosition="bottom",this.renderer.addClass(e.nativeElement,"ant-carousel"),this.el=e.nativeElement}set nzDotPosition(e){this._dotPosition=e,this.vertical="left"===e||"right"===e}get nzDotPosition(){return this._dotPosition}ngOnInit(){var e;this.dir=this.directionality.value,null===(e=this.directionality.change)||void 0===e||e.pipe(Object(h.a)(this.destroy$)).subscribe(e=>{this.dir=e,this.markContentActive(this.activeIndex),this.cdr.detectChanges()})}ngAfterContentInit(){this.markContentActive(0)}ngAfterViewInit(){this.slickListEl=this.slickList.nativeElement,this.slickTrackEl=this.slickTrack.nativeElement,this.carouselContents.changes.pipe(Object(h.a)(this.destroy$)).subscribe(()=>{this.markContentActive(0),this.layout()}),this.resizeService.subscribe().pipe(Object(h.a)(this.destroy$)).subscribe(()=>{this.layout()}),this.switchStrategy(),this.markContentActive(0),this.layout(),Promise.resolve().then(()=>{this.layout()})}ngOnChanges(e){const{nzEffect:t,nzDotPosition:n}=e;t&&!t.isFirstChange()&&(this.switchStrategy(),this.markContentActive(0),this.layout()),n&&!n.isFirstChange()&&(this.switchStrategy(),this.markContentActive(0),this.layout()),this.nzAutoPlay&&this.nzAutoPlaySpeed?this.scheduleNextTransition():this.clearScheduledTransition()}ngOnDestroy(){this.clearScheduledTransition(),this.strategy&&this.strategy.dispose(),this.destroy$.next(),this.destroy$.complete()}onKeyDown(e){e.keyCode===c.h?(e.preventDefault(),this.pre()):e.keyCode===c.j&&(this.next(),e.preventDefault())}next(){this.goTo(this.activeIndex+1)}pre(){this.goTo(this.activeIndex-1)}goTo(e){if(this.carouselContents&&this.carouselContents.length&&!this.isTransiting){const t=this.carouselContents.length,n=this.activeIndex,i=(e+t)%t;this.isTransiting=!0,this.nzBeforeChange.emit({from:n,to:i}),this.strategy.switch(this.activeIndex,e).subscribe(()=>{this.scheduleNextTransition(),this.nzAfterChange.emit(e),this.isTransiting=!1}),this.markContentActive(i),this.cdr.markForCheck()}}switchStrategy(){this.strategy&&this.strategy.dispose();const e=this.customStrategies?this.customStrategies.find(e=>e.name===this.nzEffect):null;this.strategy=e?new e.strategy(this,this.cdr,this.renderer,this.platform):"scrollx"===this.nzEffect?new x(this,this.cdr,this.renderer,this.platform):new O(this,this.cdr,this.renderer,this.platform)}scheduleNextTransition(){this.clearScheduledTransition(),this.nzAutoPlay&&this.nzAutoPlaySpeed>0&&this.platform.isBrowser&&(this.transitionInProgress=setTimeout(()=>{this.goTo(this.activeIndex+1)},this.nzAutoPlaySpeed))}clearScheduledTransition(){this.transitionInProgress&&(clearTimeout(this.transitionInProgress),this.transitionInProgress=null)}markContentActive(e){this.activeIndex=e,this.carouselContents&&this.carouselContents.forEach((t,n)=>{t.isActive="rtl"===this.dir?e===this.carouselContents.length-1-n:e===n}),this.cdr.markForCheck()}layout(){this.strategy&&this.strategy.withCarouselContents(this.carouselContents)}}return e.\u0275fac=function(t){return new(t||e)(s.Qb(s.l),s.Qb(l.b),s.Qb(s.G),s.Qb(s.h),s.Qb(r.a),s.Qb(p.d),s.Qb(p.c),s.Qb(i.c,8),s.Qb(z,8))},e.\u0275cmp=s.Kb({type:e,selectors:[["nz-carousel"]],contentQueries:function(e,t,n){if(1&e&&s.Jb(n,S,0),2&e){let e;s.Dc(e=s.mc())&&(t.carouselContents=e)}},viewQuery:function(e,t){if(1&e&&(s.Xc(f,1),s.Xc(g,1)),2&e){let e;s.Dc(e=s.mc())&&(t.slickList=e.first),s.Dc(e=s.mc())&&(t.slickTrack=e.first)}},hostVars:4,hostBindings:function(e,t){2&e&&s.Ib("ant-carousel-vertical",t.vertical)("ant-carousel-rtl","rtl"===t.dir)},inputs:{nzEffect:"nzEffect",nzEnableSwipe:"nzEnableSwipe",nzDots:"nzDots",nzAutoPlay:"nzAutoPlay",nzAutoPlaySpeed:"nzAutoPlaySpeed",nzTransitionSpeed:"nzTransitionSpeed",nzStrategyOptions:"nzStrategyOptions",nzDotPosition:"nzDotPosition",nzDotRender:"nzDotRender"},outputs:{nzBeforeChange:"nzBeforeChange",nzAfterChange:"nzAfterChange"},exportAs:["nzCarousel"],features:[s.Ab],ngContentSelectors:w,decls:9,vars:3,consts:[[1,"slick-initialized","slick-slider"],["tabindex","-1",1,"slick-list",3,"keydown","mousedown","touchstart"],["slickList",""],[1,"slick-track"],["slickTrack",""],["class","slick-dots",3,"slick-dots-top","slick-dots-bottom","slick-dots-left","slick-dots-right",4,"ngIf"],["renderDotTemplate",""],[1,"slick-dots"],[3,"slick-active","click",4,"ngFor","ngForOf"],[3,"click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(e,t){1&e&&(s.vc(),s.Wb(0,"div",0),s.Wb(1,"div",1,2),s.lc("keydown",function(e){return t.onKeyDown(e)})("mousedown",function(e){return t.pointerDown(e)})("touchstart",function(e){return t.pointerDown(e)}),s.Wb(3,"div",3,4),s.uc(5),s.Vb(),s.Vb(),s.Qc(6,v,2,9,"ul",5),s.Vb(),s.Qc(7,C,2,1,"ng-template",null,6,s.Rc)),2&e&&(s.Ib("slick-vertical","left"===t.nzDotPosition||"right"===t.nzDotPosition),s.Cb(6),s.wc("ngIf",t.nzDots))},directives:[o.o,o.n,o.t],encapsulation:2,changeDetection:0}),Object(a.b)([Object(l.c)(),Object(a.c)("design:type",String)],e.prototype,"nzEffect",void 0),Object(a.b)([Object(l.c)(),Object(u.a)(),Object(a.c)("design:type",Boolean)],e.prototype,"nzEnableSwipe",void 0),Object(a.b)([Object(l.c)(),Object(u.a)(),Object(a.c)("design:type",Boolean)],e.prototype,"nzDots",void 0),Object(a.b)([Object(l.c)(),Object(u.a)(),Object(a.c)("design:type",Boolean)],e.prototype,"nzAutoPlay",void 0),Object(a.b)([Object(l.c)(),Object(u.b)(),Object(a.c)("design:type",Number)],e.prototype,"nzAutoPlaySpeed",void 0),Object(a.b)([Object(u.b)(),Object(a.c)("design:type",Object)],e.prototype,"nzTransitionSpeed",void 0),Object(a.b)([Object(l.c)(),Object(a.c)("design:type",String),Object(a.c)("design:paramtypes",[String])],e.prototype,"nzDotPosition",null),e})(),k=(()=>{class e{}return e.\u0275mod=s.Ob({type:e}),e.\u0275inj=s.Nb({factory:function(t){return new(t||e)},imports:[[i.a,o.c,r.b]]}),e})()},"F+F2":function(e,t,n){var i;e.exports=(i=n("Ib8C"),function(){if("function"==typeof ArrayBuffer){var e=i.lib.WordArray,t=e.init,n=e.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var n=e.byteLength,i=[],r=0;r>>2]|=e[r]<<24-r%4*8;t.call(this,i,n)}else t.apply(this,arguments)};n.prototype=e}}(),i.lib.WordArray)},FCoD:function(e,t,n){"use strict";n.d(t,"a",function(){return po});var i=n("R0Ic"),r=n("fXoL"),o=n("dgj+"),s=n("rc96"),a=n("U8d7"),c=n("pFuZ"),l=n("SOqu"),u=n("B7ZD"),d=n("BVU9"),h=n("TEgR"),p=n("arSf"),f=n("tb4M"),g=n("GX1P"),b=n("GR68"),m=n("pLZG"),y=n("3Pt+"),v=n("rUKz");const C=new class extends v.a{constructor(){super()}getBindingInfo(){return this.httpClientWrapper.post("/UserBindingApi/GetBindingInfo")}unlinkBindings(e){return this.httpClientWrapper.post("/UserBindingApi/UnlinkBindings",{UnlinkUserIDList:[e]})}clearBindings(){return this.httpClientWrapper.post("/UserBindingApi/ClearBindings")}requestBindingToken(){return this.httpClientWrapper.post("/UserBindingApi/RequestBindingToken")}};var w=function(e){return e[e.HotelFindPage=1]="HotelFindPage",e[e.HotelListPage=2]="HotelListPage",e[e.HotelDetailPage=3]="HotelDetailPage",e[e.OrderPage=4]="OrderPage",e[e.BookingListPage=5]="BookingListPage",e[e.BookingDetailPage=6]="BookingDetailPage",e}({});new class extends v.a{constructor(){super(),this.pageViewActions=[],this.interval=null,this.pageViewUrlRecord={}}get(e=10){return this.httpClientWrapper.get("/UserPageViewHistoryApi/Get",{pageSize:e},{resultProcessor:e=>(e.Data=(e&&e.Data||[]).map(e=>(e.UpdateTime=a.f.parse(e.UpdateTime),null!=e.ImageUrl?e.ImageUrl=a.q.toAvailableBackgroundUrl(e.ImageUrl):e.ShoppingSitePageType===w.HotelDetailPage&&(e.ImageUrl="https://dsimage.didatravel.com/v2-app/images/image-fallback.png"),null!=e.PriceInfo&&(e.PriceInfo.CheckInDate=a.f.parse(e.PriceInfo.CheckInDate),e.PriceInfo.CheckOutDate=a.f.parse(e.PriceInfo.CheckOutDate)),e)),e)})}save(e){const t=this.buildRecordKey(e);!1!==e.UpdateUrlOnly&&this.pageViewUrlRecord[t]===e.URL||(this.pageViewUrlRecord[t]=e.URL,this.pageViewActions.push(e),this.doSaveAction())}doSaveAction(){if(this.interval)console.debug("[PVHS] - waiting for previous actions");else{let e=!1;console.debug("[PVHS] - interval starting"),this.interval=window.setInterval(()=>{if(!e){const t=this.pageViewActions.shift();null!=t?(e=!0,console.debug("[PVHS] - send request to server",t),this.httpClientWrapper.post("/UserPageViewHistoryApi/Save",t).subscribe({next:()=>{}}).add(()=>{console.debug("[PVHS] - action saved",t),e=!1})):(window.clearInterval(this.interval),this.interval=null,console.debug("[PVHS] - interval stopped"))}},500)}}buildRecordKey(e){return`${e.ShoppingSitePageTypeID}_${e.EntityID}`}clear(){return this.httpClientWrapper.post("/UserPageViewHistoryApi/Clear",{})}remove(e){return this.httpClientWrapper.post("/UserPageViewHistoryApi/Remove",{entityId:e})}},new class extends v.a{constructor(){super()}redeemCheckinPoints(){return this.httpClientWrapper.post("/UserPointsApi/RedeemSignInPoints",{})}getCheckinPointsInfo(){return this.httpClientWrapper.get("/UserPointsApi/GetCheckinPointsInfo")}};const S=new class extends v.a{constructor(){super()}checkAccountSecurity(e=!0){return this.httpClientWrapper.post("/UserSecurityApi/AccountSecurityCheck",{fromHistory:e})}sendLoginToken(e){return this.httpClientWrapper.post("/UserSecurityApi/SendLoginToken",{reqToken:e})}sendChangeEmailToken(e){return this.httpClientWrapper.post("/UserSecurityApi/SendChangeEmailToken",{c:e})}};new class extends v.a{constructor(){super()}getWechatUserInfo(){return this.httpClientWrapper.get("/UserApi/GetWechatInfo")}unbindWechat(e){return this.httpClientWrapper.post("/UserApi/UnbindingWechatInfo",{ID:e})}getWechatQrCode(){return this.httpClientWrapper.post("/UserApi/CreateWechatQrCode",null,{resultProcessor:e=>(e.ExpireSeconds||(e.ExpireSeconds=60),e)})}};var _=n("IYaI"),O=n("LRne"),x=n("5+tZ"),z=n("tyNb"),T=n("PScX"),k=n("dEAy"),P=n("ocnv"),E=n("ofXK"),D=n("Wfee"),M=n("B+r4"),I=n("PTRe"),A=n("FwiY"),R=n("IuAY"),j=n("C2AL"),V=n("HZ3n"),L=n("l9o/"),N=n("LZVA"),F=n("aT9+"),B=n("OzZK"),W=n("RwU8"),H=n("9uaG"),U=n("TaO5");function $(e,t){1&e&&r.Rb(0,"nz-alert",5)}function Q(e,t){if(1&e&&(r.Wb(0,"div",6),r.Sc(1,"\n "),r.Rb(2,"input",7),r.Sc(3,"\n "),r.Rb(4,"input",8),r.Sc(5,"\n "),r.Vb()),2&e){const e=r.oc();r.Cb(2),r.wc("value",e.signinPayload.LoginIdentifier),r.Cb(2),r.wc("value",e.signinPayload.Password)}}function G(e,t){if(1&e&&(r.Wb(0,"nz-form-label",19),r.ac(1,20),r.Vb()),2&e){const e=r.oc(2);r.wc("nzXs",e.labelSpan)}}function Y(e,t){1&e&&(r.Ub(0),r.ac(1,21),r.Tb())}function K(e,t){1&e&&(r.Ub(0),r.ac(1,22),r.Tb())}function X(e,t){1&e&&(r.Ub(0),r.ac(1,23),r.Tb())}function q(e,t){if(1&e&&(r.Sc(0,"\n "),r.Qc(1,Y,2,0,"ng-container",3),r.Sc(2,"\n "),r.Qc(3,K,2,0,"ng-container",3),r.Sc(4,"\n "),r.Qc(5,X,2,0,"ng-container",3),r.Sc(6,"\n ")),2&e){const e=t.$implicit;r.Cb(1),r.wc("ngIf",e.errors.required),r.Cb(2),r.wc("ngIf",e.hasError("user-not-exist")),r.Cb(2),r.wc("ngIf",e.hasError("email-not-exist"))}}function J(e,t){if(1&e&&(r.Wb(0,"nz-form-label",24),r.ac(1,25),r.Vb()),2&e){const e=r.oc(2);r.wc("nzXs",e.labelSpan)}}function Z(e,t){1&e&&(r.Ub(0),r.ac(1,26),r.Tb())}function ee(e,t){1&e&&(r.Ub(0),r.ac(1,27),r.Tb())}function te(e,t){1&e&&(r.Ub(0),r.ac(1,28),r.Tb())}function ne(e,t){if(1&e&&(r.Sc(0,"\n "),r.Qc(1,Z,2,0,"ng-container",3),r.Sc(2,"\n "),r.Qc(3,ee,2,0,"ng-container",3),r.Sc(4,"\n "),r.Qc(5,te,2,0,"ng-container",3),r.Sc(6,"\n ")),2&e){const e=t.$implicit;r.Cb(1),r.wc("ngIf",e.errors.required),r.Cb(2),r.wc("ngIf",e.errors.not_match),r.Cb(2),r.wc("ngIf",e.hasError("password-not-correct"))}}function ie(e,t){if(1&e&&(r.Wb(0,"nz-form-label",38),r.ac(1,39),r.Vb()),2&e){const e=r.oc(3);r.wc("nzXs",e.labelSpan)}}function re(e,t){1&e&&(r.Ub(0),r.Sc(1,"\n "),r.Ub(2),r.ac(3,40),r.Tb(),r.Sc(4,"\n "),r.Tb())}function oe(e,t){1&e&&(r.Ub(0),r.ac(1,41),r.Tb())}function se(e,t){if(1&e&&(r.Sc(0,"\n "),r.Qc(1,re,5,0,"ng-container",3),r.Sc(2,"\n "),r.Qc(3,oe,2,0,"ng-container",3),r.Sc(4,"\n ")),2&e){const e=t.$implicit;r.Cb(1),r.wc("ngIf",e.hasError("required")),r.Cb(2),r.wc("ngIf",e.hasError("token-invalid"))}}function ae(e,t){if(1&e&&(r.Sc(0,"\n "),r.Wb(1,"button",42),r.ac(2,43),r.Vb(),r.Sc(3,"\n ")),2&e){const e=t.$implicit;r.Cb(1),r.wc("disabled",!0),r.Cb(1),r.ec(null==e?null:e.seconds),r.bc(2)}}function ce(e,t){1&e&&(r.Ub(0),r.ac(1,45),r.Tb())}function le(e,t){1&e&&(r.Ub(0),r.ac(1,46),r.Tb())}function ue(e,t){if(1&e){const e=r.Xb();r.Sc(0,"\n "),r.Wb(1,"button",44),r.lc("click",function(){return r.Hc(e),r.oc(3).onSendToken()}),r.Sc(2,"\n "),r.Qc(3,ce,2,0,"ng-container",3),r.Sc(4,"\n "),r.Qc(5,le,2,0,"ng-container",3),r.Sc(6,"\n "),r.Vb(),r.Sc(7,"\n ")}if(2&e){const e=r.oc(3);r.Cb(1),r.wc("nzLoading",e.tokenSetting.loading)("disabled",e.tokenSetting.loading||e.signining),r.Cb(2),r.wc("ngIf",e.tokenSetting.requested),r.Cb(2),r.wc("ngIf",!e.tokenSetting.requested)}}function de(e,t){1&e&&(r.Wb(0,"div",47),r.Sc(1,"\n "),r.Ub(2),r.ac(3,48),r.Tb(),r.Sc(4,"\n "),r.Vb())}const he=function(){return{required:!0,maxlength:6,minlength:6}};function pe(e,t){if(1&e){const e=r.Xb();r.Wb(0,"nz-form-item"),r.Sc(1,"\n "),r.Qc(2,ie,2,1,"nz-form-label",29),r.Sc(3,"\n "),r.Wb(4,"nz-form-control",10),r.Sc(5,"\n "),r.Wb(6,"div",30),r.Sc(7,"\n "),r.Wb(8,"div",31),r.Sc(9,"\n "),r.Wb(10,"input",32),r.lc("ngModelChange",function(t){return r.Hc(e),r.oc(2).signinPayload.LoginToken=t}),r.Vb(),r.Sc(11,"\n "),r.Qc(12,se,5,2,"ng-template",null,33,r.Rc),r.Sc(14,"\n "),r.Vb(),r.Sc(15,"\n "),r.Wb(16,"div",31),r.Sc(17,"\n "),r.Wb(18,"nd-count-down",34),r.Sc(19,"\n "),r.Qc(20,ae,4,2,"ng-template",35),r.Sc(21,"\n "),r.Qc(22,ue,8,4,"ng-template",36),r.Sc(23,"\n "),r.Vb(),r.Sc(24,"\n "),r.Vb(),r.Sc(25,"\n "),r.Vb(),r.Sc(26,"\n "),r.Qc(27,de,5,0,"div",37),r.Sc(28,"\n "),r.Vb(),r.Sc(29,"\n "),r.Vb()}if(2&e){const e=r.Ec(13),t=r.oc(2);r.Cb(2),r.wc("ngIf",t.ndShowLabel),r.Cb(2),r.wc("nzErrorTip",e),r.Cb(2),r.wc("nzGutter",12),r.Cb(2),r.wc("nzSpan",8),r.Cb(2),r.wc("ngModel",t.signinPayload.LoginToken)("ndValidate",r.Ac(9,he)),r.Cb(6),r.wc("nzSpan",12),r.Cb(2),r.wc("ndValue",t.tokenSetting.nextAvailSend),r.Cb(9),r.wc("ngIf",t.tokenSetting.trt_rmk)}}function fe(e,t){if(1&e){const e=r.Xb();r.Ub(0),r.Sc(1,"\n "),r.Wb(2,"nz-form-item"),r.Sc(3,"\n "),r.Qc(4,G,2,1,"nz-form-label",9),r.Sc(5,"\n "),r.Wb(6,"nz-form-control",10),r.Sc(7,"\n "),r.Wb(8,"input",11),r.lc("ngModelChange",function(t){return r.Hc(e),r.oc().signinPayload.LoginIdentifier=t}),r.Vb(),r.Sc(9,"\n\n "),r.Qc(10,q,7,3,"ng-template",null,12,r.Rc),r.Sc(12,"\n "),r.Vb(),r.Sc(13,"\n "),r.Vb(),r.Sc(14,"\n "),r.Wb(15,"nz-form-item"),r.Sc(16,"\n "),r.Qc(17,J,2,1,"nz-form-label",13),r.Sc(18,"\n "),r.Wb(19,"nz-form-control",10),r.Sc(20,"\n "),r.Wb(21,"div",14),r.Sc(22,"\n "),r.Wb(23,"input",15),r.lc("ngModelChange",function(t){return r.Hc(e),r.oc().signinPayload.Password=t}),r.Vb(),r.Sc(24,"\n "),r.Wb(25,"div",16),r.Sc(26,"\n "),r.Wb(27,"i",17),r.lc("click",function(){r.Hc(e);const t=r.oc();return t.passwordVisible=!t.passwordVisible}),r.Vb(),r.Sc(28,"\n "),r.Vb(),r.Sc(29,"\n "),r.Vb(),r.Sc(30,"\n "),r.Qc(31,ne,7,3,"ng-template",null,18,r.Rc),r.Sc(33,"\n "),r.Vb(),r.Sc(34,"\n "),r.Vb(),r.Sc(35,"\n\n "),r.Qc(36,pe,30,10,"nz-form-item",3),r.Sc(37,"\n "),r.Tb()}if(2&e){const e=r.Ec(11),t=r.Ec(32),n=r.oc();r.Cb(4),r.wc("ngIf",n.ndShowLabel),r.Cb(2),r.wc("nzErrorTip",e),r.Cb(2),r.wc("disabled",n.loginIdentifierDisabled)("ngModel",n.signinPayload.LoginIdentifier),r.Cb(9),r.wc("ngIf",n.ndShowLabel),r.Cb(2),r.wc("nzErrorTip",t),r.Cb(4),r.wc("type",n.passwordVisible?"text":"password")("ngModel",n.signinPayload.Password),r.Cb(4),r.wc("nzType",n.passwordVisible?"eye-invisible":"eye"),r.Cb(9),r.wc("ngIf",n.tokenSetting.required)}}function ge(e,t){if(1&e&&(r.Wb(0,"nz-form-label",38),r.ac(1,58),r.Vb()),2&e){const e=r.oc(2);r.wc("nzXs",e.labelSpan)}}function be(e,t){1&e&&(r.Ub(0),r.ac(1,59),r.Tb())}function me(e,t){1&e&&(r.Ub(0),r.ac(1,60),r.Tb())}function ye(e,t){if(1&e&&(r.Sc(0,"\n "),r.Qc(1,be,2,0,"ng-container",3),r.Sc(2,"\n "),r.Qc(3,me,2,0,"ng-container",3),r.Sc(4,"\n ")),2&e){const e=t.$implicit;r.Cb(1),r.wc("ngIf",e.hasError("required")),r.Cb(2),r.wc("ngIf",e.hasError("phone-not-exist"))}}function ve(e,t){1&e&&(r.Sc(0,"\n "),r.Rb(1,"span"),r.Sc(2,"\n "))}function Ce(e,t){if(1&e&&(r.Wb(0,"nz-form-label",38),r.ac(1,61),r.Vb()),2&e){const e=r.oc(2);r.wc("nzXs",e.labelSpan)}}function we(e,t){1&e&&(r.Ub(0),r.ac(1,62),r.Tb())}function Se(e,t){1&e&&(r.Ub(0),r.ac(1,63),r.Tb())}function _e(e,t){if(1&e&&(r.Sc(0,"\n "),r.Qc(1,we,2,0,"ng-container",3),r.Sc(2,"\n "),r.Qc(3,Se,2,0,"ng-container",3),r.Sc(4,"\n ")),2&e){const e=t.$implicit;r.Cb(1),r.wc("ngIf",e.hasError("phone-veri-code-not-correct")),r.Cb(2),r.wc("ngIf",e.hasError("required")||e.hasError("maxlength")||e.hasError("minlength"))}}function Oe(e,t){1&e&&(r.Ub(0),r.ac(1,65),r.Tb())}function xe(e,t){1&e&&(r.Ub(0),r.ac(1,66),r.Tb())}function ze(e,t){if(1&e){const e=r.Xb();r.Wb(0,"button",64),r.lc("click",function(){return r.Hc(e),r.oc(2).sendVerificationCode()}),r.Sc(1,"\n "),r.Qc(2,Oe,2,0,"ng-container",3),r.Sc(3,"\n "),r.Qc(4,xe,2,0,"ng-container",3),r.Sc(5,"\n "),r.Vb()}if(2&e){const e=r.oc(2);r.wc("nzLoading",e.phoneVeriCodeSetting.loading),r.Cb(2),r.wc("ngIf",e.phoneVeriCodeSetting.requested),r.Cb(2),r.wc("ngIf",!e.phoneVeriCodeSetting.requested)}}function Te(e,t){if(1&e){const e=r.Xb();r.Wb(0,"nd-count-down",67,68),r.lc("ndExpire",function(){return r.Hc(e),r.oc(2).phoneVeriCodeSetting.nextAvailSend=null}),r.Sc(2,"\n "),r.Wb(3,"button",69),r.Sc(4,"\n "),r.Ub(5),r.ac(6,70),r.Tb(),r.Sc(7,"\n "),r.Vb(),r.Sc(8,"\n "),r.Vb()}if(2&e){const e=r.Ec(1),t=r.oc(2);r.wc("ndValue",t.phoneVeriCodeSetting.nextAvailSend),r.Cb(6),r.ec(null==e.ndDuration?null:e.ndDuration.seconds),r.bc(6)}}const ke=function(){return{required:!0,phone:!0}},Pe=function(){return{maxlength:6,minlength:6}};function Ee(e,t){if(1&e){const e=r.Xb();r.Ub(0),r.Sc(1,"\n "),r.Wb(2,"nz-form-item"),r.Sc(3,"\n "),r.Qc(4,ge,2,1,"nz-form-label",29),r.Sc(5,"\n "),r.Wb(6,"nz-form-control",10),r.Sc(7,"\n "),r.Wb(8,"nd-input-phone",49),r.lc("ngModelChange",function(t){return r.Hc(e),r.oc().signinPayload.LoginIdentifier=t})("ngModelChange",function(t){return r.Hc(e),r.oc().onPhoneChange(t)}),r.Vb(),r.Sc(9,"\n "),r.Qc(10,ye,5,2,"ng-template",null,50,r.Rc),r.Sc(12,"\n "),r.Qc(13,ve,3,0,"ng-template",null,51,r.Rc),r.Sc(15,"\n "),r.Vb(),r.Sc(16,"\n "),r.Vb(),r.Sc(17,"\n\n "),r.Wb(18,"nz-form-item"),r.Sc(19,"\n "),r.Qc(20,Ce,2,1,"nz-form-label",29),r.Sc(21,"\n "),r.Wb(22,"nz-form-control",10),r.Sc(23,"\n "),r.Wb(24,"nz-row",52),r.Sc(25,"\n "),r.Wb(26,"nz-col"),r.Sc(27,"\n "),r.Wb(28,"input",53,54),r.lc("ngModelChange",function(t){return r.Hc(e),r.oc().signinPayload.Password=t}),r.Vb(),r.Sc(30,"\n "),r.Qc(31,_e,5,2,"ng-template",null,55,r.Rc),r.Sc(33,"\n "),r.Vb(),r.Sc(34,"\n "),r.Wb(35,"nz-col"),r.Sc(36,"\n "),r.Qc(37,ze,6,3,"button",56),r.Sc(38,"\n "),r.Qc(39,Te,9,2,"nd-count-down",57),r.Sc(40,"\n "),r.Vb(),r.Sc(41,"\n "),r.Vb(),r.Sc(42,"\n "),r.Vb(),r.Sc(43,"\n "),r.Vb(),r.Sc(44,"\n "),r.Tb()}if(2&e){const e=r.Ec(11),t=r.Ec(32),n=r.oc();r.Cb(4),r.wc("ngIf",n.ndShowLabel),r.Cb(2),r.wc("nzErrorTip",e),r.Cb(2),r.wc("ngModel",n.signinPayload.LoginIdentifier)("ndValidate",r.Ac(11,ke))("disabled",n.phoneVeriCodeSetting.loading),r.Cb(12),r.wc("ngIf",n.ndShowLabel),r.Cb(2),r.wc("nzErrorTip",t),r.Cb(6),r.wc("ndValidate",r.Ac(12,Pe))("ngModel",n.signinPayload.Password),r.Cb(9),r.wc("ngIf",!n.phoneVeriCodeSetting.nextAvailSend),r.Cb(2),r.wc("ngIf",n.phoneVeriCodeSetting.nextAvailSend)}}function De(e,t){if(1&e&&(r.Wb(0,"nz-col",73),r.Sc(1,"\n "),r.Wb(2,"label",80),r.Sc(3,"\n "),r.Wb(4,"span"),r.ac(5,81),r.Vb(),r.Sc(6,"\n "),r.Vb(),r.Sc(7,"\n "),r.Vb()),2&e){const e=r.oc(3);r.wc("nzOffset",e.ndShowLabel?e.labelSpan:0)}}function Me(e,t){1&e&&(r.Wb(0,"nz-col"),r.Sc(1,"\n "),r.Wb(2,"a",82),r.ac(3,83),r.Vb(),r.Sc(4,"\n "),r.Vb())}function Ie(e,t){if(1&e&&(r.Wb(0,"div",77),r.Sc(1,"\n "),r.Wb(2,"nz-row",78),r.Sc(3,"\n "),r.Qc(4,De,8,1,"nz-col",79),r.Sc(5,"\n "),r.Qc(6,Me,5,0,"nz-col",3),r.Sc(7,"\n "),r.Vb(),r.Sc(8,"\n "),r.Vb()),2&e){const e=r.oc(2);r.Cb(4),r.wc("ngIf",e.showRememberMe),r.Cb(2),r.wc("ngIf","Default"===e.signinPayload.LoginType&&e.showForgotPasswordEntrance)}}function Ae(e,t){1&e&&(r.Ub(0),r.ac(1,84),r.Tb())}function Re(e,t){1&e&&(r.Ub(0),r.ac(1,85),r.Tb())}function je(e,t){if(1&e){const e=r.Xb();r.Wb(0,"a",89),r.lc("click",function(){return r.Hc(e),r.oc(5).switchLoginType("Default")}),r.ac(1,90),r.Vb()}}function Ve(e,t){if(1&e){const e=r.Xb();r.Wb(0,"a",89),r.lc("click",function(){return r.Hc(e),r.oc(5).switchLoginType("CellPhone")}),r.ac(1,91),r.Vb()}}function Le(e,t){if(1&e&&(r.Ub(0,87),r.Sc(1,"\n "),r.Qc(2,je,2,0,"a",88),r.Sc(3,"\n "),r.Qc(4,Ve,2,0,"a",88),r.Sc(5,"\n "),r.Tb()),2&e){const e=r.oc(4);r.wc("ngSwitch",e.signinPayload.LoginType),r.Cb(2),r.wc("ngSwitchCase","CellPhone"),r.Cb(2),r.wc("ngSwitchCase","Default")}}function Ne(e,t){if(1&e&&(r.Wb(0,"nz-col"),r.Sc(1,"\n "),r.Qc(2,Le,6,3,"ng-container",86),r.Sc(3,"\n "),r.Vb()),2&e){const e=r.oc(3);r.Cb(2),r.wc("ngIf",e.isCN)}}function Fe(e,t){1&e&&(r.Wb(0,"nz-col"),r.Sc(1,"\n "),r.Wb(2,"a",92),r.Sc(3,"\n "),r.Ub(4),r.ac(5,93),r.Tb(),r.Sc(6,"\n "),r.Vb(),r.Sc(7,"\n "),r.Vb())}function Be(e,t){if(1&e&&(r.Wb(0,"div",72),r.Sc(1,"\n "),r.Wb(2,"nz-form-control",73),r.Sc(3,"\n "),r.Wb(4,"nz-row",78),r.Sc(5,"\n "),r.Qc(6,Ne,4,1,"nz-col",3),r.Sc(7,"\n "),r.Qc(8,Fe,8,0,"nz-col",3),r.Sc(9,"\n "),r.Vb(),r.Sc(10,"\n "),r.Vb(),r.Sc(11,"\n "),r.Vb()),2&e){const e=r.oc(2);r.Cb(2),r.wc("nzOffset",e.ndShowLabel?e.labelSpan:0),r.Cb(4),r.wc("ngIf",e.showLoginTypeSwitch),r.Cb(2),r.wc("ngIf",e.showRegisterEntrance)}}function We(e,t){if(1&e&&(r.Ub(0),r.Sc(1,"\n "),r.Qc(2,Ie,9,2,"div",71),r.Sc(3,"\n "),r.Wb(4,"nz-form-item",72),r.Sc(5,"\n "),r.Wb(6,"nz-form-control",73),r.Sc(7,"\n "),r.Wb(8,"button",74),r.Sc(9,"\n "),r.Qc(10,Ae,2,0,"ng-container",75),r.Sc(11,"\n "),r.Qc(12,Re,2,0,"ng-container",76),r.Sc(13,"\n "),r.Vb(),r.Sc(14,"\n "),r.Vb(),r.Sc(15,"\n "),r.Vb(),r.Sc(16,"\n "),r.Qc(17,Be,12,3,"div",4),r.Sc(18,"\n "),r.Tb()),2&e){const e=r.oc();r.Cb(2),r.wc("ngIf",e.showRememberMe||e.showForgotPasswordEntrance),r.Cb(4),r.wc("nzOffset",e.ndShowLabel?e.labelSpan:0),r.Cb(2),r.wc("nzType","primary")("nzLoading",e.logining)("ngSwitch",e.ndMode),r.Cb(2),r.wc("ngSwitchCase","reverify-identity"),r.Cb(7),r.wc("ngIf",e.showLoginTypeSwitch||e.showRegisterEntrance)}}function He(e,t){if(1&e&&(r.Wb(0,"nz-form-item",72),r.Sc(1,"\n "),r.Wb(2,"nz-form-control"),r.Sc(3,"\n "),r.Wb(4,"button",94),r.ac(5,95),r.Vb(),r.Sc(6,"\n "),r.Vb(),r.Sc(7,"\n "),r.Vb()),2&e){const e=r.oc();r.Cb(4),r.wc("nzType","primary")("nzLoading",e.logining)}}let Ue=(()=>{class e{constructor(e,t,n,i,o,s,c){this.router=e,this.appService=t,this.route=n,this.urlSerializer=i,this.messageService=o,this.modalService=s,this.lang=c,this.ndMode="default",this.success=new r.n,this.redirect=new r.n,this.loginError=null,this.logining=!1,this.labelSpan=6,this.loginVerificationCodeCD=new a.m("LoginVerificationCode_CD"),this.loginIdentifierDisabled=!1,this.showRememberMe=!0,this.showForgotPasswordEntrance=!0,this.showRegisterEntrance=!0,this.showLoginTypeSwitch=!0,this.phoneVeriCodeSetting={required:!1,requested:!1,nextAvailSend:null,loading:!1,trt:null,trt_rmk:void 0},this.tokenSettingMap=new Map,this.tokenSetting={required:!1,requested:!1,nextAvailSend:null,loading:!1,trt:null,trt_rmk:void 0},this.signining=!1,this.signinPayload={LoginType:"Default"}}resetTokenSetting(){this.tokenSetting={required:!1,requested:!1,nextAvailSend:new Date,loading:!1,trt:null,trt_rmk:void 0}}restoreTokenSetting(e){const t=this.tokenSettingMap.get(e);t&&(this.tokenSetting=t)}resetPasswordLoginError(){const e=this.signInForm.form.get("password");if(e.hasError("login-error")){const t=e.errors;delete t["login-error"],0===Object.keys(t).length?e.setErrors(null):e.setErrors(t)}}get isCN(){return"zh-CN"===this.lang}ngOnInit(){let e=this.route.snapshot.queryParamMap.get("u"),t=this.route.snapshot.queryParamMap.get("trt");if((null==t?void 0:t.length)>0&&(null==e?void 0:e.length)>0){this.tokenSetting.required=!0,this.tokenSetting.trt=t,this.tokenSetting.trt_rmk=this.route.snapshot.queryParamMap.get("trt_rmk"),this.tokenSettingMap.set(e,this.tokenSetting);const n={};this.route.snapshot.queryParamMap.keys.forEach(e=>{n[e]=this.route.snapshot.queryParamMap.getAll(e)}),delete n.u,delete n.trt,delete n.trt_rmk,this.router.navigate([],{replaceUrl:!0,queryParams:n})}"zh-CN"===this.lang&&(this.labelSpan=4),this.signinPayload.LoginType="CellPhone"===this.route.snapshot.queryParamMap.get("lt")?"CellPhone":"Default",this.ndLoginIdentifier&&(this.signinPayload.LoginIdentifier=this.ndLoginIdentifier);const n=this.loginVerificationCodeCD.value;n&&n.expire>(new Date).toISOString()&&(this.signinPayload.LoginIdentifier=n.id,this.phoneVeriCodeSetting.nextAvailSend=new Date(n.expire));const i=sessionStorage.getItem("LoginToken_cd");i&&i>(new Date).toISOString()&&(this.tokenSetting.nextAvailSend=new Date(i)),this.setupState()}setupState(){"reverify-identity"===this.ndMode?(this.loginIdentifierDisabled=!0,this.showRememberMe=!1,this.showForgotPasswordEntrance=!1,this.showRegisterEntrance=!1,this.showLoginTypeSwitch=!1):(this.loginIdentifierDisabled=!1,this.showRememberMe=!0,this.showForgotPasswordEntrance=!0,this.showRegisterEntrance=!0,this.showLoginTypeSwitch=!0)}onUsernameChange(){this.resetPasswordLoginError(),this.resetTokenSetting(),this.restoreTokenSetting(this.signinPayload.LoginIdentifier)}onPhoneChange(e){this.phoneVeriCodeSetting.nextAvailSend=null,this.loginVerificationCodeCD.set({id:e,expire:null})}sendVerificationCode(){const e=this.signInForm.form.get("username");if(e.invalid)return e.updateValueAndValidity(),void e.markAllAsTouched();this.phoneVeriCodeSetting.loading=!0,this.loginVerificationCodeCD.set({id:this.signinPayload.LoginIdentifier,expire:null}),Object(f.K)(o.h.sendPhoneVerificationCode("LoginVerificationCode",this.signinPayload.LoginIdentifier)).subscribe(()=>{this.phoneVeriCodeSetting.nextAvailSend=Object(_.a)(new Date,5),this.phoneVeriCodeSetting.requested=!0,this.loginVerificationCodeCD.set({id:this.signinPayload.LoginIdentifier,expire:this.phoneVeriCodeSetting.nextAvailSend.toISOString()})},e=>{this.messageService.error(null==e?void 0:e.message)}).add(()=>{this.phoneVeriCodeSetting.loading=!1})}onSendToken(){this.tokenSetting.loading=!0,Object(f.K)(S.sendLoginToken(this.tokenSetting.trt)).subscribe({next:e=>{this.tokenSetting.nextAvailSend=Object(_.a)(new Date,1),sessionStorage.setItem("LoginToken_cd",this.tokenSetting.nextAvailSend.toISOString()),this.tokenSetting.requested=!0,this.modalService.info({nzContent:"System has sent a verification code to your email, please go to check it."})},error:e=>{this.modalService.error({nzTitle:"Verification code sending failed",nzContent:e.message})}}).add(()=>{this.tokenSetting.loading=!1})}submitForm(){this.signInForm.form.invalid?Object.values(this.signInForm.form.controls).forEach(e=>{e.markAsDirty(),e.updateValueAndValidity()}):(this.signInForm.form.disable(),this.logining=!0,(this.ndBindCurrentAccount&&!this.ndLoginIdentifier?Object(f.K)(C.requestBindingToken()):Object(O.a)(null)).pipe(Object(x.a)(e=>(e&&(this.signinPayload.BindingInfo={Token:e.Token}),Object(f.K)("reverify-identity"===this.ndMode?o.h.verifyIdentity(this.signinPayload):o.h.login(this.signinPayload))))).subscribe(e=>{this.appService.reloadContext().subscribe(e=>{var t;this.success.next({userName:e.userIdentityInfo.profile.UserName,clientId:null===(t=e.userIdentityInfo.clientInfo)||void 0===t?void 0:t.ClientID,loginType:this.signinPayload.LoginType})}).add(()=>{this.ndBindCurrentAccount||"reverify-identity"===this.ndMode||this.redirect.emit(e.Data)})},e=>{var t,n,i;this.signInForm.form.enable();const r=null===(t=e.data)||void 0===t?void 0:t.Data;switch(this.tokenSetting.trt_rmk=(null==r?void 0:r.NeedVerifyLoginRegionChange)?"ip":void 0,e.errorCode){case a.g.AuthenticationError_IncorrectLoginToken:this.tokenSettingMap.set(this.signinPayload.LoginIdentifier,this.tokenSetting),this.tokenSetting.required=!0,(null==r?void 0:r.TRT)?(this.tokenSetting.trt=r.TRT,null===(n=this.signInForm.form.get("token"))||void 0===n||n.setErrors(null)):null===(i=this.signInForm.form.get("token"))||void 0===i||i.setErrors({"token-invalid":!0});break;case a.g.AuthenticationError_IncorrectLoginIdentifier:const t=this.signinPayload.LoginIdentifier.indexOf("@")>=0?"email-not-exist":"user-not-exist";this.signInForm.form.get("username").setErrors({[t]:!0});break;case a.g.AuthenticationError_IncorrectLoginPassword:this.signInForm.form.get("password").setErrors({"password-not-correct":!0});break;case a.g.AuthenticationError_IncorrectAccountBinding:this.messageService.error("This account does not support account binding operations");break;case a.g.AuthenticationError_IncorrectPhoneVerificationCode:this.signInForm.form.get("password").setErrors({"phone-veri-code-not-correct":!0});break;case a.g.AuthenticationError_IdentityVerifyFailedSignOut:this.redirect.emit(r);break;default:this.messageService.error("reverify-identity"===this.ndMode?"Failed to verify":`[${e.errorCode}] ${e.message}`),this.signInForm.form.get("password").setErrors({"login-error":!0})}}).add(()=>{this.logining=!1}))}switchLoginType(e){this.signinPayload={LoginType:e,RememberMe:this.signinPayload.RememberMe},this.router.navigate([],{queryParams:{lt:"Default"===e?null:e},queryParamsHandling:"merge"})}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(z.g),r.Qb(f.j),r.Qb(z.a),r.Qb(z.n),r.Qb(T.e),r.Qb(k.f),r.Qb(r.v))},e.\u0275cmp=r.Kb({type:e,selectors:[["nd-login-form"]],viewQuery:function(e,t){if(1&e&&r.Xc(y.q,3),2&e){let e;r.Dc(e=r.mc())&&(t.signInForm=e.first)}},inputs:{ndLoginIdentifier:"ndLoginIdentifier",ndBindCurrentAccount:"ndBindCurrentAccount",ndShowLabel:"ndShowLabel",ndScene:"ndScene",ndMode:"ndMode"},outputs:{success:"success",redirect:"redirect"},decls:15,vars:6,consts:function(){let e,t,n,i,r,o,s,a,c,l,u,d,h,p,f,g,b,m,y,v,C,w,S,_,O,x,z,T,k,P,E,D,M,I,A,R,j,V;return e="Security alert: To ensure the security of your actions, please verify your login password. After successful verification, you can continue with your operation.",t="Username/Email",n="Please enter password",i="Username",r="Please enter a username",o="Login failed. User name does not exist",s="Login failed. Email is not registered",a="Password",c="Please enter password",l="User name or password is incorrect",u="Login failed. Incorrect password",d="Verification Code",h="Verification Code",p="Please enter the verification code",f="Verification code or password not correct",g="Resend after " + "\ufffd0\ufffd" + "s",b="Re-Send Verification Code",m="Send Verification Code",y="The system detects that your account has been accessed from a different location, you can only use the system after verification.",v="Please enter an 11 digit phone number.",C="Verification Code",w="Phone Number",S="Please enter phone number.",_="Login failed, phone number is not registered.",O="Verification Code",x="Incorrect verification code",z="Please enter a 6-digit verification code.",T="Re-Send Verification Code",k="Send Verification Code",P="Resend after " + "\ufffd0\ufffd" + "s",E="Remember me",D="Forgot password?",M="Submit",I="Login",A="Account Password Login",R="Phone Verification Code Login",j="Register",V="Login",[["nz-form","",1,"nd-navbar-login-form",3,"ngSubmit"],["style","margin-bottom: 16px;","nzType","warning","nzMessage",e,4,"ngIf"],["style","height: 0; overflow: hidden",4,"ngIf"],[4,"ngIf"],["class","nd-navbar-login-form__extra",4,"ngIf"],["nzType","warning","nzMessage",e,2,"margin-bottom","16px"],[2,"height","0","overflow","hidden"],["name","email","type","email",3,"value"],["name","password","type","password",3,"value"],["nzFor","username",3,"nzXs",4,"ngIf"],[3,"nzErrorTip"],["type","text","nz-input","","name","username","placeholder",t,3,"disabled","ngModel","ngModelChange"],["errorTips",""],["nzFor","password",3,"nzXs",4,"ngIf"],[1,"nd-navbar-login-form__input-wrapper"],["nz-input","","name","password","placeholder",n,3,"type","ngModel","ngModelChange"],[1,"nd-navbar-login-form__input-suffix"],["nz-icon","",1,"nd-navbar-login-form__icon",3,"nzType","click"],["passwordErrorTips",""],["nzFor","username",3,"nzXs"],i,r,o,s,["nzFor","password",3,"nzXs"],a,c,l,u,["nzFor","token",3,"nzXs",4,"ngIf"],["nz-row","","nzAlign","middle","nzGutter","12",3,"nzGutter"],["nz-col","",3,"nzSpan"],["nz-input","","name","token","type","text","placeholder",d,"maxlength","6",3,"ngModel","ndValidate","ngModelChange"],["loginTokenErrorTips",""],[3,"ndValue"],["ndCountDownContent",""],["ndCountDownExpired",""],["class","dida-sign-in-form__special-login-notice nd-text_warning",4,"ngIf"],["nzFor","token",3,"nzXs"],h,p,f,["nz-button","","nzType","default",3,"disabled"],g,["nz-button","","nzType","default",3,"nzLoading","disabled","click"],b,m,[1,"dida-sign-in-form__special-login-notice","nd-text_warning"],y,["name","username","ndCountryCode","CN","ndPlaceholder",v,3,"ngModel","ndValidate","disabled","ngModelChange"],["usernameErrorTips",""],["suffixPlaceholder",""],["nzAlign","middle","nzGutter","12"],["type","text","nz-input","","name","password","required","","pattern","^\\d+$","placeholder",C,2,"width","144px",3,"ndValidate","ngModel","ngModelChange"],["phoneCtrl","ngModel"],["phoneVeriCodeTip",""],["nz-button","",3,"nzLoading","click",4,"ngIf"],[3,"ndValue","ndExpire",4,"ngIf"],w,S,_,O,x,z,["nz-button","",3,"nzLoading","click"],T,k,[3,"ndValue","ndExpire"],["coolDownTimer",""],["nz-button","","disabled",""],P,["class","nd-navbar-login-form__login-opt",4,"ngIf"],[1,"nd-navbar-login-form__extra"],[3,"nzOffset"],["nz-button","","nzSize","large","nzBlock","",3,"nzType","nzLoading","ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"nd-navbar-login-form__login-opt"],["nzJustify","space-between"],[3,"nzOffset",4,"ngIf"],["nz-checkbox","","name","remember"],E,["routerLink","/account/find-password",1,"nd-navbar-login-form__forgot"],D,M,I,[3,"ngSwitch",4,"ngIf"],[3,"ngSwitch"],[3,"click",4,"ngSwitchCase"],[3,"click"],A,R,["routerLink","/account/register"],j,["nz-button","","nzSize","large","nzBlock","",3,"nzType","nzLoading"],V]},template:function(e,t){1&e&&(r.Wb(0,"form",0),r.lc("ngSubmit",function(){return t.submitForm()}),r.Sc(1,"\n "),r.Qc(2,$,1,0,"nz-alert",1),r.Sc(3,"\n "),r.Qc(4,Q,6,2,"div",2),r.Sc(5,"\n "),r.Qc(6,fe,38,10,"ng-container",3),r.Sc(7,"\n "),r.Qc(8,Ee,45,13,"ng-container",3),r.Sc(9,"\n "),r.Qc(10,We,19,7,"ng-container",3),r.Sc(11,"\n "),r.Qc(12,He,8,2,"nz-form-item",4),r.Sc(13,"\n"),r.Vb(),r.Sc(14,"\n")),2&e&&(r.Cb(2),r.wc("ngIf","reverify-identity"===t.ndMode),r.Cb(2),r.wc("ngIf",!t.ndLoginIdentifier&&t.ndBindCurrentAccount),r.Cb(2),r.wc("ngIf","Default"===t.signinPayload.LoginType),r.Cb(2),r.wc("ngIf","CellPhone"===t.signinPayload.LoginType),r.Cb(2),r.wc("ngIf",!t.ndBindCurrentAccount),r.Cb(2),r.wc("ngIf",t.ndBindCurrentAccount))},directives:[y.w,y.p,y.q,P.b,E.o,D.a,M.c,P.c,M.a,P.a,I.b,y.d,y.o,y.r,A.a,R.a,j.a,P.d,V.a,y.l,L.a,N.a,F.a,B.a,W.a,H.a,y.u,y.s,E.q,E.r,E.s,U.a,z.j],styles:[".nd-navbar-login-form.ant-form-horizontal .ant-form-item{margin-bottom:20px}.nd-navbar-login-form.ant-form-horizontal .ant-form-item .ant-input{padding:7px 11px}.nd-navbar-login-form__input-wrapper{position:relative}.nd-navbar-login-form__input-suffix{position:absolute;right:4px;padding:4px;top:3px}.nd-navbar-login-form__extra{margin-top:24px;margin-bottom:10px}"],encapsulation:2}),e})();function $e(e,t){1&e&&(r.Wb(0,"h3"),r.ac(1,4),r.Vb())}function Qe(e,t){if(1&e){const e=r.Xb();r.Wb(0,"label",5),r.lc("nzCheckedChange",function(t){return r.Hc(e),r.oc().bindCurrentAccount=t}),r.Sc(1,"\u7ed1\u5b9a\u5f53\u524d\u8d26\u53f7"),r.Vb()}if(2&e){const e=r.oc();r.wc("nzChecked",e.bindCurrentAccount)}}let Ge=(()=>{class e extends f.o{constructor(e,t,n,i,o){super(),this.router=e,this.appService=t,this.route=n,this.urlSerializer=i,this.bmService=o,this.success=new r.n}ngOnInit(){}submitForm(){this.signInForm.submitForm()}handleRedirection(e){let t=null;(null==e?void 0:e.NeedNotifyLoginRegionChange)&&(null==e?void 0:e.CurrentLoginRecord)&&(t=Math.random().toString(10).substr(2,12),p.a.save(o.d,JSON.stringify(Object.assign(Object.assign({},e.CurrentLoginRecord),{__notice_key__:t}))));let n=decodeURIComponent(this.route.snapshot.queryParams.returnUrl||"");const i=location.protocol+"//"+location.host;if(n.includes("//")||(n=i+n),n&&!n.startsWith(i))location.href=n;else{n=n.slice(i.length);let e="/hotel";this.isAllowAccess(o.c.ResourceHotel_Price_Search)||this.isAllowAccess(o.c.ResourceFlight_Price_Search)&&(e="/flight"),this.userProfile.ClientID&&this.userProfile.EmailConfirmed||(e="/account/register");const r=n.split("?");let s={"from-login":1};if(t&&(s[o.e]=t),r.length>0){const e=this.urlSerializer.parse(n);s=Object.assign(Object.assign({},s),e.queryParams),n=r[0]}this.router.navigate([n||e],{queryParams:s,replaceUrl:!0})}}onSignInSuccess(e){this.bmService.trackEvent("CellPhone"===e.loginType?{action:"LoginByPhone",category:""}:{action:"LoginByDefault",category:null}),this.success.next(e)}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(z.g),r.Qb(f.j),r.Qb(z.a),r.Qb(z.n),r.Qb(f.l))},e.\u0275cmp=r.Kb({type:e,selectors:[["nd-navbar-login-modal"]],viewQuery:function(e,t){if(1&e&&r.Xc(Ue,3),2&e){let e;r.Dc(e=r.mc())&&(t.signInForm=e.first)}},inputs:{loginIdentifier:"loginIdentifier",bindCurrentAccount:"bindCurrentAccount"},outputs:{success:"success"},features:[r.zb],decls:15,vars:4,consts:function(){let e;return e="Welcome to Didatravel",[["nzJustify","space-between",1,"nd-login-modal__title"],[4,"ngIf"],["for","","nz-checkbox","",3,"nzChecked","nzCheckedChange",4,"ngIf"],[3,"ndLoginIdentifier","ndBindCurrentAccount","success","redirect"],e,["for","","nz-checkbox","",3,"nzChecked","nzCheckedChange"]]},template:function(e,t){1&e&&(r.Wb(0,"nz-row",0),r.Sc(1,"\n "),r.Wb(2,"nz-col"),r.Sc(3,"\n "),r.Qc(4,$e,2,0,"h3",1),r.Sc(5,"\n "),r.Vb(),r.Sc(6,"\n "),r.Wb(7,"nz-col"),r.Sc(8,"\n "),r.Qc(9,Qe,2,1,"label",2),r.Sc(10,"\n "),r.Vb(),r.Sc(11,"\n"),r.Vb(),r.Sc(12,"\n\n"),r.Wb(13,"nd-login-form",3),r.lc("success",function(e){return t.onSignInSuccess(e)})("redirect",function(e){return t.handleRedirection(e)}),r.Vb(),r.Sc(14,"\n")),2&e&&(r.Cb(4),r.wc("ngIf",!t.bindCurrentAccount),r.Cb(5),r.wc("ngIf",t.isDev),r.Cb(4),r.wc("ndLoginIdentifier",t.loginIdentifier)("ndBindCurrentAccount",t.bindCurrentAccount))},directives:[M.c,M.a,E.o,Ue,U.a],styles:[".nd-login-modal__title{margin-bottom:22px}.nd-login-modal .ant-modal-content{border-radius:12px}.nd-login-modal .ant-modal-content .ant-modal-close{top:unset;bottom:-60px;left:calc(50% - 20px);height:40px;width:40px;line-height:40px;color:#fff;font-size:16px;text-align:center;border-radius:40px;border:1px solid #fff}.nd-login-modal .ant-modal-content .ant-modal-header{border-radius:12px 12px 0 0;padding:10px 20px;text-align:center}.nd-login-modal .ant-modal-content .ant-modal-body{padding:20px}.nd-login-modal .ant-modal-content .ant-modal-body h2{margin-bottom:4px}"],encapsulation:2}),e})();var Ye=n("XNiG");const Ke=new class{constructor(){this.LoginVisibleSubject=new Ye.a,this.LoginVisibleSubjectSub=this.LoginVisibleSubject.asObservable()}changeLoginVisible(e=!0){this.LoginVisibleSubject.next(e)}};var Xe=n("NJZU"),qe=n("Cw5e"),Je=n("a8Jl"),Ze=n("pdGh"),et=n("SjsC"),tt=n("yx2K"),nt=n("4xsP"),it=n("jJa6"),rt=n("nJia"),ot=n("9lI/");function st(e,t){1&e&&(r.Wb(0,"div"),r.Sc(1,"\n "),r.Rb(2,"nd-icon",2),r.Sc(3,"\n "),r.Vb())}function at(e,t){if(1&e&&(r.Wb(0,"span"),r.Sc(1),r.pc(2,"ndDate"),r.pc(3,"ndDate"),r.Vb()),2&e){const e=r.oc(2);r.Cb(1),r.Vc("\n ",r.rc(2,2,e.effectiveTime.From,e.dateFormat)," ~ ",r.rc(3,5,e.effectiveTime.To,e.dateFormat.slice(5)),"\n ")}}function ct(e,t){1&e&&(r.Wb(0,"div"),r.Sc(1,"\n "),r.Wb(2,"nz-space"),r.Sc(3,"\n "),r.Qc(4,st,4,0,"div",1),r.Sc(5,"\n "),r.Qc(6,at,4,8,"span",1),r.Sc(7,"\n "),r.Vb(),r.Sc(8,"\n "),r.Vb())}function lt(e,t){1&e&&(r.Wb(0,"div"),r.Sc(1,"\n "),r.Rb(2,"nd-icon",5),r.Sc(3,"\n "),r.Vb())}function ut(e,t){1&e&&(r.Ub(0),r.ac(1,8),r.Tb())}function dt(e,t){if(1&e&&(r.Ub(0),r.Sc(1),r.pc(2,"date"),r.pc(3,"date"),r.Tb()),2&e){const e=r.oc(3);r.Cb(1),r.Vc("\n ",r.rc(2,2,e.ndCoupon.RestrictionRuleModel.CheckInDateRestriction.From,"yyyy-MM-dd")," ~\n ",r.rc(3,5,e.ndCoupon.RestrictionRuleModel.CheckInDateRestriction.To,"MM-dd"),"\n ")}}function ht(e,t){if(1&e&&(r.Wb(0,"span",6),r.Sc(1,"\n "),r.Qc(2,ut,2,0,"ng-container",7),r.Sc(3,"\n "),r.Qc(4,dt,4,8,"ng-container",7),r.Sc(5,"\n "),r.Vb()),2&e){const e=r.oc(2);r.wc("ngSwitch",e.ndCoupon.RestrictionRuleModel.CheckInDateRestriction.RestrictionType),r.Cb(2),r.wc("ngSwitchCase",e.RestrictionType.Disabled),r.Cb(2),r.wc("ngSwitchCase",e.RestrictionType.ApplyBoth)}}function pt(e,t){1&e&&(r.Wb(0,"div"),r.Sc(1,"\n "),r.Wb(2,"nz-space",3),r.Sc(3,"\n "),r.Qc(4,lt,4,0,"div",1),r.Sc(5,"\n\n "),r.Qc(6,ht,6,3,"span",4),r.Sc(7,"\n "),r.Vb(),r.Sc(8,"\n "),r.Vb())}let ft=(()=>{class e{constructor(){this.RestrictionType=s.e}get dateFormat(){return this.hideTime?"yyyy-MM-dd":"yyyy-MM-dd HH:mm"}get effectiveTime(){return this.ndCoupon.RestrictionRuleModel.OrderTimeRestriction.RestrictionType!==s.e.Disabled?this.ndCoupon.RestrictionRuleModel.OrderTimeRestriction:this.ndCoupon.EffectiveTimeSetting}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Kb({type:e,selectors:[["nd-coupon-restriction"]],inputs:{ndCoupon:"ndCoupon",ndSize:"ndSize",hideTime:"hideTime"},decls:8,vars:1,consts:function(){let e,t,n;return e="Validity period",t="Check-In/Out",n="Not limited to check-in date",[["nzDirection","vertical",3,"nzSize"],[4,"nzSpaceItem"],["ndType","clock-fill","nz-tooltip","","nzTooltipTitle",e],["nzAlign","center"],[3,"ngSwitch",4,"nzSpaceItem"],["nd-icon","","ndType","calendar-fill","nz-tooltip","","nzTooltipTitle",t],[3,"ngSwitch"],[4,"ngSwitchCase"],n]},template:function(e,t){1&e&&(r.Sc(0,"\n "),r.Wb(1,"nz-space",0),r.Sc(2,"\n "),r.Qc(3,ct,9,0,"div",1),r.Sc(4,"\n "),r.Qc(5,pt,9,0,"div",1),r.Sc(6,"\n "),r.Vb(),r.Sc(7,"\n ")),2&e&&(r.Cb(1),r.wc("nzSize",t.ndSize))},directives:[nt.a,nt.b,it.a,rt.d,E.q,E.r],pipes:[ot.a,E.f],encapsulation:2,changeDetection:0}),e})();var gt=n("oZ7g");function bt(e,t){1&e&&(r.Ub(0),r.Sc(1,"\n "),r.Wb(2,"div",18),r.ac(3,19),r.Vb(),r.Sc(4,"\n "),r.Tb())}function mt(e,t){1&e&&(r.Wb(0,"div"),r.Sc(1,"\n "),r.Ub(2),r.ac(3,20),r.Tb(),r.Sc(4,"\n "),r.Vb())}function yt(e,t){if(1&e&&(r.Wb(0,"div",25),r.Sc(1,"\n "),r.Ub(2),r.ac(3,26),r.pc(4,"currency"),r.Tb(),r.Sc(5,"\n "),r.Vb()),2&e){const e=r.oc().ngIf;r.Cb(4),r.ec(r.tc(4,1,e.MinimumPurchaseAmount,e.Currency,"code","1.0-2")),r.bc(3)}}function vt(e,t){1&e&&(r.Wb(0,"div",25),r.Sc(1,"\n "),r.Wb(2,"a",27),r.ac(3,28),r.Vb(),r.Sc(4,"\n "),r.Vb())}function Ct(e,t){if(1&e&&(r.Wb(0,"div",21),r.Sc(1,"\n "),r.Wb(2,"div",22),r.Sc(3,"\n "),r.Rb(4,"nd-coupon-reward-amount",23),r.Sc(5,"\n "),r.Vb(),r.Sc(6,"\n "),r.Qc(7,yt,6,6,"div",24),r.Sc(8,"\n "),r.Qc(9,vt,5,0,"div",24),r.Sc(10,"\n "),r.Vb()),2&e){const e=t.ngIf;r.Cb(4),r.wc("ndSetting",e),r.Cb(3),r.wc("ngIf",e.MinimumPurchaseAmount),r.Cb(2),r.wc("ngIf",1===e.CampaignRewardAdjustmentTypeID)}}function wt(e,t){if(1&e&&(r.Wb(0,"div",11),r.Sc(1,"\n "),r.Qc(2,bt,5,0,"ng-container",12),r.Sc(3,"\n "),r.Wb(4,"div",13),r.Sc(5,"\n "),r.Wb(6,"div",14),r.Sc(7),r.Vb(),r.Sc(8,"\n "),r.Rb(9,"nd-coupon-restriction",15),r.Sc(10,"\n "),r.Qc(11,mt,5,0,"div",12),r.Sc(12,"\n "),r.Vb(),r.Sc(13,"\n "),r.Rb(14,"div",16),r.Sc(15,"\n "),r.Qc(16,Ct,11,3,"div",17),r.Sc(17,"\n "),r.Vb()),2&e){const e=t.$implicit,n=r.oc();r.Cb(2),r.wc("ngIf",2===e.CampaignType),r.Cb(5),r.Tc(n.getDisplayName(e)),r.Cb(2),r.wc("hideTime",!1)("ndCoupon",e),r.Cb(2),r.wc("ngIf",0!==e.RestrictionRuleModel.HotelRestriction.RestrictionType),r.Cb(5),r.wc("ngIf",e.RewardSettingReference||e.RewardSetting)}}let St=(()=>{class e{constructor(e,t){this.modalRef=e,this.lang=t,this.hide=new r.n,this.restrictionType=s.e,this.AdjustmentType=et.a}getEffectDay(e){return a.f.getDateOffset(e.EffectiveTimeSetting.From,e.EffectiveTimeSetting.To)}hideModal(){this.modalRef.close()}getCurencySymbol(e){return Object(E.z)(e,"narrow")}getDisplayName(e){return e.RewardSetting.CampaignRewardAdjustmentTypeID===et.a.Percentage?"Discount Coupon":"zh-CN"===this.lang?e.DisplayName_CN:e.DisplayName_EN}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(k.e),r.Qb(r.v))},e.\u0275cmp=r.Kb({type:e,selectors:[["nd-navbar-campaign-modal"]],inputs:{list:"list"},outputs:{hide:"hide"},decls:28,vars:1,consts:function(){let e,t,n,i,r,o;return e="You have unused coupons.",t="Got it",n="New User",i="Selected hotels only",r="Valid when " + "\ufffd0\ufffd" + "+",o="Rules of Use",[[1,"nd-campaign-modal-panel"],[1,"nd-campaign-modal-panel__header"],["ndOssSrc","~/imgs/campaign-modal-header.webp","alt","",1,"nd-campaign-modal-panel__header-img"],[1,"nd-campaign-modal-panel__header-title"],e,[1,"nd-campaign-modal-panel__body","nd-scrollable"],[1,"nd-campaign-list"],["class","nd-campaign-list__item nd-campaign-list-item",4,"ngFor","ngForOf"],[1,"nd-campaign-modal-panel__footer"],["nz-button","","nzShape","round","nzType","primary","nzSize","large","nzBlock","",1,"nd-campaign-modal-panel__footer-btn",3,"click"],t,[1,"nd-campaign-list__item","nd-campaign-list-item"],[4,"ngIf"],[1,"nd-campaign-list-item__left"],[1,"nd-campaign-list-item__title"],[3,"hideTime","ndCoupon"],[1,"nd-campaign-list-item__split"],["class","nd-campaign-list-item__right",4,"ngIf"],[1,"nd-campaign-list-item__newbee"],n,i,[1,"nd-campaign-list-item__right"],[1,"nd-campaign-list-item__price-wrapper"],[3,"ndSetting"],["class","nd-campaign-list-item__text",4,"ngIf"],[1,"nd-campaign-list-item__text"],r,["href","/account/manage/coupon",1,"nd-text_underline",2,"color","inherit"],o]},template:function(e,t){1&e&&(r.Wb(0,"div",0),r.Sc(1,"\n "),r.Wb(2,"div",1),r.Sc(3,"\n "),r.Rb(4,"img",2),r.Sc(5,"\n "),r.Wb(6,"div",3),r.Sc(7,"\n "),r.Ub(8),r.ac(9,4),r.Tb(),r.Sc(10,"\n "),r.Vb(),r.Sc(11,"\n "),r.Vb(),r.Sc(12,"\n "),r.Wb(13,"div",5),r.Sc(14,"\n "),r.Wb(15,"div",6),r.Sc(16,"\n "),r.Qc(17,wt,18,6,"div",7),r.Sc(18,"\n "),r.Vb(),r.Sc(19,"\n "),r.Vb(),r.Sc(20,"\n "),r.Wb(21,"div",8),r.Sc(22,"\n "),r.Wb(23,"button",9),r.lc("click",function(){return t.hideModal()}),r.ac(24,10),r.Vb(),r.Sc(25,"\n "),r.Vb(),r.Sc(26,"\n"),r.Vb(),r.Sc(27,"\n")),2&e&&(r.Cb(17),r.wc("ngForOf",t.list))},directives:[tt.a,E.n,B.a,W.a,j.a,E.o,ft,gt.a],pipes:[E.d],styles:['.nd-campaign-modal-panel__wrapper{max-width:540px;max-height:650px}.nd-campaign-modal-panel__wrapper .ant-modal-content{border-radius:16px}.nd-campaign-modal-panel__wrapper .ant-modal-content .ant-modal-body{padding:0}.nd-campaign-modal-panel__header{position:relative}.nd-campaign-modal-panel__header-img{width:100%}.nd-campaign-modal-panel__header-title{position:absolute;width:100%;text-align:center;color:#2c2a2a;font-size:26px;line-height:20px;font-weight:700;bottom:44px}.nd-campaign-modal-panel__body{position:relative;max-height:232px;padding:10px 20px}.nd-campaign-modal-panel__footer{width:30%;margin:0 auto}.nd-campaign-modal-panel__footer-btn{transform:translateY(50%);box-shadow:none!important}.nd-campaign-list__item{color:#d4485e;background:#fce6e6;border-radius:8px;padding:12px 16px}.nd-campaign-list-item{display:flex;position:relative;font-size:14px;line-height:22px}.nd-campaign-list-item+.nd-campaign-list-item{margin-top:12px}.nd-campaign-list-item__newbee{background-image:url(https://dsimage.didatravel.com/webapp-assets/imgs/coupon/coupon-type-newbee.svg);width:118px;height:21px;line-height:21px;font-size:12px;font-weight:500;text-align:center;position:absolute;top:-8px;right:8px;color:#fff}.nd-campaign-list-item__left{flex:7}.nd-campaign-list-item__right{flex:4;align-self:end;text-align:center}.nd-campaign-list-item__split{position:relative;border-left:1px dashed #e9385b;margin:0 10px}.nd-campaign-list-item__split:after,.nd-campaign-list-item__split:before{content:"";position:absolute;display:inline-block;width:20px;height:20px;background-color:#fff;border-radius:20px;left:-10px}.nd-campaign-list-item__split:before{top:-24px}.nd-campaign-list-item__split:after{bottom:-24px}.nd-campaign-list-item__title{font-weight:700}.nd-campaign-list-item__price-wrapper{margin-bottom:4px;margin-left:8px}.nd-campaign-list-item__price-wrapper strong{font-size:30px}'],encapsulation:2,changeDetection:0}),e})();const _t=function(){return["/account","manage","client","security-setting"]};function Ot(e,t){if(1&e){const e=r.Xb();r.Wb(0,"span"),r.gc(1,14),r.Wb(2,"a",15),r.lc("click",function(){return r.Hc(e),r.oc(2).close(200)}),r.Vb(),r.dc(),r.Vb()}2&e&&(r.Cb(2),r.wc("routerLink",r.Ac(1,_t)))}function xt(e,t){1&e&&(r.Wb(0,"span"),r.ac(1,16),r.Vb())}function zt(e,t){if(1&e&&(r.Ub(0),r.Sc(1,"\n "),r.Qc(2,Ot,3,2,"span",6),r.Sc(3,"\n "),r.Qc(4,xt,2,0,"span",6),r.Sc(5,"\n "),r.Tb()),2&e){const e=r.oc();r.Cb(2),r.wc("ngIf",e.allowEditSecuritySetting),r.Cb(2),r.wc("ngIf",!e.allowEditSecuritySetting)}}let Tt=(()=>{class e{constructor(e){this.modalRef=e}get loginTimeDisplay(){return this._loginTimeDisplay}get locationDisplay(){return this._locationDisplay}get ipDisplay(){return this._ipDisplay}ngOnInit(){this.flushDisplayTxt()}ngOnChanges(e){this.flushDisplayTxt()}flushDisplayTxt(){const e=a.f.unixTimeStampToLocalTime(this.loginRecord.LoginTimestamp);this._loginTimeDisplay=a.f.format(e,"yyyy-MM-dd HH:mm:ss");const t=new Set;this._locationDisplay=[this.loginRecord.Country,this.loginRecord.Region,this.loginRecord.City,this.loginRecord.District].filter(e=>e&&e.length>0&&t.sizet>1?"***":e).join(".")}close(e=0){setTimeout(()=>{this.modalRef.close()},e)}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(k.e))},e.\u0275cmp=r.Kb({type:e,selectors:[["nd-navbar-signin-notice-modal"]],inputs:{key:"key",loginRecord:"loginRecord",showSecuritySettingNotice:"showSecuritySettingNotice",allowEditSecuritySetting:"allowEditSecuritySetting"},features:[r.Ab],decls:68,vars:4,consts:function(){let e,t,n,i,r,o,s;return e="Notice: Your login IP address has changed. Please ensure your account security. Change your password if necessary.",t="Login Time",n="Login Location",i="IP Address",r="OK",o="To ensure the security of your account, you can also enable email verification for remote login. " + "\ufffd#2\ufffd" + "Go to settings." + "\ufffd/#2\ufffd" + "",s="If you want to modify this security setting, please contact your administrator for assistance.",[[1,"signin-notice-modal"],[1,"signin-notice-modal__header"],["ndOssSrc","/v2-app/images/common/img-notice.svg"],[1,"signin-notice-modal__body","signin-notice-modal-body"],[1,"signin-notice-modal-body__message"],e,[4,"ngIf"],[1,"signin-notice-modal-body__info-list"],t,n,i,[1,"signin-notice-modal-body__action"],["nz-button","","nzType","primary","nzSize","large",3,"click"],r,o,[3,"routerLink","click"],s]},template:function(e,t){1&e&&(r.Wb(0,"div",0),r.Sc(1,"\n "),r.Wb(2,"div",1),r.Sc(3,"\n "),r.Rb(4,"img",2),r.Sc(5,"\n "),r.Vb(),r.Sc(6,"\n "),r.Wb(7,"div",3),r.Sc(8,"\n "),r.Wb(9,"div",4),r.Sc(10,"\n "),r.Wb(11,"span"),r.ac(12,5),r.Vb(),r.Sc(13,"\n "),r.Qc(14,zt,6,2,"ng-container",6),r.Sc(15,"\n "),r.Vb(),r.Sc(16,"\n "),r.Wb(17,"div",7),r.Sc(18,"\n "),r.Wb(19,"table"),r.Sc(20,"\n "),r.Wb(21,"tbody"),r.Sc(22,"\n "),r.Wb(23,"tr"),r.Sc(24,"\n "),r.Wb(25,"th"),r.Wb(26,"span"),r.ac(27,8),r.Vb(),r.Sc(28,":"),r.Vb(),r.Sc(29,"\n "),r.Wb(30,"td"),r.Sc(31),r.Vb(),r.Sc(32,"\n "),r.Vb(),r.Sc(33,"\n "),r.Wb(34,"tr"),r.Sc(35,"\n "),r.Wb(36,"th"),r.Wb(37,"span"),r.ac(38,9),r.Vb(),r.Sc(39,":"),r.Vb(),r.Sc(40,"\n "),r.Wb(41,"td"),r.Sc(42),r.Vb(),r.Sc(43,"\n "),r.Vb(),r.Sc(44,"\n "),r.Wb(45,"tr"),r.Sc(46,"\n "),r.Wb(47,"th"),r.Wb(48,"span"),r.ac(49,10),r.Vb(),r.Sc(50,":"),r.Vb(),r.Sc(51,"\n "),r.Wb(52,"td"),r.Sc(53),r.Vb(),r.Sc(54,"\n "),r.Vb(),r.Sc(55,"\n "),r.Vb(),r.Sc(56,"\n "),r.Vb(),r.Sc(57,"\n "),r.Vb(),r.Sc(58,"\n "),r.Wb(59,"div",11),r.Sc(60,"\n "),r.Wb(61,"button",12),r.lc("click",function(){return t.close()}),r.ac(62,13),r.Vb(),r.Sc(63,"\n "),r.Vb(),r.Sc(64,"\n "),r.Vb(),r.Sc(65,"\n"),r.Vb(),r.Sc(66,"\n"),r.Sc(67,"\n")),2&e&&(r.Cb(14),r.wc("ngIf",t.showSecuritySettingNotice),r.Cb(17),r.Tc(t.loginTimeDisplay),r.Cb(11),r.Tc(t.locationDisplay),r.Cb(11),r.Tc(t.ipDisplay))},directives:[tt.a,E.o,B.a,W.a,j.a,z.j],styles:[".nd-navbar-signin-notice-modal .ant-modal-content{border:0;border-radius:22px}.signin-notice-modal[_ngcontent-%COMP%], .signin-notice-modal__header[_ngcontent-%COMP%]{border:0;border-radius:22px 22px 0 0}.signin-notice-modal__header[_ngcontent-%COMP%]{background:#ffdedd;text-align:center;height:87px;position:relative}.signin-notice-modal__header[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{margin:27px auto 0;width:95px}.signin-notice-modal__body[_ngcontent-%COMP%]{min-height:340px;padding:47px 30px 20px;border-radius:0 0 8px 8px}.signin-notice-modal-body__message[_ngcontent-%COMP%]{padding-bottom:24px;color:#1a1933;font-weight:550;line-height:25px}.signin-notice-modal-body__message[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#f32a4e}.signin-notice-modal-body__info-list[_ngcontent-%COMP%]{border-radius:8px;border:1px solid #ced4da;margin-bottom:20px}.signin-notice-modal-body__info-list[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}.signin-notice-modal-body__info-list[_ngcontent-%COMP%] table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{width:80px;white-space:nowrap}.signin-notice-modal-body__info-list[_ngcontent-%COMP%] table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%], .signin-notice-modal-body__info-list[_ngcontent-%COMP%] table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{color:#1f2b4b;padding:10px 0 10px 20px;border-bottom:1px solid #ced4da}.signin-notice-modal-body__info-list[_ngcontent-%COMP%] table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%]:last-child td[_ngcontent-%COMP%], .signin-notice-modal-body__info-list[_ngcontent-%COMP%] table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%]:last-child th[_ngcontent-%COMP%]{border-bottom:unset}.signin-notice-modal-body__action[_ngcontent-%COMP%]{text-align:center}.signin-notice-modal-body__action[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{min-width:130px}"],changeDetection:0}),e})();var kt=n("Cfvw"),Pt=n("itXk"),Et=n("lJxs"),Dt=n("tS1D"),Mt=n("JIr8"),It=n("IzEk"),At=n("y6qV"),Rt=n("3E0/"),jt=n("Etcd"),Vt=n("lR5k"),Lt=n("+Brk");const Nt=["popupMessageModal"],Ft=["popupMessageCarousel"];function Bt(e,t){if(1&e&&(r.Rb(0,"div",10),r.pc(1,"ndTrustHtml")),2&e){const e=r.oc().$implicit;r.wc("innerHTML",r.qc(1,1,e.Content),r.Ic)}}function Wt(e,t){if(1&e&&(r.Sc(0,"\n "),r.Rb(1,"markdown",11),r.Sc(2,"\n ")),2&e){const e=r.oc().$implicit;r.Cb(1),r.wc("data",e.Content)}}function Ht(e,t){if(1&e&&(r.Wb(0,"div",7),r.Sc(1,"\n "),r.Sc(2,"\n "),r.Qc(3,Bt,2,3,"div",8),r.Sc(4,"\n "),r.Qc(5,Wt,3,1,"ng-template",null,9,r.Rc),r.Sc(7,"\n "),r.Vb()),2&e){const e=t.$implicit,n=r.Ec(6),i=r.oc(2);r.Cb(3),r.wc("ngIf",i.isHtml(e.Content))("ngIfElse",n)}}function Ut(e,t){if(1&e){const e=r.Xb();r.Sc(0,"\n "),r.Wb(1,"nz-carousel",4,5),r.lc("nzAfterChange",function(t){return r.Hc(e),r.oc().msgSlideChange(t)}),r.Sc(3,"\n "),r.Qc(4,Ht,8,2,"div",6),r.Sc(5,"\n "),r.Vb(),r.Sc(6,"\n ")}if(2&e){const e=r.oc();r.Cb(1),r.wc("nzEnableSwipe",!1)("nzAutoPlay",!1)("nzDots",e.popupMessageList.length>1),r.Cb(3),r.wc("ngForOf",e.popupMessageList)}}function $t(e,t){if(1&e){const e=r.Xb();r.Ub(0),r.Sc(1,"\n "),r.Wb(2,"button",15),r.lc("click",function(){return r.Hc(e),r.oc(3).popupMessageCarousel.pre()}),r.Sc(3,"\n "),r.Ub(4),r.ac(5,16),r.Tb(),r.Sc(6,"\n "),r.Vb(),r.Sc(7,"\n "),r.Tb()}}function Qt(e,t){if(1&e){const e=r.Xb();r.Ub(0),r.Sc(1,"\n "),r.Wb(2,"button",15),r.lc("click",function(){return r.Hc(e),r.oc(3).popupMessageCarousel.next()}),r.Sc(3,"\n "),r.Ub(4),r.ac(5,17),r.Tb(),r.Sc(6,"\n "),r.Vb(),r.Sc(7,"\n "),r.Tb()}}function Gt(e,t){if(1&e){const e=r.Xb();r.Ub(0),r.Sc(1,"\n "),r.Wb(2,"button",15),r.lc("click",function(){return r.Hc(e),r.oc(3).closePopupMessage()}),r.Sc(3,"\n "),r.Ub(4),r.ac(5,18),r.Tb(),r.Sc(6,"\n "),r.Vb(),r.Sc(7,"\n "),r.Tb()}}function Yt(e,t){if(1&e&&(r.Wb(0,"div",13),r.Sc(1,"\n "),r.Qc(2,$t,8,0,"ng-container",14),r.Sc(3,"\n "),r.Qc(4,Qt,8,0,"ng-container",14),r.Sc(5,"\n "),r.Qc(6,Gt,8,0,"ng-container",14),r.Sc(7,"\n "),r.Vb()),2&e){const e=r.oc(2);r.Cb(2),r.wc("ngIf",e.popupMsgIndex>0),r.Cb(2),r.wc("ngIf",e.popupMsgIndex0)}}let Xt=(()=>{class e{constructor(e,t){this.lang=e,this.messageCenterService=t,this._readedList=[],this.popupMessageList=[],this.popupMsgIndex=-1,this.isHtml=e=>null==e?void 0:e.startsWith("<")}ngOnInit(){}checkPopupMessage(){const e=this.getPopupMessage().map(e=>e.MessageID);if(0===e.length)return Object(O.a)(!1);const t={Category:null,WithMessageContent:!0,MessageIDList:e,PageSize:100,PageNum:1};return Object(f.K)(At.b.get(t,this.lang)).pipe(Object(x.a)(e=>{if(!e.Data||!e.Data.length)return Object(O.a)(!1);this.popupMessageModal.open();const t=this.popupMessageModal.afterOpen.pipe(Object(Rt.a)(100)).subscribe(()=>{this.popupMsgIndex=0,this.popupMessageList=e.Data,t.unsubscribe()});return this.popupMessageModal.afterClose}))}markCurMsgAsRead(){const e=this.popupMessageList[this.popupMsgIndex];e.IsRead=!0,this._readedList.push(e.MessageID),this.messageCenterService.readMessagesById([e.MessageID])}msgSlideChange(e){-1!==this.popupMsgIndex&&this.markCurMsgAsRead(),this.popupMsgIndex=e}closePopupMessage(){this.popupMessageModal.close(),this.markCurMsgAsRead()}getPopupMessage(){return this.messageCenterService.getUnreadMessages().filter(e=>{if(e.IsRead)return!1;if(!e.ExtraSetting||!e.ExtraSetting.ShouldPopup)return!1;if(e.ExtraSetting.StartTime&&new Datenew Date(e.ExtraSetting.ExpireTime))return!1;if(e.ExtraSetting.SpecifyPage){if(!new RegExp(e.ExtraSetting.SpecifyPage,"i").test(location.pathname))return!1;e.ExtraSetting.Order=0}return!this._readedList.includes(e.MessageID)}).sort((e,t)=>e.ExtraSetting.Order>t.ExtraSetting.Order?1:-1)}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.v),r.Qb(f.z))},e.\u0275cmp=r.Kb({type:e,selectors:[["nd-unread-message-modal"]],viewQuery:function(e,t){if(1&e&&(r.Xc(Nt,1),r.Xc(Ft,1)),2&e){let e;r.Dc(e=r.mc())&&(t.popupMessageModal=e.first),r.Dc(e=r.mc())&&(t.popupMessageCarousel=e.first)}},decls:8,vars:4,consts:function(){let e,t,n;return e="Prev",t="Next",n="OK",[["nzClassName","nd-navbar-notice-modal",3,"nzTitle","nzMaskClosable","nzClosable","nzCentered","nzOnCancel"],["popupMessageModal",""],["nzModalContent",""],["nzModalFooter",""],[3,"nzEnableSwipe","nzAutoPlay","nzDots","nzAfterChange"],["popupMessageCarousel",""],["nz-carousel-content","","class","nd-scrollable nd-navbar-notice-modal__message-content",4,"ngFor","ngForOf"],["nz-carousel-content","",1,"nd-scrollable","nd-navbar-notice-modal__message-content"],["class","ck-content nd-vanilla-html",3,"innerHTML",4,"ngIf","ngIfElse"],["renderMd",""],[1,"ck-content","nd-vanilla-html",3,"innerHTML"],[1,"ck-content",3,"data"],["class","nd-text-right",4,"ngIf"],[1,"nd-text-right"],[4,"ngIf"],["nz-button","","nzType","primary",3,"click"],e,t,n]},template:function(e,t){if(1&e){const e=r.Xb();r.Wb(0,"nz-modal",0,1),r.lc("nzOnCancel",function(){return r.Hc(e),r.Ec(1).close()}),r.Sc(2,"\n "),r.Qc(3,Ut,7,4,"ng-template",2),r.Sc(4,"\n\n "),r.Qc(5,Kt,3,1,"ng-template",3),r.Sc(6,"\n"),r.Vb(),r.Sc(7,"\n")}2&e&&r.wc("nzTitle",null==t.popupMessageList[t.popupMsgIndex]?null:t.popupMessageList[t.popupMsgIndex].Title)("nzMaskClosable",!1)("nzClosable",!1)("nzCentered",!0)},directives:[k.a,k.b,k.c,jt.a,E.n,jt.b,E.o,Vt.a,B.a,W.a,j.a],pipes:[Lt.a],styles:[""]}),e})();var qt=n("k8Rb");const Jt=new class extends qt.a{constructor(){super("MarketingPushService")}queryMarketingPushList(e){return this.httpClientWrapper.post("/MarketingPushRule/QueryMarketingPushRuleList",{login:e})}pushRuleReceiverEvent(e){return this.httpClientWrapper.post("/MarketingPushRule/PushRuleReceiverEvent",e)}},Zt=["modalContent"];function en(e,t){if(1&e){const e=r.Xb();r.Ub(0),r.Sc(1,"\n "),r.Wb(2,"a",2),r.lc("click",function(n){r.Hc(e);const i=t.ngIf;return r.oc(2).onImageClick(i,n)}),r.Sc(3,"\n "),r.Rb(4,"img",3),r.Sc(5,"\n "),r.Vb(),r.Sc(6,"\n "),r.Tb()}if(2&e){const e=t.ngIf;r.Cb(2),r.wc("href",e.ContentDetailModel.Url,r.Kc),r.Cb(2),r.wc("ndOssSrc",e.ContentDetailModel.MarketPicture)}}function tn(e,t){if(1&e&&(r.Sc(0,"\n "),r.Qc(1,en,7,2,"ng-container",1),r.Sc(2,"\n ")),2&e){const e=t.$implicit,n=r.oc();r.Cb(1),r.wc("ngIf",n.asShoppingMarketingPushModel(e))}}let nn=(()=>{class e{constructor(e){this.modalService=e,this.asShoppingMarketingPushModel=e=>e}ngOnInit(){}checkPushList(e){return Object(f.K)(Jt.queryMarketingPushList(e)).pipe(Object(x.a)(e=>(null==e?void 0:e.length)?this._showPushModal(e):Object(O.a)(null)))}_showPushModal(e){const t=e.shift();if(!t)return Object(O.a)(null);const n=this.modalService.create({nzContent:this.modalContent,nzComponentParams:t,nzFooter:null,nzClosable:!0,nzMaskClosable:!1,nzWidth:600,nzCentered:!0,nzClassName:"nd-marketing-push-modal"});return n.afterOpen.pipe(Object(x.a)(()=>Object(f.K)(Jt.pushRuleReceiverEvent({Event:"View",PushRuleID:t.ID})))).subscribe(()=>{},e=>{}),n.afterClose.pipe(Object(x.a)(()=>this._showPushModal(e)))}onImageClick(e,t){e.ContentDetailModel.Url?Object(f.K)(Jt.pushRuleReceiverEvent({Event:"Click",PushRuleID:e.ID})).subscribe(()=>{},e=>{}):t.preventDefault()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(k.f))},e.\u0275cmp=r.Kb({type:e,selectors:[["nd-marketing-push-modal"]],viewQuery:function(e,t){if(1&e&&r.Xc(Zt,3),2&e){let e;r.Dc(e=r.mc())&&(t.modalContent=e.first)}},decls:4,vars:0,consts:[["modalContent",""],[4,"ngIf"],["target","_blank",3,"href","click"],["alt","",1,"nd-marketing-push-modal__img",3,"ndOssSrc"]],template:function(e,t){1&e&&(r.Sc(0,"\n "),r.Qc(1,tn,3,1,"ng-template",null,0,r.Rc),r.Sc(3,"\n "))},directives:[E.o,tt.a],styles:[".nd-marketing-push-modal .ant-modal-content{background-color:initial}.nd-marketing-push-modal .ant-modal-content .ant-modal-body{padding:0;border-radius:30px;overflow:hidden}.nd-marketing-push-modal .nd-marketing-push-modal__img{width:100%}"],encapsulation:2}),e})();var rn=n("VRyK"),on=n("7o/Q");function sn(e){return t=>t.lift(new an(e))}class an{constructor(e){this.predicate=e}call(e,t){return t.subscribe(new cn(e,this.predicate))}}class cn extends on.a{constructor(e,t){super(e),this.predicate=t,this.skipping=!0,this.index=0}_next(e){const t=this.destination;this.skipping&&this.tryCallPredicate(e),this.skipping||t.next(e)}tryCallPredicate(e){try{const t=this.predicate(e,this.index++);this.skipping=Boolean(t)}catch(t){this.destination.error(t)}}}class ln{constructor(e){Object.assign(this,Object.assign(Object.assign({},e),{ExpiredTime:e.ExpiredTime&&new Date(e.ExpiredTime),Steps:e.Steps.map(e=>new un(e))}))}get expired(){return+this.ExpiredTime-Date.now()>0}switchLanguage(e){return this.Steps.map(t=>t.switchLanguage(e)),this}}class un extends a.p{}var dn=n("+oEP");const hn=["stepPopover"];function pn(e,t){if(1&e){const e=r.Xb();r.Wb(0,"button",11),r.lc("click",function(){return r.Hc(e),r.oc(3).onCancel()}),r.Sc(1,"\n "),r.Ub(2),r.ac(3,12),r.Tb(),r.Sc(4,"\n "),r.Vb()}}function fn(e,t){1&e&&(r.Ub(0),r.ac(1,13),r.Tb())}function gn(e,t){1&e&&(r.Ub(0),r.ac(1,14),r.Tb())}function bn(e,t){if(1&e){const e=r.Xb();r.Sc(0,"\n "),r.Wb(1,"div",6),r.Sc(2),r.Vb(),r.Sc(3,"\n "),r.Wb(4,"div",7),r.Sc(5,"\n "),r.Qc(6,pn,5,0,"button",8),r.Sc(7,"\n "),r.Wb(8,"button",9),r.lc("click",function(){return r.Hc(e),r.oc(2).onConfirm()}),r.Sc(9,"\n "),r.Qc(10,fn,2,0,"ng-container",10),r.Sc(11,"\n "),r.Qc(12,gn,2,0,"ng-container",10),r.Sc(13,"\n "),r.Vb(),r.Sc(14,"\n "),r.Vb(),r.Sc(15,"\n ")}if(2&e){const e=r.oc(2);r.Cb(2),r.Uc("\n ",e.currentStep.Desc,"\n "),r.Cb(4),r.wc("ngIf",!e.isLastStep),r.Cb(4),r.wc("ngIf",e.isLastStep),r.Cb(2),r.wc("ngIf",!e.isLastStep)}}function mn(e,t){if(1&e&&(r.Wb(0,"div",1),r.Sc(1,"\n "),r.Wb(2,"div",2),r.Sc(3,"\n "),r.Wb(4,"div",3,4),r.Sc(6,"\n "),r.Qc(7,bn,16,4,"ng-template",null,5,r.Rc),r.Sc(9,"\n "),r.Vb(),r.Sc(10,"\n "),r.Vb(),r.Sc(11,"\n "),r.Vb()),2&e){const e=r.Ec(8);r.Cb(4),r.wc("nzPopoverVisible",!0)("nzPopoverContent",e)("nzPopoverBackdrop",!0)("nzPopoverPlacement","bottom")("nzPopoverTrigger",null)}}let yn=(()=>{class e extends f.o{constructor(e,t,n,i){super(),this.router=e,this.featureGuideService=t,this.localeID=n,this.cdr=i,this.isLastStep=!1}markCurrentGuideAsRead(){Object(f.K)(o.g.readSiteFeatureLabel(this.currentGuide.ID)).subscribe(()=>{}),this.currentStep=null,this.currentGuide=null,this.cdr.markForCheck()}isActiveFeatureLabel(e){return!e.IsTestFeature||!this.hasAnyExperiments([this.ExperimentID.AllowViewTestingFeature])}ngOnInit(){Object(f.K)(o.g.getNewFeatureLabels()).pipe(Object(Et.a)(e=>e.filter(this.isActiveFeatureLabel)),Object(Et.a)(e=>e.map(e=>e.FeatureLabel)),sn(e=>!((null==e?void 0:e.length)>0)),Object(x.a)(e=>Object(f.K)(h.c.getResourceEntity(h.a.CommonData,"FeatureGuide")).pipe(Object(Et.a)(({EntityValue:t})=>t.map(e=>new ln(e).switchLanguage(this.localeID)).filter(e=>!e.expired).filter(t=>e.includes(t.ID))),sn(e=>0===e.length)))).subscribe(e=>{let t=e.filter(e=>e.AutoDetect);t.length&&Object(rn.a)([Object(O.a)(1),this.router.events.pipe(Object(m.a)(e=>e instanceof z.c))]).subscribe(()=>{this.checkAvailableGuide(t)});let n=e.filter(e=>!e.AutoDetect);n.length&&this.featureGuideService.onDetect.subscribe(()=>{this.checkAvailableGuide(n)})}),this.featureGuideService.onDetect.subscribe(e=>{})}ngOnDestroy(){}checkAvailableGuide(e){let t=e.findIndex(e=>!e.Path||new RegExp(e.Path).test(location.pathname));if(t<0)return;let n=e.splice(t,1)[0];n&&(this.currentGuide=n,this.currentStepList=n.Steps,setTimeout(()=>{this.handleFeatureGuideStep()},1e3))}handleFeatureGuideStep(){const e=this.currentStep=this.currentStepList.shift();if(!e)return void this.markCurrentGuideAsRead();this.cdr.markForCheck();const t=this.currentTarget=document.querySelector(e.Target);if(!t)return void this.handleFeatureGuideStep();t.scrollIntoView({behavior:"smooth",block:"center"}),this.isLastStep=0===this.currentStepList.length;let n=this.currentTarget.getBoundingClientRect();setTimeout(()=>{this.popover.elementRef.nativeElement.style.left=n.left+"px",this.popover.elementRef.nativeElement.style.height=n.height+"px",this.popover.elementRef.nativeElement.style.width=n.width+"px",this.popover.elementRef.nativeElement.style.top=n.top+document.documentElement.scrollTop+"px",setTimeout(()=>{this.popover&&this.popover.updatePosition()})},0)}ngAfterViewChecked(){}onCancel(){this.markCurrentGuideAsRead()}onConfirm(){this.handleFeatureGuideStep()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(z.g),r.Qb(f.w),r.Qb(r.v),r.Qb(r.h))},e.\u0275cmp=r.Kb({type:e,selectors:[["nd-feature-guide"]],viewQuery:function(e,t){if(1&e&&r.Xc(hn,1),2&e){let e;r.Dc(e=r.mc())&&(t.popover=e.first)}},features:[r.zb],decls:3,vars:1,consts:function(){let e,t,n;return e="Skip",t="Got it",n="Next",[["class","feature-guide",4,"ngIf"],[1,"feature-guide"],[1,"feature-guide__mask"],["nz-popover","","nzPopoverOverlayClassName","feature-guide__popover",1,"feature-guide__window",3,"nzPopoverVisible","nzPopoverContent","nzPopoverBackdrop","nzPopoverPlacement","nzPopoverTrigger"],["stepPopover","nzPopover"],["popoverContent",""],[1,"feature-guide__body"],[1,"feature-guide__footer"],["nz-button","","nzType","default","nzSize","small",3,"click",4,"ngIf"],["nz-button","","nzType","primary","nzSize","small",3,"click"],[4,"ngIf"],["nz-button","","nzType","default","nzSize","small",3,"click"],e,t,n]},template:function(e,t){1&e&&(r.Sc(0,"\n "),r.Qc(1,mn,12,5,"div",0),r.Sc(2,"\n ")),2&e&&(r.Cb(1),r.wc("ngIf",t.currentStep))},directives:[E.o,dn.a,B.a,W.a,j.a],styles:[".feature-guide__mask{position:fixed;top:0;left:0;right:0;bottom:0;z-index:1}.feature-guide__window{position:absolute;outline:10000px solid rgba(0,0,0,.5)}.feature-guide__body{margin-bottom:10px}.feature-guide__footer{text-align:right}.feature-guide__popover{max-width:400px}"],encapsulation:2,changeDetection:0}),e})();const vn=["outdatedBrowserNotice"],Cn=["accountChangedNotice"],wn=["unreadMessageModal"],Sn=["marketingPushModal"];function _n(e,t){1&e&&(r.Sc(0,"\n "),r.Wb(1,"p"),r.gc(2,6),r.Rb(3,"a",7),r.dc(),r.Vb(),r.Sc(4,"\n "),r.Wb(5,"p"),r.ac(6,8),r.Vb(),r.Sc(7,"\n"))}function On(e,t){if(1&e){const e=r.Xb();r.Sc(0,"\n "),r.Wb(1,"p"),r.ac(2,9),r.Vb(),r.Sc(3,"\n "),r.Wb(4,"div",10),r.Sc(5,"\n "),r.Wb(6,"button",11),r.lc("click",function(){return r.Hc(e),r.oc().reloadPage()}),r.ac(7,12),r.Vb(),r.Sc(8,"\n "),r.Vb(),r.Sc(9,"\n")}}function xn(e,t){1&e&&(r.Sc(0,"\n "),r.Wb(1,"div",13),r.Sc(2,"\n "),r.Wb(3,"div",14),r.Sc(4,"\n "),r.Rb(5,"img",15),r.Sc(6,"\n "),r.Wb(7,"div",16),r.gc(8,17),r.Rb(9,"strong"),r.dc(),r.Vb(),r.Sc(10,"\n "),r.Wb(11,"div",18),r.gc(12,19),r.Rb(13,"span"),r.dc(),r.Vb(),r.Sc(14,"\n "),r.Vb(),r.Sc(15,"\n "),r.Wb(16,"div",20),r.gc(17,21),r.Rb(18,"br"),r.dc(),r.Vb(),r.Sc(19,"\n "),r.Vb(),r.Sc(20,"\n"))}function zn(e,t){1&e&&r.Rb(0,"nd-feature-guide")}let Tn=(()=>{class e extends f.o{constructor(e,t,n,i,r,o,s,a){super(),this.campaignEventHub=e,this.router=t,this.userCouponService=n,this.route=i,this.modalService=r,this.messageCenterEventHub=o,this.appService=s,this.serviceEventHub=a,this.newClientPromotionValidDays=14,this._subscriptions={}}onVisibilityChange(){"visible"===document.visibilityState?void 0!==this.cacheUserId&&this.appService.reloadContext().subscribe(e=>{this.cacheUserId!==e.userID&&this.showAccountChangeModal()}):this.cacheUserId=this.appService.context&&this.appService.context.userID}ngOnInit(){a.c.isOutdated&&this.showOutdatedBrowserModal(),this.checkGSAAgencyStatus(),this.checkLoginRegionChangeNotice().subscribe(()=>{this.registerRestSystemNotice()}),this.serviceEventHub.events.pipe(Object(m.a)(e=>e instanceof f.F)).subscribe(e=>{var t,n,i;(null===(t=e.data)||void 0===t?void 0:t.NeedVerifyLoginRegionChange)&&this.router.navigate([],{skipLocationChange:!0,replaceUrl:!0,queryParams:{u:null===(n=this.appService.context.userIdentityInfo.profile)||void 0===n?void 0:n.UserName,trt:e.data.TRT,trt_rmk:"ip"},queryParamsHandling:"merge"});const r=this.modalService.create({nzTitle:"Re-verify user identity",nzContent:Ue,nzComponentParams:{ndLoginIdentifier:null===(i=this.appService.context.userIdentityInfo.profile)||void 0===i?void 0:i.UserName,ndMode:"reverify-identity",ndShowLabel:!0},nzFooter:null,nzMaskClosable:!1,nzClosable:!1});r.componentInstance.redirect.subscribe(e=>{var t;const n={u:null===(t=this.appService.context.userIdentityInfo.profile)||void 0===t?void 0:t.UserName};(null==e?void 0:e.TRT)&&(n.TRT=e.TRT),(null==e?void 0:e.NeedVerifyLoginRegionChange)&&(n.trt_rmk="ip"),this.router.navigate(["/account","login"],{queryParams:Object.assign({returnUrl:window.location.href},e)}),r.close()}),r.componentInstance.success.subscribe(()=>{var t;let n=Object(O.a)(!0);"1"===(null===(t=this.route.snapshot.queryParamMap.get("_flag_insecure_visit_"))||void 0===t?void 0:t.toString())&&(n=Object(kt.a)(this.router.navigate([],{replaceUrl:!0,queryParams:{_flag_insecure_visit_:"0"},queryParamsHandling:"merge"})).pipe(Object(Et.a)(()=>!0))),n.subscribe(()=>{r.close(),e.retryCb()})})})}checkGSAAgencyStatus(){var e,t;if(!this.route.snapshot.queryParamMap.get("from-login"))return Object(O.a)(!1);const n=null===(e=this.appService.context)||void 0===e?void 0:e.userIdentityInfo.gsaInfo;return(null===(t=this.appService.context)||void 0===t?void 0:t.userIdentityInfo.gsaInfo)?"ACTIVE"===n.AgencyInfo.StatusCode?Object(O.a)(!1):this.modalService.warning({nzContent:"Your account has been disabled and hotel booking will not be allow. In order to avoid affecting your use, you can contact your superior agent to modify the account status.",nzCentered:!0,nzClosable:!1,nzMaskClosable:!1,nzCancelText:null,nzTitle:"Booking Notice"}).afterClose:Object(O.a)(!1)}ngOnDestroy(){Object.keys(this._subscriptions).forEach(e=>{if(this._subscriptions.hasOwnProperty(e)){let t=this._subscriptions[e];t&&t.unsubscribe()}})}registerRestSystemNotice(){const e=this.messageCenterEventHub.lastEvent instanceof f.A?this.messageCenterEventHub.lastEvent:null,t=this.campaignEventHub.lastEvent instanceof f.G?this.campaignEventHub.lastEvent:null;Object(Pt.a)([e?Object(O.a)(e):this.messageCenterEventHub.events.pipe(Object(m.a)(e=>e instanceof f.A),Object(Dt.a)(2500),Object(Mt.a)(e=>Object(O.a)(!0))),t?Object(O.a)(t):this.campaignEventHub.events.pipe(Object(m.a)(e=>e instanceof f.G),Object(Dt.a)(2500),Object(Mt.a)(e=>Object(O.a)(!0)))]).pipe(Object(It.a)(1),Object(x.a)(()=>this.checkMarketingPush()),Object(x.a)(()=>this.checkSystemNotice()),Object(x.a)(()=>this.checkCampaignModal())).subscribe(()=>{this.route.snapshot.queryParamMap.get("from-login")&&this.router.navigate([],{relativeTo:this.route,queryParams:{"from-login":null},replaceUrl:!0,queryParamsHandling:"merge"}),this._subscriptions.routeEvents=this.router.events.pipe(Object(m.a)(e=>e instanceof z.c),Object(x.a)(()=>this.checkSystemNotice())).subscribe()})}checkLoginRegionChangeNotice(){var e;let t=Object(O.a)(!0);const n=this.route.snapshot.queryParamMap.get("from-login"),i=this.route.snapshot.queryParamMap.get(o.e);if(n&&i){const n=JSON.parse(p.a.get(o.d)||"{}");if((null==n?void 0:n.__notice_key__)===i&&(null==n?void 0:n.IsCurrent)){let r=!1,s=!0;const a=this.appService.storage;a&&(r=o.b.isAllowAccess(o.c.Client_SecuritySetting_Edit,null==a?void 0:a.iamInfo),(null===(e=a.clientInfo)||void 0===e?void 0:e.IsGSAClient)&&(s=!1)),t=this.modalService.create({nzContent:Tt,nzCentered:!0,nzWidth:457,nzMask:!0,nzMaskClosable:!1,nzKeyboard:!1,nzClosable:!1,nzFooter:null,nzBodyStyle:{padding:"0"},nzClassName:"nd-navbar-signin-notice-modal",nzComponentParams:{key:i,loginRecord:n,allowEditSecuritySetting:r,showSecuritySettingNotice:s}}).afterClose.pipe(Object(x.a)(()=>(console.info("closing sirc:",i),p.a.clear(o.d),Object(O.a)(!0))))}t=t.pipe(Object(x.a)(()=>this.router.navigate([],{relativeTo:this.route,queryParams:{sirc:null},replaceUrl:!0,queryParamsHandling:"merge"})))}return t}showOutdatedBrowserModal(){this.modalService.create({nzContent:this.outdatedBrowserNoticeTpl,nzCentered:!0,nzClosable:!1,nzMaskClosable:!1,nzCancelText:null,nzTitle:"Your browser version is out of date"})}showAccountChangeModal(){this.modalService.create({nzContent:this.accountChangedNoticeTpl,nzCentered:!0,nzClosable:!1,nzMaskClosable:!1,nzFooter:null,nzTitle:"Account Login Status Changed"})}reloadPage(){location.reload()}checkSystemNotice(){return location.pathname===this._currencUrl?Object(O.a)(!1):(this._currencUrl=location.pathname,this.unreadMessageModal.checkPopupMessage())}checkCampaignModal(){if(!this.route.snapshot.queryParamMap.get("from-login"))return Object(O.a)(!1);const e=this.userCouponService.getActiveCoupons();return e.length>0?(this.modalService.create({nzContent:St,nzCentered:!0,nzWidth:540,nzFooter:null,nzClassName:"nd-campaign-modal-panel__wrapper",nzComponentParams:{list:e}}),Object(O.a)(!0)):Object(O.a)(!1)}checkMarketingPush(){if("/hotel/find"!==location.pathname)return Object(O.a)(!1);const e=!!this.route.snapshot.queryParamMap.get("from-login");return this.marketingPushModal.checkPushList(e)}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(f.m),r.Qb(z.g),r.Qb(f.H),r.Qb(z.a),r.Qb(k.f),r.Qb(f.y),r.Qb(f.j),r.Qb(f.E))},e.\u0275cmp=r.Kb({type:e,selectors:[["nd-navbar-notice-modal-wrapper"]],viewQuery:function(e,t){if(1&e&&(r.Xc(vn,3),r.Xc(Cn,3),r.Xc(wn,1),r.Xc(Sn,3)),2&e){let e;r.Dc(e=r.mc())&&(t.outdatedBrowserNoticeTpl=e.first),r.Dc(e=r.mc())&&(t.accountChangedNoticeTpl=e.first),r.Dc(e=r.mc())&&(t.unreadMessageModal=e.first),r.Dc(e=r.mc())&&(t.marketingPushModal=e.first)}},hostBindings:function(e,t){1&e&&r.lc("visibilitychange",function(){return t.onVisibilityChange()},!1,r.Fc)},features:[r.zb],decls:17,vars:1,consts:function(){let e,t,n,i,r,o,s;return e="For better user experience and security purpose, we suggest you to use " + "\ufffd#3\ufffd" + "The new Microsoft Edge" + "\ufffd/#3\ufffd" + " to visit.",t="If you are using sogou or 360 or any other Chinese web browser, please switch to swift mode on navigation bar.",n="You account login status has changed. You may have logged out or logged into another account. Please refresh the page to update to latest status.",i="Refresh",r="Welcome to DidaTravel! Enjoy your 14 days of " + "\ufffd#9\ufffd" + "Special Rates" + "\ufffd/#9\ufffd" + "",o="Exclusively for " + "\ufffd#13\ufffd" + "NEW Clients" + "\ufffd/#13\ufffd" + "",s="*The 14-day validity period refers to 14 days from the activation of your account. If you have" + "\ufffd#18\ufffd\ufffd/#18\ufffd" + "any questions or require any support, please feel free to contact us oversearetail@didatravel.com",[["unreadMessageModal",""],["marketingPushModal",""],["outdatedBrowserNotice",""],["accountChangedNotice",""],["newClientPromotionNotice",""],[4,"ngIf"],e,["href","https://www.microsoft.com/zh-cn/edge",1,"active"],t,n,[1,"nd-text-right"],["nz-button","","nzType","primary",3,"click"],i,[1,"newbee-promotion"],[1,"newbee-promotion__body"],["ndOssSrc","~/imgs/newbee-promotion.png","alt",""],[1,"newbee-promotion__title"],r,[1,"newbee-promotion__tag"],o,[1,"newbee-promotion__extra"],s]},template:function(e,t){1&e&&(r.Rb(0,"nd-unread-message-modal",null,0),r.Sc(2,"\n"),r.Rb(3,"nd-marketing-push-modal",null,1),r.Sc(5,"\n\n"),r.Qc(6,_n,8,0,"ng-template",null,2,r.Rc),r.Sc(8,"\n\n"),r.Qc(9,On,10,0,"ng-template",null,3,r.Rc),r.Sc(11,"\n\n"),r.Qc(12,xn,21,0,"ng-template",null,4,r.Rc),r.Sc(14,"\n\n"),r.Qc(15,zn,1,0,"nd-feature-guide",5),r.Sc(16,"\n")),2&e&&(r.Cb(15),r.wc("ngIf",null==t.userIdentity?null:t.userIdentity.isAuthenticated))},directives:[Xt,nn,E.o,B.a,W.a,j.a,tt.a,yn],styles:['.nd-navbar-notice-modal__message-content{min-height:200px;max-height:300px}.nd-navbar-notice-modal .ant-carousel .slick-dots li button{background-color:#676f86}.nd-navbar-notice-modal .ant-carousel .slick-dots li.slick-active button{background-color:#1f2b4b}.newbee-promotion{text-align:center;background-color:#ba0237;color:#fff;border-radius:30px;font-size:20px;overflow:hidden;background-image:url()}html[lang^=en] .newbee-promotion{font-style:italic}.newbee-promotion__modal{padding:0}.newbee-promotion__modal .ant-modal-content{border-radius:30px}.newbee-promotion__modal .ant-modal-content .ant-modal-body{padding:0}.newbee-promotion__body{position:relative;padding:46px 0}.newbee-promotion__body img{position:absolute;top:0;left:0;width:100%;height:100%}.newbee-promotion__title strong{display:block;font-size:66px;font-weight:600;color:#fff;line-height:92px}.newbee-promotion__tag{position:relative;display:inline-block;padding:4px 16px;color:#8c202c;background-color:#fff;margin-top:10px;font-weight:700}.newbee-promotion__tag span{color:#ffa200}.newbee-promotion__tag:after,.newbee-promotion__tag:before{content:"";display:block;border:1px solid #fff;width:100%;position:absolute;left:0}.newbee-promotion__tag:before{top:-5px}.newbee-promotion__tag:after{bottom:-5px}.newbee-promotion__extra{font-size:11px;font-weight:400;color:#fff;line-height:16px;box-sizing:initial;padding:14px 0;background-color:#060859}'],encapsulation:2}),e})();var kn=n("dAoj"),Pn=n("Nqz0"),En=n("Q8cG"),Dn=n("jq9o"),Mn=n("Xy/U"),In=n("dGGt"),An=n("yu7t");const Rn=["suggestionTypeaheadRef"],jn=["dateRangePickerRef"];function Vn(e,t){if(1&e){const e=r.Xb();r.Wb(0,"div",4),r.Sc(1,"\n "),r.Wb(2,"button",5),r.lc("nzPopoverVisibleChange",function(t){return r.Hc(e),r.oc().onSearchPanelVisibleChange(t)}),r.Sc(3,"\n "),r.Rb(4,"i",6),r.Wb(5,"span"),r.ac(6,7),r.Vb(),r.Sc(7,"\n "),r.Vb(),r.Sc(8,"\n "),r.Vb()}if(2&e){const e=r.oc(),t=r.Ec(8);r.Cb(2),r.wc("nzGhost",e.popoverOpened)("nzType",e.popoverOpened?"primary":"default")("nzPopoverTrigger","click")("nzPopoverContent",t)("nzPopoverVisible",e.popoverOpened)}}function Ln(e,t){1&e&&r.Sb(0)}function Nn(e,t){if(1&e&&(r.Wb(0,"div",8),r.Sc(1,"\n "),r.Qc(2,Ln,1,0,"ng-container",9),r.Sc(3,"\n "),r.Vb()),2&e){r.oc();const e=r.Ec(8);r.Cb(2),r.wc("ngTemplateOutlet",e)}}const Fn=function(e){return{"min-width":e}},Bn=function(e){return{top:12,left:e}},Wn=function(){return{"min-width":"230px"}},Hn=function(e,t){return[e,t]};function Un(e,t){if(1&e){const e=r.Xb();r.Sc(0,"\n "),r.Wb(1,"div",10),r.Sc(2,"\n "),r.Wb(3,"div",11),r.Sc(4,"\n "),r.Wb(5,"div",12),r.Sc(6,"\n "),r.Wb(7,"nd-suggestion-typeahead",13,14),r.lc("ndAfterInit",function(t){return r.Hc(e),r.oc().onSuggestionInitialized(t)})("ndChange",function(t){return r.Hc(e),r.oc().onSuggestionValueChange(t)}),r.Sc(9,"\n "),r.Vb(),r.Sc(10,"\n "),r.Vb(),r.Sc(11,"\n "),r.Wb(12,"div",15),r.lc("click",function(t){return r.Hc(e),r.oc().openDateRangePicker(t)}),r.Sc(13,"\n "),r.Wb(14,"nd-date-range-picker",16,17),r.lc("afterCalendarClose",function(t){return r.Hc(e),r.oc().onDateRangePickerClose(t)})("ngModelChange",function(t){return r.Hc(e),r.oc().onDateRangeChange(t)}),r.Vb(),r.Sc(16,"\n "),r.Vb(),r.Sc(17,"\n "),r.Vb(),r.Sc(18,"\n "),r.Wb(19,"div",18),r.Sc(20,"\n "),r.Wb(21,"button",19),r.lc("click",function(t){return r.Hc(e),r.oc().onSearchClick(t)}),r.ac(22,20),r.Vb(),r.Sc(23,"\n "),r.Vb(),r.Sc(24,"\n "),r.Vb(),r.Sc(25,"\n")}if(2&e){const e=r.oc();r.Cb(1),r.Ib("nd-search-panel_flatten","flatten"===e.mode),r.Cb(4),r.Ib("nd-search-panel__group-item_flatten","flatten"===e.mode),r.wc("ngStyle",r.Bc(19,Fn,"flatten"===e.mode?"332px":"0px")),r.Cb(2),r.Nc("width",100,"%"),r.wc("ndDropdownOffset",r.Bc(21,Bn,-13))("ndConfig",e.suggestionTypeaheadConfig),r.Cb(5),r.Ib("nd-search-panel__group-item_flatten","flatten"===e.mode),r.wc("ngStyle",r.Ac(23,Wn)),r.Cb(2),r.wc("ndShowWeek",!1)("ndMinDate",e.minDate)("ndMinDays",e.minDays)("ndMaxDays",e.maxDays)("ngModel",r.Cc(24,Hn,e.dateRange.From,e.dateRange.To)),r.Cb(5),r.Nc("margin-left","flatten"===e.mode?12:null,"px")}}let $n=(()=>{class e extends f.o{constructor(e){super(),this.router=e,this.Icons=d.a,this._suggestionValue=null,this.mode="button",this.ndSearchOptionChange=new r.n,this.ndAfterSuggestionInitialize=new r.n}ngOnInit(){if(super.ngOnInit(),!this.suggestionTypeaheadConfig){const e=new Dn.a;e.miniMode=!0,e.languageType=this.lang,this.suggestionTypeaheadConfig=e}const e=a.f.today,t=this.hasAnyExperiments([this.ExperimentID.SameDayBooking])?a.f.addDays(e,-1):a.f.addDays(e,1);this.minDate=t,this.dateRange||(this.dateRange={From:a.f.addDays(e,1),To:a.f.addDays(e,2)}),this.popoverOpened=!1,this.minDays=2,this.maxDays=28}ngOnDestroy(){super.ngOnDestroy()}onDateRangeChange(e){this.dateRange={From:e[0],To:e[1]}}onSearchPanelVisibleChange(e){var t;if(null===(t=this.suggestionTypeaheadRef)||void 0===t?void 0:t.isShowSuggestionDropdown)this.popoverOpened=!0;else if(this.popoverOpened=e,this.popoverOpened){const e=this.getHotelOrRegionForSuggestionValue(this._suggestionValue);"hotel"===e?this.suggestionTypeaheadConfig.hotelID=this._suggestionValue.id:"region"===e?this.suggestionTypeaheadConfig.regionID=this._suggestionValue.id:(this.suggestionTypeaheadConfig.regionID=null,this.suggestionTypeaheadConfig.hotelID=null)}}onSuggestionValueChange(e){let t=!1;e.isSelected?(this._suggestionValue=e,t=!0):this._suggestionValue=null,!t||this.dateRange.From&&this.dateRange.To||this.openDateRangePicker(null)}onSuggestionInitialized(e){this._suggestionValue=e,this._suggestionValue.isSelected=!0,this.ndAfterSuggestionInitialize.emit(e)}openDateRangePicker(e){if(!this._calendarOpened&&this.dateRangePickerRef){const t=this.dateRangePickerRef.nativeElement.getElementsByClassName("date-range-picker__date-item_cursor").item(0);t instanceof HTMLElement&&(e&&(e.preventDefault(),e.stopPropagation()),this._calendarOpened=!0,t.click())}}onDateRangePickerClose(e){this._calendarOpened=!1}openSuggestionTypeahead(){var e;null===(e=this.suggestionTypeaheadRef)||void 0===e||e.focus()}onSearchClick(e){e&&(e.preventDefault(),e.stopPropagation());const t=this.getHotelOrRegionForSuggestionValue(this._suggestionValue);null==t?this.openSuggestionTypeahead():this.dateRange.From&&this.dateRange.To?(this.ndSearchOptionChange.emit({suggestedId:this._suggestionValue.id,suggestedType:t,suggestionValue:this._suggestionValue,dateRange:this.dateRange}),this.popoverOpened=!1):this.openDateRangePicker(null)}getHotelOrRegionForSuggestionValue(e){if(e&&e.isSelected)switch(e.category){case Dn.c.Hotel:return"hotel";case Dn.c.Airport:case Dn.c.Unknown:break;default:return"region"}return null}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(z.g))},e.\u0275cmp=r.Kb({type:e,selectors:[["nd-navbar-search-panel"]],viewQuery:function(e,t){if(1&e&&(r.Xc(Rn,1,Mn.a),r.Xc(jn,1,r.l)),2&e){let e;r.Dc(e=r.mc())&&(t.suggestionTypeaheadRef=e.first),r.Dc(e=r.mc())&&(t.dateRangePickerRef=e.first)}},inputs:{mode:"mode",suggestionTypeaheadConfig:"suggestionTypeaheadConfig",dateRange:"dateRange"},outputs:{ndSearchOptionChange:"ndSearchOptionChange",ndAfterSuggestionInitialize:"ndAfterSuggestionInitialize"},features:[r.zb],decls:10,vars:3,consts:function(){let e,t;return e="Search hotels",t="Search",[[3,"ngSwitch"],["class","nd-search-panel-nav-item nd-search-panel-nav-item_button",4,"ngSwitchCase"],["class","nd-search-panel-nav-item nd-search-panel-nav-item_flatten",4,"ngSwitchCase"],["searchPanelTemplate",""],[1,"nd-search-panel-nav-item","nd-search-panel-nav-item_button"],["nz-button","","nzSize","small","nz-popover","","nzPopoverPlacement","bottom","nzPopoverOverlayClassName","nd-search-panel-popover",3,"nzGhost","nzType","nzPopoverTrigger","nzPopoverContent","nzPopoverVisible","nzPopoverVisibleChange"],["nz-icon","","nzType","search"],e,[1,"nd-search-panel-nav-item","nd-search-panel-nav-item_flatten"],[4,"ngTemplateOutlet"],[1,"nd-search-panel"],[1,"nd-search-panel__item","nd-search-panel__group"],[1,"nd-search-panel__group-item",3,"ngStyle"],[3,"ndDropdownOffset","ndConfig","ndAfterInit","ndChange"],["suggestionTypeaheadRef",""],[1,"nd-search-panel__group-item",3,"ngStyle","click"],["ndFormat","yyyy-MM-dd",3,"ndShowWeek","ndMinDate","ndMinDays","ndMaxDays","ngModel","afterCalendarClose","ngModelChange"],["dateRangePickerRef",""],[1,"nd-search-panel__item"],["nz-button","","nzType","primary",3,"click"],t]},template:function(e,t){1&e&&(r.Ub(0,0),r.Sc(1,"\n "),r.Qc(2,Vn,9,5,"div",1),r.Sc(3,"\n "),r.Qc(4,Nn,4,1,"div",2),r.Sc(5,"\n"),r.Tb(),r.Sc(6,"\n\n"),r.Qc(7,Un,26,27,"ng-template",null,3,r.Rc),r.Sc(9,"\n")),2&e&&(r.wc("ngSwitch",t.mode),r.Cb(2),r.wc("ngSwitchCase","button"),r.Cb(2),r.wc("ngSwitchCase","flatten"))},directives:[E.q,E.r,B.a,W.a,j.a,dn.a,A.a,R.a,E.t,E.p,In.a,An.a,y.o,y.r],styles:[".nd-search-panel-nav-item>button{padding:0 4px}.nd-search-panel-nav-item>button i+span{margin-left:3px!important}.nd-search-panel-nav-item>button span+i{margin-left:0!important}.nd-search-panel-popover .ant-popover-inner-content{padding:4px}.nd-search-panel,.nd-search-panel__group{display:flex;flex-wrap:nowrap}.nd-search-panel__group{border:1px solid #ced4da;border-radius:4px}.nd-search-panel__group-item{flex:auto;display:flex;align-items:center;border-right:1px solid #ced4da;padding:0 12px;margin:5px 0}.nd-search-panel__group-item:last-child{border-right:none}.nd-search-panel__group-item_flatten{margin:0;padding:5px 12px}.nd-search-panel__item{display:flex;align-items:stretch;height:34px;margin-right:7px}.nd-search-panel__item:last-child{margin-right:0}.nd-search-panel__item>button{height:34px}.nd-search-panel__date-range-picker .ant-calendar-picker-input{border:none}.nd-search-panel__date-range-picker .ant-calendar-picker-icon{display:none}"],encapsulation:2}),e})();var Qn=n("zAKX");function Gn(e,t){if(1&e&&(r.Wb(0,"nz-option",5),r.Sc(1,"\n "),r.Wb(2,"b"),r.Sc(3),r.Vb(),r.Sc(4),r.Vb()),2&e){const e=t.$implicit;r.wc("nzLabel",e.name)("nzValue",e.code),r.Cb(3),r.Uc("[",e.code,"]"),r.Cb(1),r.Uc(" ",e.name,"\n ")}}const Yn=function(e){return["nd-region-switch__selected-value",e]};function Kn(e,t){if(1&e&&(r.Sc(0,"\n "),r.Wb(1,"span",6),r.Sc(2,"\n "),r.Wb(3,"span"),r.Sc(4),r.Vb(),r.Sc(5,"\n "),r.Vb(),r.Sc(6,"\n ")),2&e){const e=t.$implicit,n=r.oc();r.Cb(1),r.wc("ngClass",r.Bc(2,Yn,n.navType)),r.Cb(3),r.Tc(e.nzValue)}}function Xn(e,t){if(1&e&&(r.Sc(0,"\n "),r.Wb(1,"span",7),r.Sc(2,"\n "),r.Rb(3,"i",8),r.Sc(4,"\n "),r.Vb(),r.Sc(5,"\n ")),2&e){const e=r.oc();r.Cb(3),r.wc("nzType","nd:arrow-"+e.navType)}}const qn=[{name:"Egypt",code:"EG"},{name:"Argentina",code:"AR"},{name:"Australia",code:"AU"},{name:"Austria",code:"AT"},{name:"Belgium",code:"BE"},{name:"Brazil",code:"BR"},{name:"Canada",code:"CA"},{name:"Chile",code:"CL"},{name:"China",code:"CN"},{name:"Colombia",code:"CO"},{name:"Costa Rica",code:"CR"},{name:"Denmark",code:"DK"},{name:"Finland",code:"FI"},{name:"France",code:"FR"},{name:"Germany",code:"DE"},{name:"Hong Kong SAR",code:"HK"},{name:"India",code:"IN"},{name:"Indonesia",code:"ID"},{name:"Ireland",code:"IE"},{name:"Italy",code:"IT"},{name:"Japan",code:"JP"},{name:"Malaysia",code:"MY"},{name:"Mexico",code:"MX"},{name:"Netherlands",code:"NL"},{name:"New Zealand",code:"NZ"},{name:"Norway",code:"NO"},{name:"Peru",code:"PE"},{name:"Philippines",code:"PH"},{name:"Saudi Arabia",code:"SA"},{name:"Singapore",code:"SG"},{name:"South Korea",code:"KR"},{name:"Spain",code:"ES"},{name:"Sweden",code:"SE"},{name:"Switzerland",code:"CH"},{name:"Taiwan",code:"TW"},{name:"Thailand",code:"TH"},{name:"United Arab Emirates",code:"AE"},{name:"United Kingdom",code:"UK"},{name:"United States",code:"US"},{name:"Vietnam",code:"VN"}];let Jn=(()=>{class e{constructor(){this.ndSiteRegionChange=new r.n,this.regions=qn}ngOnInit(){}ngOnChanges(e){}onRegionSelect(e){this.ndSiteRegionChange.emit(new g.a(this,e))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Kb({type:e,selectors:[["nd-navbar-region-switch"]],inputs:{ndSiteRegion:"ndSiteRegion",navType:"navType"},outputs:{ndSiteRegionChange:"ndSiteRegionChange"},features:[r.Ab],decls:14,vars:9,consts:[[1,"nd-region-switch"],["nzDropdownClassName","nd-region-switch-dropdown",1,"nd-region-switch__select",3,"ngModel","nzCustomTemplate","nzSuffixIcon","nzDropdownMatchSelectWidth","ngModelChange","nzOpenChange"],["nzCustomContent","",3,"nzLabel","nzValue",4,"ngFor","ngForOf"],["regionDisplayTemplate",""],["arrowTemplate",""],["nzCustomContent","",3,"nzLabel","nzValue"],[3,"ngClass"],[1,"nd-region-switch__arrow"],["nz-icon","",3,"nzType"]],template:function(e,t){if(1&e&&(r.Wb(0,"div",0),r.Sc(1,"\n "),r.Wb(2,"nz-select",1),r.lc("ngModelChange",function(e){return t.onRegionSelect(e)})("nzOpenChange",function(e){return t.isOpen=e}),r.Sc(3,"\n "),r.Qc(4,Gn,5,4,"nz-option",2),r.Sc(5,"\n "),r.Vb(),r.Sc(6,"\n "),r.Qc(7,Kn,7,4,"ng-template",null,3,r.Rc),r.Sc(9,"\n "),r.Qc(10,Xn,6,1,"ng-template",null,4,r.Rc),r.Sc(12,"\n"),r.Vb(),r.Sc(13,"\n")),2&e){const e=r.Ec(8),n=r.Ec(11);r.Ib("nd-region-switch_opened",t.isOpen),r.Cb(2),r.Ib("nd-region-switch__select_opened",t.isOpen),r.wc("ngModel",t.ndSiteRegion)("nzCustomTemplate",e)("nzSuffixIcon",n)("nzDropdownMatchSelectWidth",!1),r.Cb(2),r.wc("ngForOf",t.regions)}},directives:[Qn.c,y.o,y.r,E.n,Qn.a,E.m,A.a,j.a,R.a],styles:[".nd-region-switch__select[_ngcontent-%COMP%]{text-align:center}.nd-region-switch__select[_ngcontent-%COMP%] >.ant-select-selection, .nd-region-switch__select[_ngcontent-%COMP%] >.ant-select-selector{display:inline-block;color:#1f2b4b;font-size:14px;line-height:22px;background:#e1e2e7;border-radius:4px;vertical-align:middle;height:24px;cursor:pointer;height:30px!important;line-height:30px;margin:0;padding:0;border:none}.nd-region-switch__select[_ngcontent-%COMP%] >.ant-select-selection:hover, .nd-region-switch__select[_ngcontent-%COMP%] >.ant-select-selector:hover{border:none}.nd-region-switch__selected-value[_ngcontent-%COMP%]{font-size:14px;line-height:24px} .nd-region-switch-dropdown>nz-option-container{padding:0} .nd-region-switch__select .ant-select-selection-item{padding-right:18px!important} .nd-region-switch__select .ant-select-selector{background-color:initial!important} .nd-region-switch__select .nd-region-switch__selected-value.ghost, .nd-region-switch__select .nd-region-switch__selected-value.light{color:#fff} .nd-region-switch__select .nd-region-switch__selected-value.dark{color:#000} .ant-select-arrow{display:flex;align-items:center} .ant-select-arrow>span{display:flex} .ant-select-arrow>span i>svg{width:unset;height:unset}.nd-region-select-popover[_ngcontent-%COMP%]{width:230px}.nd-region-select-popover__section[_ngcontent-%COMP%]{margin-bottom:12px}.nd-region-select-popover__section[_ngcontent-%COMP%]:last-child{margin-bottom:0}.nd-region-switch__arrow[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin-left:7px;transition:transform .3s}.nd-region-switch_opened[_ngcontent-%COMP%] .nd-region-switch__arrow[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{transform:rotate(180deg)}"],changeDetection:0}),e})();var Zn=n("nDcz"),ei=n("5vDB"),ti=n("SKKP");function ni(e,t){if(1&e&&(r.Ub(0),r.Sc(1,"\n "),r.Wb(2,"nz-badge",3),r.Sc(3,"\n "),r.Sb(4,4),r.Sc(5,"\n "),r.Vb(),r.Sc(6,"\n "),r.Tb()),2&e){const e=r.oc(),t=r.Ec(6);r.Cb(2),r.wc("nzCount",e.ndBadge),r.Cb(2),r.wc("ngTemplateOutlet",t)}}function ii(e,t){if(1&e&&r.Rb(0,"i",6),2&e){const e=r.oc(2);r.wc("nzType",e.ndIcon)("nzTheme",e.ndIconTheme)}}function ri(e,t){if(1&e&&(r.Sc(0,"\n "),r.uc(1),r.Sc(2,"\n "),r.Qc(3,ii,1,2,"i",5),r.Sc(4,"\n ")),2&e){const e=r.oc();r.Cb(3),r.wc("ngIf",e.ndIcon)}}const oi=["*"];let si=(()=>{class e{constructor(){this.ndIconTheme="fill"}get overlayClassName(){const e=["nd-navbar-popover"];return"list"===this.ndContentType&&e.push("nd-navbar-popover_list"),e.join(" ")}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Kb({type:e,selectors:[["nd-nav-widget"]],contentQueries:function(e,t,n){if(1&e&&r.Jb(n,r.N,3),2&e){let e;r.Dc(e=r.mc())&&(t.popoverContent=e.first)}},inputs:{ndTitle:"ndTitle",ndTooltip:"ndTooltip",ndIcon:"ndIcon",ndBadge:"ndBadge",ndIconTheme:"ndIconTheme",ndContentType:"ndContentType"},ngContentSelectors:oi,decls:8,vars:6,consts:[["nz-popover","","nzPopoverTrigger","click","nz-tooltip","","nzTooltipPlacement","bottom",1,"nd-nav-widget",3,"nzPopoverTitle","nzPopoverContent","nzPopoverOverlayClassName","nzTooltipTitle"],[4,"ngIf","ngIfElse"],["content",""],[2,"color","inherit",3,"nzCount"],[3,"ngTemplateOutlet"],["class","nd-nav-widget__icon","nz-icon","",3,"nzType","nzTheme",4,"ngIf"],["nz-icon","",1,"nd-nav-widget__icon",3,"nzType","nzTheme"]],template:function(e,t){if(1&e&&(r.vc(),r.Sc(0," "),r.Wb(1,"div",0),r.Sc(2,"\n "),r.Qc(3,ni,7,2,"ng-container",1),r.Sc(4,"\n "),r.Qc(5,ri,5,1,"ng-template",null,2,r.Rc),r.Sc(7,"\n "),r.Vb()),2&e){const e=r.Ec(6);r.Cb(1),r.wc("nzPopoverTitle",t.ndTitle)("nzPopoverContent",t.popoverContent)("nzPopoverOverlayClassName",t.overlayClassName)("nzTooltipTitle",t.ndTooltip||t.ndTitle),r.Cb(2),r.wc("ngIf",t.ndBadge)("ngIfElse",e)}},directives:[dn.a,rt.d,E.o,ti.a,E.t,A.a,j.a,R.a],styles:[".nd-nav-widget .ant-badge-count{font-size:10px;line-height:14px;height:14px;padding:0 4px}.nd-nav-widget__icon{font-size:18px}"],encapsulation:2}),e})();var ai=n("3RF7"),ci=n("2Vo4"),li=n("OtHt"),ui=n("QlLE");const di=function(){return{rows:2}};function hi(e,t){1&e&&(r.Wb(0,"div",6),r.Sc(1,"\n "),r.Rb(2,"nz-skeleton",7),r.Sc(3,"\n "),r.Vb()),2&e&&(r.Cb(2),r.wc("nzTitle",!1)("nzParagraph",r.Ac(2,di)))}const pi=function(){return[1,2,3,4]};function fi(e,t){1&e&&(r.Ub(0),r.Sc(1,"\n "),r.Qc(2,hi,4,3,"div",5),r.Sc(3,"\n "),r.Tb()),2&e&&(r.Cb(2),r.wc("ngForOf",r.Ac(1,pi)))}function gi(e,t){1&e&&(r.Ub(0),r.Sc(1,"\n "),r.Rb(2,"nz-empty",9),r.Sc(3,"\n "),r.Tb())}const bi=function(e){return["/hotel","detail",e]};function mi(e,t){if(1&e){const e=r.Xb();r.Wb(0,"a",10),r.lc("click",function(n){r.Hc(e);const i=t.$implicit;return r.oc(4).onHotelItemClick(n,i)}),r.Sc(1,"\n "),r.Wb(2,"div",11),r.Sc(3,"\n "),r.Wb(4,"div",12),r.Sc(5,"\n "),r.Wb(6,"strong"),r.Sc(7),r.Vb(),r.Sc(8,"\n "),r.Vb(),r.Sc(9,"\n "),r.Wb(10,"div",12),r.Sc(11),r.Vb(),r.Sc(12,"\n "),r.Vb(),r.Sc(13,"\n "),r.Wb(14,"div",13),r.lc("click",function(n){r.Hc(e);const i=t.$implicit;return r.oc(4).onRemoveHotelItem(n,i)}),r.Sc(15,"\n "),r.Rb(16,"i",14),r.Sc(17,"\n "),r.Vb(),r.Sc(18,"\n "),r.Vb()}if(2&e){const e=t.$implicit,n=r.oc(3).ngIf;r.wc("routerLink",r.Bc(5,bi,e.hotelId)),r.Cb(2),r.wc("title",e.name),r.Cb(5),r.Tc(e.name),r.Cb(4),r.Uc("\n ",e.destinationName,"\n "),r.Cb(5),r.wc("nzType",n[e.hotelId]?"loading":"close")}}function yi(e,t){if(1&e&&(r.Ub(0),r.Sc(1,"\n "),r.Qc(2,gi,4,0,"ng-container",0),r.Sc(3,"\n "),r.Qc(4,mi,19,7,"a",8),r.Sc(5,"\n "),r.Tb()),2&e){const e=t.ngIf;r.Cb(2),r.wc("ngIf",!(null!=e&&e.length)),r.Cb(2),r.wc("ngForOf",e)}}function vi(e,t){if(1&e&&(r.Ub(0),r.Sc(1,"\n "),r.Qc(2,yi,6,2,"ng-container",0),r.pc(3,"async"),r.Sc(4,"\n "),r.Tb()),2&e){const e=r.oc(2);r.Cb(2),r.wc("ngIf",r.qc(3,1,e.favoriteHotels$))}}function Ci(e,t){if(1&e&&(r.Ub(0),r.Sc(1,"\n "),r.Wb(2,"div",1),r.Sc(3,"\n "),r.Wb(4,"div",2),r.Sc(5,"\n "),r.Qc(6,fi,4,2,"ng-container",3),r.Sc(7,"\n "),r.Qc(8,vi,5,3,"ng-container",4),r.Sc(9,"\n "),r.Vb(),r.Sc(10,"\n "),r.Vb(),r.Sc(11,"\n"),r.Tb()),2&e){const e=r.oc();r.Cb(4),r.wc("ngSwitch",e.loading),r.Cb(2),r.wc("ngSwitchCase",!0)}}let wi=(()=>{class e extends f.n{constructor(e,t){super(),this.userFavoriteHotelService=e,this.favoriteHotelEventHub=t,this.hotelItemClick=new r.n}get loading(){return this.userFavoriteHotelService.loading}ngOnInit(){super.ngOnInit();const e=this.userFavoriteHotelService.getUserFavoriteHotels().map(e=>ai.a.simplifyHotelInfo(e.Hotel));this.favoriteHotels$=new ci.a(e),this.handleStates$=new ci.a({}),this.userFavoriteHotelService.loadUserFavoriteHotels(),this.subscriptions.favoriteHotelEvent=this.favoriteHotelEventHub.subscribe({next:e=>{e instanceof f.v&&this.syncSubjectValue()}})}onHotelItemClick(e,t){this.hotelItemClick.emit({hotelId:t.hotelId})}onRemoveHotelItem(e,t){e&&(e.preventDefault(),e.stopPropagation()),this.handleStates$.next(Object.assign(Object.assign({},this.handleStates$.getValue()),{[t.hotelId]:!0})),this.userFavoriteHotelService.removeFavoriteHotel(t.hotelId).add(()=>{const e=this.handleStates$.getValue();e[t.hotelId]&&delete e[t.hotelId],this.handleStates$.next(e)})}syncSubjectValue(){this.favoriteHotels$.next(this.userFavoriteHotelService.getUserFavoriteHotels().map(e=>ai.a.simplifyHotelInfo(e.Hotel)))}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(f.I),r.Qb(f.t))},e.\u0275cmp=r.Kb({type:e,selectors:[["nd-navbar-user-favorite-hotel"]],outputs:{hotelItemClick:"hotelItemClick"},features:[r.zb],decls:3,vars:3,consts:function(){let e;return e="No Data Available",[[4,"ngIf"],[1,"nd-navbar-popover__content"],[1,"nd-scrollable","nd-navbar-favorite-hotel",3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["class","nd-navbar-popover__list-item nd-navbar-favorite-hotel__item",4,"ngFor","ngForOf"],[1,"nd-navbar-popover__list-item","nd-navbar-favorite-hotel__item"],[3,"nzTitle","nzParagraph"],["class","nd-navbar-popover__list-item nd-navbar-favorite-hotel__item",3,"routerLink","click",4,"ngFor","ngForOf"],["nzNotFoundContent",e,2,"margin-top","60px"],[1,"nd-navbar-popover__list-item","nd-navbar-favorite-hotel__item",3,"routerLink","click"],[3,"title"],[1,"nd-text-ellipsis"],[1,"nd-navbar-favorite-hotel__remove-button",3,"click"],["nz-icon","",3,"nzType"]]},template:function(e,t){1&e&&(r.Qc(0,Ci,12,2,"ng-container",0),r.pc(1,"async"),r.Sc(2,"\n")),2&e&&r.wc("ngIf",r.qc(1,1,t.handleStates$))},directives:[E.o,E.q,E.r,E.s,E.n,li.a,ui.b,z.j,A.a,j.a,R.a],pipes:[E.b],styles:[".nd-navbar-favorite-hotel{width:400px;height:350px}.nd-navbar-favorite-hotel__item{position:relative}.nd-navbar-favorite-hotel__remove-button{display:inline-block!important;position:absolute;right:5px;top:2px;font-size:12px;line-height:20px;padding:0 4px}"],encapsulation:2}),e})();var Si=n("oZhE"),_i=n("eAYC"),Oi=n("SOdi"),xi=n("U5Mb");function zi(e,t){1&e&&(r.Ub(0),r.Sc(1,"\n "),r.Wb(2,"p"),r.ac(3,8),r.Vb(),r.Sc(4,"\n "),r.Wb(5,"p"),r.Sc(6,"\n "),r.Ub(7),r.ac(8,9),r.Tb(),r.Sc(9),r.Ub(10),r.ac(11,10),r.Tb(),r.Sc(12,")\n "),r.Vb(),r.Sc(13,"\n "),r.Wb(14,"p"),r.Sc(15,"\n "),r.Ub(16),r.ac(17,11),r.Tb(),r.Sc(18),r.Ub(19),r.ac(20,12),r.Tb(),r.Sc(21,")\n "),r.Vb(),r.Sc(22,"\n "),r.Tb()),2&e&&(r.Cb(9),r.Uc("\uff1a ","9:00-21:00","\xa0\n ("),r.Cb(9),r.Uc("\uff1a ","9:00-18:00","\xa0\n ("))}function Ti(e,t){if(1&e&&(r.Ub(0),r.Sc(1,"\n "),r.Wb(2,"div",15),r.Sc(3,"\n "),r.Wb(4,"label"),r.ac(5,18),r.Vb(),r.Sc(6,"\n "),r.Wb(7,"div"),r.Sc(8,"\n "),r.Rb(9,"nd-typography-phone",17),r.Sc(10,"\n "),r.Rb(11,"nd-typography-email",17),r.Sc(12,"\n "),r.Vb(),r.Sc(13,"\n "),r.Vb(),r.Sc(14,"\n "),r.Wb(15,"div",15),r.Sc(16,"\n "),r.Wb(17,"label"),r.ac(18,19),r.Vb(),r.Sc(19,"\n "),r.Rb(20,"nd-typography-email",17),r.Sc(21,"\n "),r.Vb(),r.Sc(22,"\n "),r.Tb()),2&e){const e=r.oc(3).ngIf;r.Cb(9),r.wc("ndValue",e.Hotel.Tele),r.Cb(2),r.wc("ndValue",e.Hotel.Mail_AfterSale),r.Cb(9),r.wc("ndValue",e.Hotel.Mail_Complaint)}}function ki(e,t){if(1&e&&(r.Ub(0),r.Sc(1,"\n "),r.Wb(2,"div",15),r.Sc(3,"\n "),r.Wb(4,"label"),r.Sc(5,"Mercado espa\xf1ol"),r.Vb(),r.Sc(6,"\n "),r.Wb(7,"div"),r.Sc(8,"\n "),r.Rb(9,"nd-typography-phone",17),r.Sc(10,"\n "),r.Rb(11,"nd-typography-email",17),r.Sc(12,"\n "),r.Vb(),r.Sc(13,"\n "),r.Vb(),r.Sc(14,"\n "),r.Tb()),2&e){const e=r.oc(3).ngIf;r.Cb(9),r.wc("ndValue",e.Hotel.Tele_ES),r.Cb(2),r.wc("ndValue",e.Hotel.Mail_ES)}}function Pi(e,t){if(1&e&&(r.Ub(0),r.Sc(1,"\n "),r.Wb(2,"h4",13),r.ac(3,14),r.Vb(),r.Sc(4,"\n "),r.Qc(5,Ti,23,3,"ng-container",1),r.Sc(6,"\n "),r.Qc(7,ki,15,2,"ng-container",1),r.Sc(8,"\n "),r.Wb(9,"div",15),r.Sc(10,"\n "),r.Wb(11,"label"),r.ac(12,16),r.Vb(),r.Sc(13,"\n "),r.Wb(14,"div"),r.Sc(15,"\n "),r.Rb(16,"nd-typography-phone",17),r.Sc(17,"\n "),r.Rb(18,"nd-typography-email",17),r.Sc(19,"\n "),r.Vb(),r.Sc(20,"\n "),r.Vb(),r.Sc(21,"\n "),r.Tb()),2&e){const e=r.oc(2).ngIf,t=r.oc();r.Cb(5),r.wc("ngIf","es-ES"!==t.langCode),r.Cb(2),r.wc("ngIf","es-ES"===t.langCode),r.Cb(9),r.wc("ndValue",e.Hotel.Tele_Global),r.Cb(2),r.wc("ndValue",e.Hotel.Mail_Global)}}function Ei(e,t){1&e&&(r.Ub(0),r.Sc(1,"\n "),r.Qc(2,Pi,22,4,"ng-container",4),r.Sc(3,"\n "),r.Tb())}function Di(e,t){if(1&e&&(r.Ub(0),r.Sc(1,"\n "),r.Wb(2,"h4",13),r.ac(3,20),r.Vb(),r.Sc(4,"\n "),r.Wb(5,"div",15),r.Sc(6,"\n "),r.Wb(7,"label"),r.ac(8,21),r.Vb(),r.Sc(9,"\n\n "),r.Rb(10,"nd-typography-phone",17),r.Sc(11,"\n "),r.Vb(),r.Sc(12,"\n "),r.Wb(13,"div",15),r.Sc(14,"\n "),r.Wb(15,"label"),r.ac(16,22),r.Vb(),r.Sc(17,"\n "),r.Rb(18,"nd-typography-email",17),r.Sc(19,"\n "),r.Vb(),r.Sc(20,"\n "),r.Tb()),2&e){const e=r.oc(2).ngIf;r.Cb(10),r.wc("ndValue",e.Transfer.Tele),r.Cb(8),r.wc("ndValue",e.Transfer.Mail)}}function Mi(e,t){1&e&&(r.Ub(0),r.Sc(1,"\n "),r.Qc(2,Di,21,2,"ng-container",4),r.Sc(3,"\n "),r.Tb())}function Ii(e,t){if(1&e&&(r.Wb(0,"div",15),r.Sc(1,"\n "),r.Wb(2,"label"),r.ac(3,25),r.Vb(),r.Sc(4,"\n "),r.Wb(5,"a",26),r.Sc(6),r.Vb(),r.Sc(7,"\n "),r.Vb()),2&e){const e=r.oc(2).ngIf;r.Cb(5),r.yc("href","tel:",e.Cellphone,"",r.Kc),r.Cb(1),r.Tc(e.Cellphone)}}function Ai(e,t){if(1&e&&(r.Wb(0,"div",15),r.Sc(1,"\n "),r.Wb(2,"label"),r.ac(3,27),r.Vb(),r.Sc(4,"\n "),r.Wb(5,"a",26),r.Sc(6),r.Vb(),r.Sc(7,"\n "),r.Vb()),2&e){const e=r.oc(2).ngIf;r.Cb(5),r.yc("href","mailto:",e.Email,"",r.Kc),r.Cb(1),r.Tc(e.Email)}}function Ri(e,t){if(1&e&&(r.Ub(0),r.Sc(1,"\n "),r.Wb(2,"h4",13),r.Sc(3,"\n "),r.Wb(4,"span"),r.ac(5,23),r.Vb(),r.Sc(6,"\xa0"),r.Wb(7,"span"),r.Sc(8),r.Vb(),r.Sc(9,"\n "),r.Vb(),r.Sc(10,"\n "),r.Qc(11,Ii,8,2,"div",24),r.Sc(12,"\n "),r.Qc(13,Ai,8,2,"div",24),r.Sc(14,"\n "),r.Tb()),2&e){const e=r.oc().ngIf;r.Cb(8),r.Uc("(",e.UserName,")"),r.Cb(3),r.wc("ngIf",e.Cellphone),r.Cb(2),r.wc("ngIf",e.Email)}}function ji(e,t){1&e&&(r.Ub(0),r.Sc(1,"\n "),r.Qc(2,Ri,15,3,"ng-container",4),r.Sc(3,"\n "),r.Tb())}function Vi(e,t){if(1&e&&(r.Ub(0),r.Sc(1,"\n "),r.Qc(2,ji,4,0,"ng-container",1),r.pc(3,"async"),r.Sc(4,"\n "),r.Tb()),2&e){const e=r.oc(2);r.Cb(2),r.wc("ngIf",r.qc(3,1,!e.gsaInfo&&e.salesRepresentativeInfo$))}}function Li(e,t){if(1&e&&(r.Wb(0,"div"),r.Sc(1,"\n "),r.Wb(2,"h4",13),r.ac(3,28),r.Vb(),r.Sc(4,"\n "),r.Wb(5,"div",15),r.Sc(6,"\n "),r.Wb(7,"label"),r.ac(8,29),r.Vb(),r.Sc(9,"\n "),r.Rb(10,"nd-typography-phone",17),r.Sc(11,"\n "),r.Vb(),r.Sc(12,"\n "),r.Wb(13,"div",15),r.Sc(14,"\n "),r.Wb(15,"label"),r.ac(16,30),r.Vb(),r.Sc(17,"\n "),r.Wb(18,"div"),r.Sc(19,"\n "),r.Rb(20,"nd-typography-email",17),r.Sc(21,"\n "),r.Vb(),r.Sc(22,"\n "),r.Vb(),r.Sc(23,"\n "),r.Wb(24,"div",15),r.Sc(25,"\n "),r.Wb(26,"label"),r.ac(27,31),r.Vb(),r.Sc(28,"\n "),r.Wb(29,"div"),r.Sc(30,"\n "),r.Rb(31,"nd-typography-email",17),r.Sc(32,"\n "),r.Vb(),r.Sc(33,"\n "),r.Vb(),r.Sc(34,"\n "),r.Wb(35,"div",15),r.Sc(36,"\n "),r.Wb(37,"label"),r.ac(38,32),r.Vb(),r.Sc(39,"\n "),r.Wb(40,"div"),r.Sc(41,"\n "),r.Rb(42,"nd-typography-email",17),r.Sc(43,"\n "),r.Vb(),r.Sc(44,"\n "),r.Vb(),r.Sc(45,"\n "),r.Vb()),2&e){const e=r.oc().ngIf;r.Cb(10),r.wc("ndValue",e.Flight.Tele_AfterSale),r.Cb(10),r.wc("ndValue",e.Flight.Mail_BeforeSale),r.Cb(11),r.wc("ndValue",e.Flight.Mail_AfterSale),r.Cb(11),r.wc("ndValue",e.Flight.Mail_Business)}}const Ni=function(e,t){return[e,t]};function Fi(e,t){if(1&e&&(r.Wb(0,"div",2),r.Sc(1,"\n "),r.Wb(2,"nz-space",3),r.Sc(3,"\n "),r.Qc(4,zi,23,2,"ng-container",4),r.Sc(5,"\n "),r.Qc(6,Ei,4,0,"ng-container",5),r.Sc(7,"\n "),r.Qc(8,Mi,4,0,"ng-container",6),r.Sc(9,"\n "),r.Qc(10,Vi,5,3,"ng-container",5),r.Sc(11,"\n "),r.Qc(12,Li,46,4,"div",7),r.Sc(13,"\n "),r.Vb(),r.Sc(14,"\n"),r.Vb()),2&e){const e=r.oc();r.Cb(2),r.wc("nzSize",10),r.Cb(4),r.wc("ndAccessControl",r.Cc(6,Ni,e.Permission.ResourceHotel_Price_Search,e.Permission.ResourceHotel_Booking_View)),r.Cb(2),r.wc("ndExperiment",e.ExperimentControls.DidaTransferEntranceFeatureControl_Temp),r.Cb(2),r.wc("ndAccessControl",r.Cc(9,Ni,e.Permission.ResourceHotel_Price_Search,e.Permission.ResourceHotel_Booking_View)),r.Cb(2),r.wc("ndAccessControl",r.Cc(12,Ni,e.Permission.ResourceFlight_Price_Search,e.Permission.ResourceFlight_Booking_View))("ndAccessControlExpCtrl",e.ExperimentControls.FlightControl)}}function Bi(e,t){if(1&e&&(r.Wb(0,"div"),r.Sc(1,"\n "),r.Wb(2,"div",15),r.Sc(3,"\n "),r.Wb(4,"label"),r.ac(5,33),r.Vb(),r.Sc(6,"\n "),r.Wb(7,"div"),r.Sc(8,"\n "),r.Rb(9,"nd-typography-phone",17),r.Sc(10,"\n "),r.Vb(),r.Sc(11,"\n "),r.Vb(),r.Sc(12,"\n "),r.Wb(13,"div",15),r.Sc(14,"\n "),r.Wb(15,"label"),r.ac(16,34),r.Vb(),r.Sc(17,"\n "),r.Wb(18,"div"),r.Sc(19,"\n "),r.Rb(20,"nd-typography-email",17),r.Sc(21,"\n "),r.Vb(),r.Sc(22,"\n "),r.Vb(),r.Sc(23,"\n "),r.Wb(24,"div",15),r.Sc(25,"\n "),r.Wb(26,"label"),r.Sc(27,"WhatsApp"),r.Vb(),r.Sc(28,"\n "),r.Wb(29,"span"),r.Sc(30),r.Vb(),r.Sc(31,"\n "),r.Vb(),r.Sc(32,"\n"),r.Vb()),2&e){const e=t.ngIf;r.Cb(9),r.wc("ndValue",e.CS_Phone),r.Cb(11),r.wc("ndValue",e.CS_Email),r.Cb(10),r.Tc(e.CS_WhatsApp)}}let Wi=(()=>{class e extends f.o{constructor(e,t){super(),this.appSettingService=e,this.appEventHub=t}get salesRepresentativeInfo$(){return this.appSettingService.salesRepresentativeInfoSubject}get didaContactSetting$(){return this.appSettingService.contactSettingSubject}get gsaContactSetting$(){return this.appSettingService.gsaCustomSettingSubject}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(f.c),r.Qb(f.f))},e.\u0275cmp=r.Kb({type:e,selectors:[["nd-navbar-customer-center"]],features:[r.zb],decls:6,vars:6,consts:function(){let e,t,n,i,r,o,s,a,c,l,u,d,h,p,f,g,b,m,y,v,C,w;return e="From 0:00 to 8:00, check-in issues will be handled first",t="Pre-sale Service Time",n="Beijing Time",i="Complaints Service Time",r="Beijing Time",o="Hotel Service",s="Global Market",a="Chinese Market",c="Domestic Complaints Email",l="Transfer",u="Phone",d="Email",h="Sales Manager",p="Phone",f="Email",g="Flight Service",b="Phone",m="Pre-sale Email",y="After-sale Email",v="Flight Business Contact",C="Phone",w="Email",[["class","nd-navbar-popover",4,"ngIf"],[4,"ngIf"],[1,"nd-navbar-popover"],["nzDirection","vertical",1,"nd-navbar-popover__content",3,"nzSize"],[4,"nzSpaceItem"],[4,"ndAccessControl"],[4,"ndExperiment"],[4,"ndAccessControl","ndAccessControlExpCtrl"],e,t,n,i,r,[1,"nd-navbar-popover__sub-title"],o,[1,"nd-navbar-popover__field"],s,["ndBlock","",3,"ndValue"],a,c,l,u,d,h,["class","nd-navbar-popover__field",4,"ngIf"],p,[3,"href"],f,g,b,m,y,v,C,w]},template:function(e,t){1&e&&(r.Qc(0,Fi,15,15,"div",0),r.pc(1,"async"),r.Sc(2,"\n"),r.Qc(3,Bi,33,3,"div",1),r.pc(4,"async"),r.Sc(5,"\n")),2&e&&(r.wc("ngIf",r.qc(1,2,t.didaContactSetting$)),r.Cb(3),r.wc("ngIf",r.qc(4,4,t.gsaContactSetting$)))},directives:[E.o,nt.a,nt.b,kn.a,_i.a,Oi.a,xi.a],pipes:[E.b],styles:[""]}),e})();var Hi=n("a59x"),Ui=n("TDP3");const $i=function(e,t){return["/account","message-center",e,t]};function Qi(e,t){if(1&e){const e=r.Xb();r.Wb(0,"a",10),r.lc("click",function(n){r.Hc(e);const i=t.$implicit;return r.oc(2).onMessageItemClick(n,i)}),r.Sc(1,"\n "),r.Wb(2,"strong"),r.Sc(3,"\n "),r.Rb(4,"nd-message-complex-category",11),r.Sc(5,"\n "),r.Vb(),r.Sc(6,"\n \xa0\n "),r.Rb(7,"nd-message-complex-title",11),r.Sc(8,"\n "),r.Vb()}if(2&e){const e=t.$implicit;r.wc("routerLink",r.Cc(4,$i,e.Category,e.MessageID)),r.Db("data-msg-id",e.MessageID),r.Cb(4),r.wc("ndMessageEntity",e),r.Cb(3),r.wc("ndMessageEntity",e)}}const Gi=function(){return{height:"270px"}};function Yi(e,t){if(1&e&&(r.Wb(0,"div",8),r.Sc(1,"\n "),r.Qc(2,Qi,9,7,"a",9),r.pc(3,"async"),r.Sc(4,"\n "),r.Vb()),2&e){const e=r.oc();r.wc("ngStyle",r.Ac(4,Gi)),r.Cb(2),r.wc("ngForOf",r.qc(3,2,e.unreadMessages$))}}function Ki(e,t){1&e&&(r.Wb(0,"div"),r.Sc(1,"\n "),r.Rb(2,"nz-empty",12),r.Sc(3,"\n "),r.Vb())}function Xi(e,t){if(1&e){const e=r.Xb();r.Wb(0,"a",13),r.lc("click",function(t){return r.Hc(e),r.oc().onMarkAllAsRead(t)}),r.ac(1,14),r.pc(2,"async"),r.Vb()}if(2&e){const e=r.oc();r.wc("nzLoading",r.qc(2,2,e.processing$)),r.Cb(2),r.ec(e.unreadMessageCount),r.bc(1)}}const qi=function(){return["/account/message-center"]};let Ji=(()=>{class e extends f.o{constructor(e,t){super(),this.messageCenterService=e,this.messageCenterEventHub=t,this.MessageCategoryTypeEnum=At.a,this.TicketOperations=c.d,this.WorkOrderLogTypeEnum=c.e,this.messageItemClick=new r.n}ngOnInit(){super.ngOnInit(),this.processing$=new ci.a(!1),this.unreadMessages$=new ci.a(this.messageCenterService.getUnreadMessages()),this.isAllowAccess(this.Permission.MessageCenter_Message_Manage)&&this.messageCenterService.start(),this.subscriptions.messageCenterEvent=this.messageCenterEventHub.events.pipe(Object(m.a)(e=>e instanceof f.A)).subscribe({next:e=>{this.syncUnreadMessageValue()}})}onMessageItemClick(e,t){this.messageItemClick.emit({msgId:t.MessageID})}onMarkAllAsRead(e){e&&(e.preventDefault(),e.stopPropagation()),this.processing$.next(!0),this.messageCenterService.readAllMessages().add(()=>{this.processing$.next(!1)})}getTicketOperation(e){return e.ExtraSetting&&e.ExtraSetting.TicketSettings?e.ExtraSetting.TicketSettings.OperationID:null}syncUnreadMessageValue(){this.unreadMessages$.next(this.messageCenterService.getUnreadMessages())}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(f.z),r.Qb(f.y))},e.\u0275cmp=r.Kb({type:e,selectors:[["nd-navbar-user-unread-message"]],inputs:{unreadMessageCount:"unreadMessageCount"},outputs:{messageItemClick:"messageItemClick"},features:[r.zb],decls:18,vars:6,consts:function(){let e,t,n;return e="View more",t="No new message",n="Read all (" + "\ufffd0\ufffd" + ") messages",[[1,"nd-navbar-popover"],[1,"nd-navbar-popover__content",2,"width","400px",3,"ngSwitch"],["class","nd-navbar-popover__list nd-scrollable",3,"ngStyle",4,"ngSwitchCase"],[4,"ngSwitchCase"],[1,"nd-navbar-popover__footer","nd-navbar-popover__footer_align-right"],[3,"routerLink"],e,["nz-button","","nzType","link","nzSize","small",3,"nzLoading","click",4,"ngIf"],[1,"nd-navbar-popover__list","nd-scrollable",3,"ngStyle"],["class","nd-navbar-popover__list-item",3,"routerLink","click",4,"ngFor","ngForOf"],[1,"nd-navbar-popover__list-item",3,"routerLink","click"],[3,"ndMessageEntity"],["nzNotFoundContent",t],["nz-button","","nzType","link","nzSize","small",3,"nzLoading","click"],n]},template:function(e,t){1&e&&(r.Wb(0,"div",0),r.Sc(1,"\n "),r.Wb(2,"div",1),r.Sc(3,"\n "),r.Qc(4,Yi,5,5,"div",2),r.Sc(5,"\n "),r.Qc(6,Ki,4,0,"div",3),r.Sc(7,"\n "),r.Vb(),r.Sc(8,"\n "),r.Wb(9,"div",4),r.Sc(10,"\n "),r.Wb(11,"a",5),r.ac(12,6),r.Vb(),r.Sc(13,"\n "),r.Qc(14,Xi,3,4,"a",7),r.Sc(15,"\n "),r.Vb(),r.Sc(16,"\n"),r.Vb(),r.Sc(17,"\n")),2&e&&(r.Cb(2),r.wc("ngSwitch",t.unreadMessageCount>0),r.Cb(2),r.wc("ngSwitchCase",!0),r.Cb(2),r.wc("ngSwitchCase",!1),r.Cb(5),r.wc("routerLink",r.Ac(5,qi)),r.Cb(3),r.wc("ngIf",t.unreadMessageCount>0))},directives:[E.q,E.r,z.j,E.o,E.p,E.n,Hi.a,Ui.a,ui.b,B.a,j.a],pipes:[E.b],styles:[""]}),e})();var Zi=n("bNXi"),er=n("T94O"),tr=n("KupA");const nr=["successTxt"];function ir(e,t){1&e&&r.Rb(0,"nd-loading",3),2&e&&r.wc("scale",.5)}function rr(e,t){1&e&&(r.Wb(0,"span"),r.Sc(1,"\n "),r.Rb(2,"i",23),r.Sc(3,"\n "),r.Ub(4),r.ac(5,24),r.Tb(),r.Sc(6,"\n "),r.Vb())}function or(e,t){if(1&e){const e=r.Xb();r.Wb(0,"a",27),r.lc("nzOnConfirm",function(){r.Hc(e);const t=r.oc(2).$implicit;return r.oc(3).unbindAccount(t.UserID)}),r.Sc(1,"\n "),r.Ub(2),r.ac(3,28),r.Tb(),r.Sc(4,"\n "),r.Vb()}}function sr(e,t){if(1&e){const e=r.Xb();r.Wb(0,"a",29),r.lc("click",function(){r.Hc(e);const t=r.oc(2).$implicit;return r.oc(3).showLoginModal(t.UserName)}),r.Sc(1,"\n "),r.Ub(2),r.ac(3,30),r.Tb(),r.Sc(4,"\n "),r.Vb()}}function ar(e,t){1&e&&(r.Ub(0),r.Sc(1,"\n "),r.Wb(2,"nz-space"),r.Sc(3,"\n "),r.Qc(4,or,5,0,"a",25),r.Sc(5,"\n "),r.Qc(6,sr,5,0,"a",26),r.Sc(7,"\n "),r.Vb(),r.Sc(8,"\n "),r.Tb())}function cr(e,t){if(1&e&&(r.Wb(0,"div",18),r.Sc(1,"\n "),r.Wb(2,"nz-row",19),r.Sc(3,"\n "),r.Wb(4,"nz-col"),r.Sc(5),r.Vb(),r.Sc(6,"\n "),r.Wb(7,"nz-col",20),r.Sc(8,"\n "),r.Qc(9,rr,7,0,"span",21),r.Sc(10,"\n "),r.Qc(11,ar,9,0,"ng-container",22),r.Sc(12,"\n "),r.Vb(),r.Sc(13,"\n "),r.Vb(),r.Sc(14,"\n "),r.Vb()),2&e){const e=t.$implicit;r.Cb(5),r.Vc(" ",e.UserName," (",e.DidaClientID,") "),r.Cb(2),r.wc("ngSwitch",e.IsCurrent),r.Cb(2),r.wc("ngSwitchCase",!0)}}function lr(e,t){if(1&e){const e=r.Xb();r.Ub(0),r.Sc(1,"\n "),r.Wb(2,"div",12),r.Sc(3,"\n "),r.Wb(4,"div",13),r.Sc(5,"\n "),r.Qc(6,cr,15,4,"div",14),r.Sc(7,"\n "),r.Vb(),r.Sc(8,"\n "),r.Vb(),r.Sc(9,"\n\n "),r.Wb(10,"div",15),r.Sc(11,"\n "),r.Wb(12,"a",16),r.lc("nzOnConfirm",function(){return r.Hc(e),r.oc(2).clearBindingInfo()}),r.Sc(13,"\n "),r.Sc(14,"\n "),r.Ub(15),r.ac(16,17),r.Tb(),r.Sc(17,"\n "),r.Vb(),r.Sc(18,"\n "),r.Vb(),r.Sc(19,"\n "),r.Tb()}if(2&e){const e=r.oc(2);r.Cb(6),r.wc("ngForOf",e.bindingList)}}function ur(e,t){1&e&&r.Rb(0,"nz-empty",32)}function dr(e,t){if(1&e&&(r.Sc(0,"\n "),r.Qc(1,ur,1,0,"nz-empty",31),r.Sc(2,"\n ")),2&e){const e=r.oc(2);r.Cb(1),r.wc("ngIf",e.bindingList)}}function hr(e,t){if(1&e){const e=r.Xb();r.Wb(0,"nz-col"),r.Sc(1,"\n "),r.Wb(2,"button",8),r.lc("click",function(){return r.Hc(e),r.oc(2).showSuccessModal({userName:"adam_test",clientId:"adam_test"})}),r.Sc(3,"\n Show success modal\n "),r.Vb(),r.Sc(4,"\n "),r.Vb()}}function pr(e,t){if(1&e){const e=r.Xb();r.Sc(0,"\n "),r.Qc(1,lr,20,1,"ng-container",4),r.Sc(2,"\n "),r.Qc(3,dr,3,1,"ng-template",null,5,r.Rc),r.Sc(5,"\n "),r.Wb(6,"div",6),r.Sc(7,"\n "),r.Wb(8,"nz-row",7),r.Sc(9,"\n "),r.Wb(10,"nz-col"),r.Sc(11,"\n "),r.Wb(12,"button",8),r.lc("click",function(){return r.Hc(e),r.oc().showLoginModal()}),r.Sc(13,"\n "),r.Rb(14,"i",9),r.Sc(15,"\n "),r.Ub(16),r.ac(17,10),r.Tb(),r.Sc(18,"\n "),r.Vb(),r.Sc(19,"\n "),r.Vb(),r.Sc(20,"\n "),r.Qc(21,hr,5,0,"nz-col",11),r.Sc(22,"\n "),r.Vb(),r.Sc(23,"\n "),r.Vb(),r.Sc(24,"\n ")}if(2&e){const e=r.Ec(4),t=r.oc();r.Cb(1),r.wc("ngIf",t.hasBinding)("ngIfElse",e),r.Cb(20),r.wc("ngIf",t.isDev)}}let fr=(()=>{class e{constructor(e,t,n){this.messageService=e,this.modalService=t,this.noticfication=n,this.bindingList=[],this.loadingBindingList=!1,this.hasBinding=!1}get isDev(){return Object(r.X)()}ngOnInit(){this.loadBindingInfo()}loadBindingInfo(){this.loadingBindingList=!0,Object(f.K)(C.getBindingInfo()).subscribe(e=>{this.bindingList=e,this.hasBinding=e.some(e=>!e.IsCurrent)},e=>{this.messageService.error(e.message)},()=>{this.loadingBindingList=!1})}unbindAccount(e){Object(f.K)(C.unlinkBindings(e)).subscribe(()=>{this.messageService.success("Successfully unbound"),this.loadBindingInfo()},e=>{this.messageService.error(e.message)})}clearBindingInfo(){Object(f.K)(C.clearBindings()).subscribe(e=>{this.messageService.success("Successfully unbound"),this.loadBindingInfo()},e=>{this.messageService.error(e.message)})}showLoginModal(e){let t="Switch login account";e||(t="Bind and switch accounts"),this.modalService.create({nzTitle:t,nzWidth:400,nzFooter:null,nzClassName:"nd-login-modal",nzMaskClosable:!1,nzContent:Ge,nzComponentParams:{loginIdentifier:e,bindCurrentAccount:!0},nzOnOk(e){e.submitForm()}}).componentInstance.success.subscribe(e=>{this.modalService.closeAll(),this.showSuccessModal(e).onClose.subscribe(()=>{window.location.reload()})})}showSuccessModal(e){return this.messageService.success("You have switched to the " + e.userName + "(" + e.clientId + ") account")}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(T.e),r.Qb(k.f),r.Qb(Zi.b))},e.\u0275cmp=r.Kb({type:e,selectors:[["nd-account-switch"]],viewQuery:function(e,t){if(1&e&&r.Xc(nr,3),2&e){let e;r.Dc(e=r.mc())&&(t.successTxt=e.first)}},decls:8,vars:2,consts:function(){let e,t,n,i,r,o,s,a;return e="Bind Account",t="confirm to unbind all accounts?",n="One-click to unbind all accounts",i="Current Login",r="Confirm to unbind?",o="Unbind",s="Switch",a="No bound account",[[1,"account-switch"],[3,"scale",4,"ngIf","ngIfElse"],["notLoading",""],[3,"scale"],[4,"ngIf","ngIfElse"],["emptyResult",""],[1,"account-switch__extra"],["nzJustify","center"],["nz-button","","nzSize","large",3,"click"],["nz-icon","","nzType","plus"],e,[4,"ngIf"],[1,"nd-scrollable","account-switch__list-wrapper"],[1,"account-switch__list"],["class","account-switch__item",4,"ngFor","ngForOf"],[1,"account-switch__clear-all"],["nz-popconfirm",t,3,"nzOnConfirm"],n,[1,"account-switch__item"],["nzJustify","space-between"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["nz-icon","","nzType","check-circle","nzTheme","fill",2,"color","#28b366"],i,["nz-popconfirm",r,3,"nzOnConfirm",4,"nzSpaceItem"],[3,"click",4,"nzSpaceItem"],["nz-popconfirm",r,3,"nzOnConfirm"],o,[3,"click"],s,["nzNotFoundContent",a,4,"ngIf"],["nzNotFoundContent",a]]},template:function(e,t){if(1&e&&(r.Wb(0,"div",0),r.Sc(1,"\n "),r.Qc(2,ir,1,1,"nd-loading",1),r.Sc(3,"\n "),r.Qc(4,pr,25,3,"ng-template",null,2,r.Rc),r.Sc(6,"\n"),r.Vb(),r.Sc(7,"\n")),2&e){const e=r.Ec(5);r.Cb(2),r.wc("ngIf",t.loadingBindingList)("ngIfElse",e)}},directives:[E.o,er.a,M.c,M.a,B.a,W.a,j.a,A.a,R.a,E.n,tr.a,E.q,E.r,E.s,nt.a,nt.b,ui.b],styles:[".account-switch{margin:10px 6px}.account-switch__list-wrapper{border-radius:8px;border:1px solid #dfe0e4;max-height:300px;padding:0 20px}.account-switch__item{padding:10px 0}.account-switch__item:not(:first-child){border-top:1px solid #dfe0e4}.account-switch__clear-all{margin:10px 0;text-align:right}.account-switch__extra{margin:10px 0}.account-switch__notification{background-color:rgba(14,14,20,.82);font-weight:400;color:#fff}"],encapsulation:2}),e})();var gr=n("eHCX");function br(e,t){if(1&e){const e=r.Xb();r.Wb(0,"button",15),r.lc("click",function(){return r.Hc(e),r.oc(3).showAccountSwitchModal()}),r.Sc(1,"\n "),r.Rb(2,"i",16),r.Ub(3),r.ac(4,17),r.Tb(),r.Sc(5,"\n "),r.Vb()}}const mr=function(){return["/account/manage/client/balance"]};function yr(e,t){if(1&e&&(r.Wb(0,"div",4),r.Sc(1,"\n "),r.Wb(2,"h4",5),r.ac(3,18),r.Vb(),r.Sc(4,"\n "),r.Wb(5,"div",7),r.Sc(6,"\n "),r.Wb(7,"span",19),r.Sc(8),r.pc(9,"currency"),r.Vb(),r.Sc(10,"\n "),r.Wb(11,"a",20),r.Sc(12,"\n "),r.Ub(13),r.ac(14,21),r.Tb(),r.Rb(15,"i",22),r.Sc(16,"\n "),r.Vb(),r.Sc(17,"\n "),r.Vb(),r.Sc(18,"\n "),r.Vb()),2&e){const e=r.oc(4);r.Cb(8),r.Tc(r.tc(9,2,null==e.clientInfo?null:e.clientInfo.ClientAccount.Balance,e.currencyInfo.SettlementCode,"code","1.0-2")),r.Cb(3),r.wc("routerLink",r.Ac(7,mr))}}function vr(e,t){if(1&e&&(r.Ub(0),r.Sc(1,"\n "),r.Qc(2,yr,19,8,"div",11),r.Sc(3,"\n "),r.Tb()),2&e){const e=r.oc(3);r.Cb(2),r.wc("ngIf",(null==e.clientInfo?null:e.clientInfo.ClientAccount)&&!e.gsaInfo)}}const Cr=function(){return["/account/manage/gsa/balance"]};function wr(e,t){if(1&e&&(r.Wb(0,"div",4),r.Sc(1,"\n "),r.Wb(2,"h4",5),r.ac(3,23),r.Vb(),r.Sc(4,"\n "),r.Wb(5,"div",7),r.Sc(6,"\n "),r.Wb(7,"span",19),r.Sc(8),r.pc(9,"number"),r.Vb(),r.Sc(10,"\n "),r.Wb(11,"a",20),r.Sc(12,"\n "),r.Ub(13),r.ac(14,24),r.Tb(),r.Rb(15,"i",22),r.Sc(16,"\n "),r.Vb(),r.Sc(17,"\n "),r.Vb(),r.Sc(18,"\n "),r.Vb()),2&e){const e=r.oc(4);r.Cb(8),r.Tc(r.rc(9,2,e.gsaFinanceAccount.Amount,"0.0-2")),r.Cb(3),r.wc("routerLink",r.Ac(5,Cr))}}function Sr(e,t){if(1&e&&(r.Ub(0),r.Sc(1,"\n "),r.Qc(2,wr,19,6,"div",11),r.Sc(3,"\n "),r.Tb()),2&e){const e=r.oc(3);r.Cb(2),r.wc("ngIf",e.gsaFinanceAccount)}}function _r(e,t){if(1&e&&(r.Wb(0,"div",4),r.Sc(1,"\n "),r.Wb(2,"h4",5),r.Sc(3,"\n "),r.Ub(4),r.ac(5,25),r.Tb(),r.Sc(6,"\xa0"),r.Wb(7,"small"),r.Sc(8),r.Vb(),r.Sc(9,"\n "),r.Vb(),r.Sc(10,"\n "),r.Wb(11,"div",7),r.Sc(12,"\n "),r.Wb(13,"span",8),r.Sc(14),r.Vb(),r.Sc(15,"\n "),r.Vb(),r.Sc(16,"\n "),r.Vb()),2&e){const e=r.oc(3);r.Cb(8),r.Tc(e.clientInfo.ClientID),r.Cb(6),r.Uc("\n ",e.clientInfo.Name,"\n ")}}const Or=function(){return["/account/manage/points"]};function xr(e,t){if(1&e&&(r.Wb(0,"div",4),r.Sc(1,"\n "),r.Wb(2,"h4",5),r.ac(3,26),r.Vb(),r.Sc(4,"\n "),r.Wb(5,"div",7),r.Sc(6,"\n "),r.Wb(7,"span",19),r.Sc(8),r.pc(9,"number"),r.Vb(),r.Sc(10,"\n "),r.Wb(11,"a",20),r.Sc(12,"\n "),r.Ub(13),r.ac(14,27),r.Tb(),r.Rb(15,"i",22),r.Sc(16,"\n "),r.Vb(),r.Sc(17,"\n "),r.Vb(),r.Sc(18,"\n "),r.Vb()),2&e){const e=r.oc(4);r.Cb(8),r.Tc(r.qc(9,2,e.userPointInfo.Balance)),r.Cb(3),r.wc("routerLink",r.Ac(4,Or))}}function zr(e,t){if(1&e&&(r.Ub(0),r.Sc(1,"\n "),r.Qc(2,xr,19,5,"div",11),r.Sc(3,"\n "),r.Tb()),2&e){const e=r.oc(3);r.Cb(2),r.wc("ngIf",e.userPointInfo)}}const Tr=function(){return["/account/manage/coupon"]};function kr(e,t){if(1&e&&(r.Wb(0,"div",4),r.Sc(1,"\n "),r.Wb(2,"h4",5),r.ac(3,28),r.Vb(),r.Sc(4,"\n "),r.Wb(5,"div",7),r.Sc(6,"\n "),r.Wb(7,"span",19),r.Sc(8),r.pc(9,"number"),r.Vb(),r.Sc(10,"\n "),r.Wb(11,"a",20),r.Sc(12,"\n "),r.Ub(13),r.ac(14,29),r.Tb(),r.Rb(15,"i",22),r.Sc(16,"\n "),r.Vb(),r.Sc(17,"\n "),r.Vb(),r.Sc(18,"\n "),r.Vb()),2&e){const e=r.oc(4);r.Cb(8),r.Tc(r.qc(9,2,e.activeCouponCount)),r.Cb(3),r.wc("routerLink",r.Ac(4,Tr))}}function Pr(e,t){if(1&e&&(r.Ub(0),r.Sc(1,"\n "),r.Qc(2,kr,19,5,"div",11),r.Sc(3,"\n "),r.Tb()),2&e){const e=r.oc(3);r.Cb(2),r.wc("ngIf",e.allowCoupon)}}function Er(e,t){if(1&e){const e=r.Xb();r.Wb(0,"a",31),r.lc("click",function(t){r.Hc(e);const n=r.oc().$implicit;return r.oc(3).actionItemClick(t,n.icon)}),r.Sc(1,"\n "),r.Wb(2,"div",32),r.Sc(3,"\n "),r.Rb(4,"i",33),r.Sc(5,"\n "),r.Rb(6,"nz-badge",34),r.Sc(7,"\n "),r.Vb(),r.Sc(8,"\n "),r.Wb(9,"div",35),r.Sc(10),r.Vb(),r.Sc(11,"\n "),r.Vb()}if(2&e){const e=r.oc().$implicit;r.wc("routerLink",e.route),r.Cb(4),r.wc("ndType",e.icon),r.Cb(2),r.wc("nzCount",e.badge),r.Cb(3),r.wc("title",e.title),r.Cb(1),r.Uc("\n ",e.title,"\n ")}}function Dr(e,t){if(1&e&&(r.Ub(0),r.Sc(1,"\n "),r.Qc(2,Er,12,5,"a",30),r.Sc(3,"\n "),r.Tb()),2&e){const e=t.$implicit;r.Cb(2),r.wc("ndAccessControl",null==e.controls?null:e.controls.permission)("ndAccessControlExpCtrl",null==e.controls?null:e.controls.experiment)}}function Mr(e,t){if(1&e&&(r.Sc(0,"\n "),r.Wb(1,"div",3),r.Sc(2,"\n "),r.Wb(3,"div",4),r.Sc(4,"\n "),r.Wb(5,"h4",5),r.ac(6,6),r.Vb(),r.Sc(7,"\n "),r.Wb(8,"div",7),r.Sc(9,"\n "),r.Wb(10,"span",8),r.Sc(11),r.Vb(),r.Sc(12,"\n "),r.Qc(13,br,6,0,"button",9),r.Sc(14,"\n "),r.Vb(),r.Sc(15,"\n "),r.Vb(),r.Sc(16,"\n "),r.Qc(17,vr,4,1,"ng-container",10),r.Sc(18,"\n\n "),r.Qc(19,Sr,4,1,"ng-container",10),r.Sc(20,"\n\n "),r.Qc(21,_r,17,2,"div",11),r.Sc(22,"\n "),r.Qc(23,zr,4,1,"ng-container",12),r.Sc(24,"\n "),r.Qc(25,Pr,4,1,"ng-container",10),r.Sc(26,"\n "),r.Wb(27,"div",13),r.Sc(28,"\n "),r.Qc(29,Dr,4,2,"ng-container",14),r.Sc(30,"\n "),r.Vb(),r.Sc(31,"\n "),r.Vb(),r.Sc(32,"\n ")),2&e){const e=r.oc(2);r.Cb(11),r.Uc("\n ",e.userProfile.UserName,"\n "),r.Cb(2),r.wc("ndAccessControl",e.Permission.Account_LoginGroup_Allow),r.Cb(4),r.wc("ndAccessControl",e.Permission.Finance_Balance_View),r.Cb(2),r.wc("ndAccessControl",e.Permission.GsaAgency_Info_View),r.Cb(2),r.wc("ngIf",e.clientInfo),r.Cb(2),r.wc("ndAccessControl",e.Permission.Marketing_Points_View)("ndAccessControlExpCtrl",e.ExperimentControls.UserPointsControl),r.Cb(2),r.wc("ndAccessControl",e.Permission.Marketing_Coupon_View),r.Cb(4),r.wc("ngForOf",e.bottomNavList)}}function Ir(e,t){if(1&e){const e=r.Xb();r.Wb(0,"div",1),r.lc("nzPopoverVisibleChange",function(t){return r.Hc(e),r.oc().popoverVisibleChange(t)}),r.Sc(1,"\n "),r.Sc(2,"\n "),r.uc(3),r.Sc(4,"\n "),r.Sc(5,"\n "),r.Qc(6,Mr,33,9,"ng-template",null,2,r.Rc),r.Sc(8,"\n"),r.Vb()}if(2&e){const e=r.Ec(7),t=r.oc();r.wc("nzPopoverContent",e)("nzPopoverVisible",t.isOpen)}}const Ar=["*"];let Rr=(()=>{class e extends f.o{constructor(e,t,n,i,r){super(),this.messageCenterService=e,this.appEventHub=t,this.route=n,this.router=i,this.modalSerivce=r,this.Icons=d.a,this.activeCouponCount=0,this.bottomNavList=[{title:"Data Center",icon:d.a.pieOuline,route:["/account","data-center"],controls:{permission:o.c.DataCenter_BookingAnalysis_View,experiment:l.a.DataStatisticsControl}},{title:"Account Center",icon:d.a.userOutline,route:["/account","manage"]},{title:"Client Management",icon:d.a.binaryTreeOuline,route:["/account","manage","gsa","sub-account"],controls:{permission:o.c.GsaAgency_SubAccount_View}},{title:"Client Management",icon:d.a.binaryTreeOuline,route:["/account","manage","client","sub-account"],controls:{permission:o.c.Client_SubAccount_View}},{title:"Sign out",icon:d.a.quitOuline,route:[]}]}get hasMessageCenter(){return this.isAllowAccess(this.Permission.MessageCenter_Message_Manage)}ngOnInit(){super.ngOnInit(),this.subscriptions.routerEvents=this.router.events.pipe(Object(m.a)(e=>e instanceof z.c)).subscribe(e=>{this.isOpen=!1}),this.hasUserLogin&&this.hasMessageCenter&&this.messageCenterService.start()}actionItemClick(e,t){t.indexOf(d.a.quit)>=0&&(e.preventDefault(),e.stopPropagation(),Object(f.K)(o.h.logout()).subscribe().add(()=>{window.location.href="/"}),console.log("[nd-navbar-user-profile] log out!"))}popoverVisibleChange(e){this.isOpen=e}showAccountSwitchModal(){this.isOpen=!1,this.modalSerivce.create({nzTitle:"Binding list",nzContent:fr,nzFooter:null,nzMaskClosable:!0})}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(f.z),r.Qb(f.f),r.Qb(z.a),r.Qb(z.g),r.Qb(k.f))},e.\u0275cmp=r.Kb({type:e,selectors:[["nd-navbar-user-profile"]],inputs:{allowCoupon:"allowCoupon",navType:"navType",activeCouponCount:"activeCouponCount"},features:[r.zb],ngContentSelectors:Ar,decls:2,vars:1,consts:function(){let e,t,n,i,r,o,s,a,c,l,u;return e="Account Info",t="Switch login account",n="Credit",i="View Credit",r="Credit",o="View Credit",s="Client Info",a="Didatravel Points",c="Points",l="Coupon",u="My Coupons",[["nz-popover","","nzPopoverTrigger","click","nzPopoverPlacement","bottomRight",3,"nzPopoverContent","nzPopoverVisible","nzPopoverVisibleChange",4,"ngIf"],["nz-popover","","nzPopoverTrigger","click","nzPopoverPlacement","bottomRight",3,"nzPopoverContent","nzPopoverVisible","nzPopoverVisibleChange"],["userProfileTemplate",""],[1,"nd-navbar-user-profile"],[1,"nd-navbar-user-profile__section"],[1,"nd-navbar-user-profile__label"],e,[1,"nd-navbar-user-profile__value-row"],[1,"nd-navbar-user-profile__value"],["nz-button","","nzType","default",3,"click",4,"ndAccessControl"],[4,"ndAccessControl"],["class","nd-navbar-user-profile__section",4,"ngIf"],[4,"ndAccessControl","ndAccessControlExpCtrl"],[1,"nd-navbar-actions"],[4,"ngFor","ngForOf"],["nz-button","","nzType","default",3,"click"],["nz-icon","","nzType","user-switch","nzTheme","outline"],t,n,[1,"nd-navbar-user-profile__value","nd-navbar-user-profile__value_em"],[1,"nd-navbar-user-profile__extra-link",3,"routerLink"],i,["nz-icon","","nzType","right"],r,o,s,a,c,l,u,["class","nd-navbar-actions__item nd-navbar-action-item",3,"routerLink","click",4,"ndAccessControl","ndAccessControlExpCtrl"],[1,"nd-navbar-actions__item","nd-navbar-action-item",3,"routerLink","click"],[1,"nd-navbar-action-item__icon"],["nz-icon","",3,"ndType"],[1,"nd-navbar-action-item__badge",3,"nzCount"],["nz-typography","","nzEllipsis","",1,"nd-navbar-action-item__title",3,"title"]]},template:function(e,t){1&e&&(r.vc(),r.Qc(0,Ir,9,2,"div",0),r.Sc(1,"\n")),2&e&&r.wc("ngIf",t.hasUserLogin)},directives:[E.o,dn.a,kn.a,E.n,B.a,W.a,j.a,A.a,R.a,z.j,ti.a,gr.a],pipes:[E.d,E.g],styles:[".ant-badge-count{background-color:#e11e56;box-shadow:none}.nd-navbar__label[_ngcontent-%COMP%]{color:#fff;position:absolute;top:10px;font-size:12px;right:-20px;padding:0 4px;border-radius:2px;border-bottom-left-radius:0;line-height:16px}.nd-navbar-user-profile-link.light[_ngcontent-%COMP%]{color:#fff}.nd-navbar-user-profile-link_fixed[_ngcontent-%COMP%]{color:#1f2b4b}.nd-navbar-user-profile-link_fixed[_ngcontent-%COMP%]:hover{text-decoration:none}.nd-navbar-user-profile[_ngcontent-%COMP%]{width:370px}.nd-navbar-user-profile__section[_ngcontent-%COMP%]{padding-bottom:8px;margin-bottom:8px;border-bottom:1px solid #ced4da}.nd-navbar-user-profile__label[_ngcontent-%COMP%]{color:#676f86;margin:0}.nd-navbar-user-profile__value-row[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center}.nd-navbar-user-profile__value[_ngcontent-%COMP%]{color:#1f2b4b}.nd-navbar-user-profile__value_em[_ngcontent-%COMP%]{color:#f32a4e}.nd-navbar-user-profile__extra-link[_ngcontent-%COMP%]{color:#676f86}.nd-navbar-actions[_ngcontent-%COMP%]{line-height:30px;margin:20px 0 8px;display:flex;flex-wrap:nowrap;gap:4px}.nd-navbar-actions__item[_ngcontent-%COMP%]{position:relative;min-width:0;text-align:center;color:#1f2b4b;flex:1}.nd-navbar-action-item[_ngcontent-%COMP%]:hover{text-decoration:none}.nd-navbar-action-item__icon[_ngcontent-%COMP%]{position:relative;font-size:20px;color:#f32a4e;width:45px;height:45px;border-radius:45px;display:inline-flex;align-items:center;justify-content:center;background-color:#fff8f6}.nd-navbar-action-item[_ngcontent-%COMP%]:hover .nd-navbar-action-item__icon[_ngcontent-%COMP%]{color:#fff;background:#f32a4e}.nd-navbar-action-item__badge[_ngcontent-%COMP%]{position:absolute;left:40px;top:-10%}.nd-navbar-action-item__title[_ngcontent-%COMP%]{font-size:14px;line-height:22px;margin:4px 0 0}.nd-navbar-action-item[_ngcontent-%COMP%]:hover .nd-navbar-action-item__title[_ngcontent-%COMP%]{color:#f32a4e}"]}),e})();const jr=["favoriteWidget"],Vr=function(e){return{exact:e}};function Lr(e,t){if(1&e&&(r.Wb(0,"li",17),r.Sc(1,"\n "),r.Wb(2,"a",18),r.Sc(3),r.Vb(),r.Sc(4,"\n "),r.Vb()),2&e){const e=r.oc(2).$implicit;r.Cb(2),r.wc("routerLink",e.link)("routerLinkActiveOptions",r.Bc(3,Vr,e.exact)),r.Cb(1),r.Tc(e.title)}}function Nr(e,t){if(1&e&&(r.Ub(0),r.Sc(1,"\n "),r.Qc(2,Lr,5,5,"li",16),r.Sc(3,"\n "),r.Tb()),2&e){const e=r.oc().$implicit;r.Cb(2),r.wc("ndAccessControl",e.control)("ndAccessControlExpCtrl",e.experiment)("ndAccessControlLang",e.lang)}}const Fr=function(){return{exact:!0}};function Br(e,t){if(1&e&&(r.Wb(0,"li",27),r.Sc(1,"\n "),r.Wb(2,"a",28),r.Sc(3),r.Vb(),r.Sc(4,"\n "),r.Vb()),2&e){const e=r.oc().$implicit;r.Cb(2),r.wc("routerLinkActiveOptions",r.Ac(3,Fr))("routerLink",e.link),r.Cb(1),r.Tc(e.title)}}function Wr(e,t){if(1&e&&(r.Ub(0),r.Sc(1,"\n "),r.Qc(2,Br,5,4,"li",26),r.Sc(3,"\n "),r.Tb()),2&e){const e=t.$implicit;r.Cb(2),r.wc("ndAccessControl",e.control)("ndAccessControlExpCtrl",e.experiment)("ndAccessControlLang",e.lang)}}function Hr(e,t){if(1&e&&(r.Wb(0,"li",20),r.Sc(1,"\n "),r.Wb(2,"a",21,22),r.Sc(4),r.Rb(5,"i",23),r.Sc(6,"\n "),r.Vb(),r.Sc(7,"\n "),r.Wb(8,"nz-dropdown-menu",null,24),r.Sc(10,"\n "),r.Wb(11,"ul",25),r.Sc(12,"\n "),r.Qc(13,Wr,4,3,"ng-container",4),r.Sc(14,"\n "),r.Vb(),r.Sc(15,"\n "),r.Vb(),r.Sc(16,"\n "),r.Vb()),2&e){const e=r.Ec(3),t=r.Ec(9),n=r.oc(2).$implicit;r.wc("title",n.title),r.Cb(2),r.wc("nzDropdownMenu",t),r.Cb(2),r.Uc("\n ",n.title,"\n "),r.Cb(1),r.Ib("nd-navbar__dropdown-arrow_opened",e.nzVisible),r.wc("nzType","nd:arrow-dark"),r.Cb(8),r.wc("ngForOf",n.children)}}function Ur(e,t){if(1&e&&(r.Ub(0),r.Sc(1,"\n "),r.Qc(2,Hr,17,7,"li",19),r.Sc(3,"\n "),r.Tb()),2&e){const e=r.oc().$implicit;r.Cb(2),r.wc("ndAccessControl",e.control)("ndAccessControlExpCtrl",e.experiment)("ndAccessControlLang",e.lang)}}function $r(e,t){if(1&e&&(r.Ub(0),r.Sc(1,"\n "),r.Qc(2,Nr,4,3,"ng-container",6),r.Sc(3,"\n "),r.Qc(4,Ur,4,3,"ng-container",6),r.Sc(5,"\n "),r.Tb()),2&e){const e=t.$implicit;r.Cb(2),r.wc("ngIf",!e.children),r.Cb(2),r.wc("ngIf",e.children)}}function Qr(e,t){if(1&e){const e=r.Xb();r.Wb(0,"div",30),r.Sc(1,"\n "),r.Wb(2,"nd-navbar-search-panel",31),r.lc("ndSearchOptionChange",function(t){return r.Hc(e),r.oc(2).onSearchPanelOptionChange(t.suggestedId,t.suggestedType,t.dateRange)}),r.Sc(3,"\n "),r.Vb(),r.Sc(4,"\n "),r.Vb()}}function Gr(e,t){if(1&e&&(r.Ub(0),r.Sc(1,"\n "),r.Qc(2,Qr,5,0,"div",29),r.Sc(3,"\n "),r.Tb()),2&e){const e=r.oc();r.Cb(2),r.wc("ndAccessControl",e.Permission.ResourceHotel_Price_Search)}}function Yr(e,t){if(1&e){const e=r.Xb();r.Wb(0,"div",9),r.Sc(1,"\n "),r.Wb(2,"nd-navbar-region-switch",32),r.lc("ndSiteRegionChange",function(t){return r.Hc(e),r.oc().switchSiteRegion(t)}),r.Vb(),r.Sc(3,"\n "),r.Vb()}if(2&e){const e=r.oc();r.Cb(2),r.wc("ndSiteRegion",e.siteRegion)("navType",e.childNavType)}}function Kr(e,t){if(1&e){const e=r.Xb();r.Wb(0,"div",9),r.Sc(1,"\n "),r.Wb(2,"nd-navbar-currency-select",33),r.lc("currencyChange",function(t){return r.Hc(e),r.oc(2).switchCurrency(t)}),r.Sc(3,"\n "),r.Vb(),r.Sc(4,"\n "),r.Vb()}if(2&e){const e=r.oc(2);r.Cb(2),r.wc("currency",e.currencyInfo.Code)("currencyList",e.appContext.currencyList)("lang",e.lang)("navType",e.childNavType)}}function Xr(e,t){if(1&e&&(r.Ub(0),r.Sc(1,"\n "),r.Qc(2,Kr,5,4,"div",8),r.Sc(3,"\n "),r.Tb()),2&e){const e=r.oc();r.Cb(2),r.wc("ngIf",e.showCurrencySetting)}}function qr(e,t){1&e&&(r.Sc(0,"\n "),r.Rb(1,"nd-navbar-user-favorite-hotel"),r.Sc(2,"\n "))}function Jr(e,t){1&e&&(r.Sc(0," "),r.Rb(1,"nd-navbar-helper-center"),r.Sc(2," "))}function Zr(e,t){1&e&&(r.Sc(0,"\n "),r.Rb(1,"nd-navbar-customer-center"),r.Sc(2,"\n "))}function eo(e,t){1&e&&(r.Ub(0),r.ac(1,45),r.Tb())}function to(e,t){1&e&&(r.Ub(0),r.ac(1,46),r.Tb())}function no(e,t){if(1&e&&(r.Sc(0,"\n "),r.Ub(1,42),r.Sc(2,"\n "),r.Qc(3,eo,2,0,"ng-container",43),r.Sc(4,"\n "),r.Qc(5,to,2,0,"ng-container",44),r.Sc(6,"\n "),r.Tb(),r.Sc(7,"\n ")),2&e){const e=r.oc(2);r.Cb(1),r.wc("ngSwitch",null==e.clientInfo?null:e.clientInfo.IsGSAClient),r.Cb(2),r.wc("ngSwitchCase",!0)}}function io(e,t){if(1&e&&(r.Sc(0,"\n "),r.Rb(1,"nd-navbar-user-unread-message",48),r.Sc(2,"\n ")),2&e){const e=r.oc(3);r.Cb(1),r.wc("unreadMessageCount",e.unreadMessageCount)}}function ro(e,t){if(1&e&&(r.Wb(0,"a",34),r.Sc(1,"\n "),r.Wb(2,"nd-nav-widget",47),r.Sc(3,"\n "),r.Qc(4,io,3,1,"ng-template"),r.Sc(5,"\n "),r.Vb(),r.Sc(6,"\n "),r.Vb()),2&e){const e=r.oc(2);r.Cb(2),r.wc("ndIcon","bell")("ndBadge",e.unreadMessageCount)}}function oo(e,t){if(1&e&&(r.Ub(0),r.Sc(1,"\n "),r.Wb(2,"div",34),r.Sc(3,"\n "),r.Rb(4,"nz-divider",35),r.Sc(5,"\n "),r.Vb(),r.Sc(6,"\n "),r.Wb(7,"a",34),r.Sc(8,"\n "),r.Wb(9,"nd-nav-widget",36,37),r.Sc(11,"\n "),r.Qc(12,qr,3,0,"ng-template"),r.Sc(13,"\n "),r.Vb(),r.Sc(14,"\n "),r.Vb(),r.Sc(15,"\n\n "),r.Wb(16,"a",34),r.Sc(17,"\n "),r.Wb(18,"nd-nav-widget",38),r.Sc(19,"\n "),r.Qc(20,Jr,3,0,"ng-template"),r.Sc(21,"\n "),r.Vb(),r.Sc(22,"\n "),r.Vb(),r.Sc(23,"\n\n "),r.Wb(24,"a",34),r.Sc(25,"\n "),r.Wb(26,"nd-nav-widget",39),r.Sc(27,"\n "),r.Qc(28,Zr,3,0,"ng-template"),r.Sc(29,"\n "),r.Qc(30,no,8,2,"ng-template",null,40,r.Rc),r.Sc(32,"\n "),r.Vb(),r.Sc(33,"\n "),r.Vb(),r.Sc(34,"\n\n "),r.Qc(35,ro,7,2,"a",41),r.Sc(36,"\n "),r.Tb()),2&e){const e=r.Ec(31),t=r.oc();r.Cb(9),r.wc("ndIcon","heart"),r.Cb(9),r.wc("ndIcon","question-circle"),r.Cb(8),r.wc("ndTitle",e)("ndIcon","phone"),r.Cb(9),r.wc("ndAccessControl",t.Permission.MessageCenter_Message_Manage)}}function so(e,t){if(1&e){const e=r.Xb();r.Ub(0),r.Sc(1,"\n "),r.Wb(2,"div",49),r.lc("click",function(){return r.Hc(e),r.oc().showLoginModal()}),r.Sc(3,"\n "),r.Ub(4),r.ac(5,50),r.Tb(),r.Sc(6,"\n "),r.Vb(),r.Sc(7,"\n "),r.Tb()}if(2&e){const e=r.oc();r.Cb(2),r.Fb("nd-navbar__pill-btn nd-navbar__pill-btn_",e.childNavType,"")}}function ao(e,t){if(1&e&&(r.Wb(0,"nd-navbar-user-profile",51),r.Sc(1,"\n "),r.Wb(2,"div"),r.Sc(3,"\n "),r.Rb(4,"i",52),r.Sc(5),r.Vb(),r.Sc(6,"\n "),r.Vb()),2&e){const e=r.oc();r.wc("allowCoupon",e.allowCoupon)("activeCouponCount",e.activeCouponCount)("navType",e.childNavType),r.Cb(2),r.Fb("nd-navbar__pill-btn nd-navbar__pill-btn_",e.childNavType,""),r.Cb(2),r.wc("nzType","nd:usericon-"+e.childNavType),r.Cb(1),r.Uc("\n ",e.userProfile.UserName,"\n ")}}function co(e,t){if(1&e&&(r.Wb(0,"span"),r.Sc(1),r.Vb()),2&e){const e=r.oc();r.Cb(1),r.Tc(e.currentSuffixMessage)}}const lo=function(e,t){return[e,t]},uo=function(e){return[e]},ho=new Set(["home-app"]);let po=(()=>{class e extends f.o{constructor(e,t,n,i,r,o,s,a,l,u,h,p){if(super(),this.appName=e,this.localId=t,this.appService=n,this.userCouponService=i,this.appEventHub=r,this.router=o,this.appSettingService=s,this.modalService=a,this.messageCenterService=l,this.layoutEle=u,this.animationBuilder=h,this.favoriteHotelEventHub=p,this.CS_TICKET_AVAILABLE_LANGUAGES=c.b,this.Icons=d.a,this.isShowSuffixMessage=!1,this.canSupportExtraLocales=!1,this.hiddenLanguages=[],this.siteRegion="CN",this.navList=[],!r||!n)throw new Error("ApplicationService is not defined. Make sure you have import NgxSiteCoreModule in your AppModule.")}get unreadMessageCount(){return this.messageCenterService.unreadMessageCount}get layoutSetting(){return this.layoutEle.ndSetting}get navType(){return this.layoutSetting.navFloat?"ghost":"light"}get childNavType(){return"ghost"==this.navType?"dark":this.navType}get layoutBaseLang(){return this.isCN?u.d.zh_CN:u.d.en_US}get isSimplifiedNav(){return this.layoutSetting.navSimplified}get showHomeNavigations(){return!this.appContext||!this.appContext.userIdentityInfo.isAuthenticated}get showUserNavigations(){return this.appContext&&this.appContext.userIdentityInfo.isAuthenticated&&this.userProfile.ClientID}get allowCoupon(){return s.c.allowUseCoupon(this.ctxStorage)}get activeCouponCount(){return this.userCouponService.activeCouponCount}get activeCouponCountDisplay(){const e=this.activeCouponCount;return e<=99?e.toString():"99+"}get showCurrencySetting(){return this.hasUserLogin&&this.currencyInfo&&this.layoutSetting.showCurrencySetting}get showNavBarSearchPanel(){return this.hasUserLogin&&this.layoutSetting.showNavSearch}get showSiteRegion(){var e;return this.hasUserLogin&&!0===(null===(e=this.appContext.sr_settings)||void 0===e?void 0:e.showSiteRegion)}ngOnInit(){this.siteLogoIconType=this.getSiteLogoIcon(),this.initLanguageControl(),this.initUserCouponService(),this.initExtraNavbarNavList(),this.subscriptions.appEvent=this.appEventHub.subscribe({next:e=>{e instanceof f.e&&(this.initLanguageControl(),this.initUserCouponService(),this.flushNavList()),e instanceof f.i&&this.showSuffixMessage(e.message,e.duration)}}),this.flushNavList();let e=p.a.get("DIDA_SITE_REGION");e?this.siteRegion=e:this.switchSiteRegion(new g.a(this,this.siteRegion)),p.a.changes.pipe(Object(m.a)(e=>"DIDA_SITE_REGION"===e.key)).subscribe(e=>{e.value!==this.siteRegion&&(this.siteRegion=e.value)}),this.subscriptions.favoriteHotelEventHub=this.favoriteHotelEventHub.events.pipe(Object(m.a)(e=>(console.log("recivce",e),e instanceof f.u))).subscribe(e=>{this.onAddFavoriteHotel(e)}),this.subscriptions.loginEventHub=Ke.LoginVisibleSubjectSub.subscribe(e=>{this.showLoginModal()})}initLanguageControl(){var e,t;this.canSupportExtraLocales=ho.has(this.appName)&&!this.hasUserLogin,this.hiddenLanguages=[...null!==(t=null===(e=this.appContext)||void 0===e?void 0:e.hiddenLocales)&&void 0!==t?t:[]]}initUserCouponService(){this.allowCoupon&&this.hasUserLogin?this.userCouponService.start():this.userCouponService.stop()}switchCurrency(e){this.appService.updateCurrencySetting(e.data.code).subscribe()}switchLanguage(e){this.appService.switchLanguage(e.data)}switchSiteRegion(e){p.a.save("DIDA_SITE_REGION",e.data)}showSuffixMessage(e,t=5e3){this.currentSuffixMessage=e,this.isShowSuffixMessage=!0,t&&setTimeout(()=>{this.isShowSuffixMessage=!1},t)}onSearchPanelOptionChange(e,t,n){let i=[];const r={hotelID:null,regionID:null,checkInDate:a.f.format(n.From,a.f.DEFAULT_DATE_FORMAT),checkOutDate:a.f.format(n.To,a.f.DEFAULT_DATE_FORMAT)};"hotel"===t?(i=["/hotel","detail",e],r.hotelID=e):"region"===t&&(i=["/hotel","list"],r.regionID=e),this.router.navigate(i,{queryParams:f.D.serialize(r)})}initExtraNavbarNavList(){this.subscriptions.navbarNavList=this.appSettingService.navbarNavLitSubject.subscribe(e=>{this.extraNavList=null==e?void 0:e.map(e=>new h.b(e)),this.flushNavList()})}flushNavList(){var e,t,n;let i=[];if((null===(e=this.appContext)||void 0===e?void 0:e.userIdentityInfo.isAuthenticated)||(i=[{exact:!0,link:["/home"],title:"About Us"},{exact:!0,link:["/home","partner-with-us"],title:"Partner With Us"},{exact:!0,link:["/home","media"],title:"Media Room"}],null===(t=this.extraNavList)||void 0===t||t.filter(e=>e.IsValid).forEach(e=>{e.switchLanguage(this.localId),i.push({exact:!0,link:e.ReferenceUrl,title:e.Reference})})),null===(n=this.userProfile)||void 0===n?void 0:n.ClientID){let e=["/booking"],t=["/bill"],n=["/invoice"];this.isAllowAccess(o.c.ResourceHotel_Booking_View)||this.isAllowAccess(o.c.ResourcePackage_Booking_View)&&(e=["/package","booking"]),this.isAllowAccess(o.c.Finance_Billing_Apply)||(t=["/bill","details"]),this.isAllowAccess(o.c.Finance_Invoice_Apply)||(n=["/invoice","details"]),this.isAllowAccess(o.c.ResourceHotel_Booking_View)||this.isAllowAccess(o.c.ResourceFlight_Booking_View)&&(e=["/flight/order-list"],n=["/flight/invoice"]),this.gsaInfo&&this.gsaInfo.AgencyInfo.NodeDepth>0&&(t=["/gsa-bill/payable"]),i=[{title:"Find Hotel",link:["/hotel","find"],control:o.c.ResourceHotel_Price_Search},{title:"Find Flight",link:["/flight"],control:o.c.ResourceFlight_Price_Search,experiment:l.a.FlightControl},{title:"Booking",control:[o.c.ResourceHotel_Booking_View,o.c.ResourcePackage_Booking_View,o.c.ResourceFlight_Booking_View,o.c.Ticket_Ticket_View,o.c.Finance_Billing_View,o.c.Finance_Invoice_View],children:[{title:"Booking",link:e,control:[o.c.ResourceHotel_Booking_View,o.c.ResourcePackage_Booking_View,o.c.ResourceFlight_Booking_View]},{title:"Billing Management",link:t,control:o.c.Finance_Billing_View,experiment:l.a.BookingSettlementControl},{title:"Invoice Management",link:n,control:o.c.Finance_Invoice_View,experiment:l.a.InvoiceControl,lang:"zh-CN"},{title:"Ticket Management",link:["/ticket","list"],control:o.c.Ticket_Ticket_View,experiment:l.a.WorkOrderControl,lang:c.b}]},{title:"Points Mall",link:"/point-market",control:o.c.Marketing_PointsMarket_View,experiment:l.a.UserPointsControl},{title:"Client Management",link:"/account/manage/gsa/sub-account",control:o.c.GsaAgency_SubAccount_View}],this.hasSubAgency&&i.push({title:"Agent Management",link:"/account/manage/gsa/sub-agency",control:o.c.GsaSubAgency_Info_View})}this.navList=i}showLoginModal(){this.modalService.create({nzTitle:"Sign in/Register",nzWidth:400,nzFooter:null,nzClassName:"nd-login-modal",nzContent:Ge,nzOnOk(e){e.submitForm()}})}onAddFavoriteHotel(e){var t;const n=null===(t=this.favoriteWidgetRef)||void 0===t?void 0:t.nativeElement.querySelector(".nd-nav-widget__icon");if(!n||!e.iconRect)return;const r=n.getBoundingClientRect(),o=n.cloneNode(!0);document.body.appendChild(o);const s=e.iconRect,a=this.animationBuilder.build([Object(i.j)({position:"fixed",transform:"translate3d(0, 0, 0)",zIndex:999999999,color:"#f32a4e",top:`${s.top}px`,left:`${s.left}px`}),Object(i.e)(50,Object(i.j)({display:"inline-block",opacity:1,width:`${r.width}px`})),Object(i.e)("1s ease-in-out",Object(i.j)({transform:`translate3d(${r.left-s.left}px, ${r.top-s.top}px, 0)`,display:"inline-block",opacity:1})),Object(i.e)(500,Object(i.j)({opacity:0,display:"none"}))]).create(o);a.onDone(()=>{document.body.removeChild(o)}),a.play()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(f.q),r.Qb(r.v),r.Qb(f.j),r.Qb(f.H),r.Qb(f.f),r.Qb(z.g),r.Qb(f.c),r.Qb(k.f),r.Qb(f.z),r.Qb(Xe.a),r.Qb(i.b),r.Qb(f.t))},e.\u0275cmp=r.Kb({type:e,selectors:[["nd-navbar"]],viewQuery:function(e,t){if(1&e&&r.Xc(jr,1,r.l),2&e){let e;r.Dc(e=r.mc())&&(t.favoriteWidgetRef=e.first)}},features:[r.zb],decls:54,vars:23,consts:function(){let e,t,n,i,r,o,s;return e="Favorites",t="Start Guide",n="Customer service center",i="Customer service center",r="Customer Service Center (7*24 hours)",o="Notification Center",s="Sign in/Register",[[1,"nd-navbar",3,"ngClass"],["routerLink","/home",1,"nd-navbar__logo",3,"ngClass"],["nz-icon","",3,"nzType"],[1,"nd-navbar__nav",3,"hidden"],[4,"ngFor","ngForOf"],[1,"nd-navbar__nav","nd-navbar-left"],[4,"ngIf"],[1,"nd-navbar__nav","nd-navbar__nav_right","nd-navbar-right"],["class","nd-navbar-right__item",4,"ngIf"],[1,"nd-navbar-right__item"],[3,"lang","canShowExtraLang","hiddenLanguages","navType","ndLanguageChange"],[1,"nd-navbar-right__item",3,"hidden"],[3,"allowCoupon","activeCouponCount","navType",4,"ngIf"],[1,"nd-navbar-message"],[1,"nd-navbar-message__content"],[4,"nzStringTemplateOutlet"],["class","nd-navbar__nav-item",4,"ndAccessControl","ndAccessControlExpCtrl","ndAccessControlLang"],[1,"nd-navbar__nav-item"],["routerLinkActive","",1,"nd-navbar__nav-link",3,"routerLink","routerLinkActiveOptions"],["class","nd-navbar__nav-item",3,"title",4,"ndAccessControl","ndAccessControlExpCtrl","ndAccessControlLang"],[1,"nd-navbar__nav-item",3,"title"],["nz-dropdown","","nzOverlayClassName","nd-navbar__wide-menu",1,"nd-navbar__nav-link",3,"nzDropdownMenu"],["dropdown","nzDropdown"],["nz-icon","",1,"nd-navbar__dropdown-arrow",3,"nzType"],["menu","nzDropdownMenu"],["nz-menu",""],["nz-menu-item","",4,"ndAccessControl","ndAccessControlExpCtrl","ndAccessControlLang"],["nz-menu-item",""],["routerLinkActive","",1,"nd-navbar__nav-link",3,"routerLinkActiveOptions","routerLink"],["class","nd-navbar-left__item",4,"ndAccessControl"],[1,"nd-navbar-left__item"],[3,"ndSearchOptionChange"],[3,"ndSiteRegion","navType","ndSiteRegionChange"],[3,"currency","currencyList","lang","navType","currencyChange"],[1,"nd-navbar-right__item","nd-navbar__nav-link"],["nzType","vertical",1,"nd-navbar__divider"],["ndTitle",e,"ndContentType","list",3,"ndIcon"],["favoriteWidget",""],["ndTitle",t,3,"ndIcon"],["ndTooltip",n,3,"ndTitle","ndIcon"],["navbarCustomCenterTitle",""],["class","nd-navbar-right__item nd-navbar__nav-link",4,"ndAccessControl"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],i,r,["ndTitle",o,"ndContentType","list",3,"ndIcon","ndBadge"],[3,"unreadMessageCount"],[3,"click"],s,[3,"allowCoupon","activeCouponCount","navType"],["nz-icon","",1,"nd-navbar__pill-btn-icon",3,"nzType"]]},template:function(e,t){1&e&&(r.Wb(0,"nd-layout-container"),r.Sc(1,"\n "),r.Wb(2,"div",0),r.Sc(3,"\n "),r.Wb(4,"a",1),r.Sc(5,"\n "),r.Rb(6,"i",2),r.Sc(7,"\n "),r.Vb(),r.Sc(8,"\n "),r.Sc(9,"\n "),r.Wb(10,"ul",3),r.Sc(11,"\n "),r.Qc(12,$r,6,2,"ng-container",4),r.Sc(13,"\n "),r.Vb(),r.Sc(14,"\n "),r.Sc(15,"\n "),r.Wb(16,"div",5),r.Sc(17,"\n "),r.Qc(18,Gr,4,1,"ng-container",6),r.Sc(19,"\n "),r.Vb(),r.Sc(20,"\n "),r.Wb(21,"div",7),r.Sc(22,"\n "),r.Qc(23,Yr,4,2,"div",8),r.Sc(24,"\n\n "),r.Wb(25,"div",9),r.Sc(26,"\n "),r.Wb(27,"nd-navbar-lang-switch",10),r.lc("ndLanguageChange",function(e){return t.switchLanguage(e)}),r.Vb(),r.Sc(28,"\n "),r.Vb(),r.Sc(29,"\n\n "),r.Qc(30,Xr,4,1,"ng-container",6),r.Sc(31,"\n\n "),r.Qc(32,oo,37,5,"ng-container",6),r.Sc(33,"\n\n "),r.Wb(34,"div",11),r.Sc(35,"\n "),r.Qc(36,so,8,3,"ng-container",6),r.Sc(37,"\n "),r.Qc(38,ao,7,8,"nd-navbar-user-profile",12),r.Sc(39,"\n "),r.Vb(),r.Sc(40,"\n "),r.Vb(),r.Sc(41,"\n "),r.Vb(),r.Sc(42,"\n"),r.Vb(),r.Sc(43,"\n"),r.Wb(44,"div",13),r.Sc(45,"\n "),r.Wb(46,"div",14),r.Sc(47,"\n "),r.Qc(48,co,2,1,"span",15),r.Sc(49,"\n "),r.Vb(),r.Sc(50,"\n"),r.Vb(),r.Sc(51,"\n\n"),r.Rb(52,"nd-navbar-notice-modal-wrapper"),r.Sc(53,"\n")),2&e&&(r.Cb(2),r.wc("ngClass",r.Cc(18,lo,"nd-navbar_"+t.navType,"nd-navbar_"+t.layoutBaseLang)),r.Cb(2),r.wc("ngClass",r.Bc(21,uo,"nd-navbar__logo_"+t.layoutBaseLang)),r.Cb(2),r.wc("nzType",t.siteLogoIconType),r.Cb(4),r.wc("hidden",t.isSimplifiedNav),r.Cb(2),r.wc("ngForOf",t.navList),r.Cb(6),r.wc("ngIf",t.showNavBarSearchPanel),r.Cb(5),r.wc("ngIf",t.showSiteRegion),r.Cb(4),r.wc("lang",t.lang)("canShowExtraLang",t.canSupportExtraLocales)("hiddenLanguages",t.hiddenLanguages)("navType",t.childNavType),r.Cb(3),r.wc("ngIf",!t.isSimplifiedNav),r.Cb(2),r.wc("ngIf",t.hasUserLogin),r.Cb(2),r.wc("hidden",t.isSimplifiedNav&&!t.hasUserLogin),r.Cb(2),r.wc("ngIf",!t.hasUserLogin),r.Cb(2),r.wc("ngIf",t.hasUserLogin),r.Cb(6),r.wc("@collapseMotion",t.isShowSuffixMessage?"expanded":"collapsed"),r.Cb(4),r.wc("nzStringTemplateOutlet",t.currentSuffixMessage))},directives:[qe.c,E.m,z.j,A.a,j.a,R.a,E.n,E.o,Je.a,Ze.b,Tn,kn.a,z.i,Pn.a,Pn.b,Pn.d,En.c,En.d,$n,Jn,Zn.a,ei.a,si,wi,Si.b,Wi,E.q,E.r,E.s,Ji,Rr],styles:['.nd-navbar{--navbar-nav-item-gutter:20px;height:74px;margin:0 auto;z-index:10;display:flex;align-items:center;background-color:#fff;font-family:Microsoft YaHei}html[lang^=en] .nd-navbar,html[lang^=zh] .nd-navbar{--navbar-nav-item-gutter:40px}.nd-navbar__nav{display:flex;margin-bottom:0}.nd-navbar__nav-item{margin-left:20px;margin-left:var(--navbar-nav-item-gutter)}.nd-navbar__nav-link:hover{text-decoration:none;color:#f32a4e!important}.nd-navbar_dark .nd-navbar__nav-link,.nd-navbar_ghost .nd-navbar__nav-link{color:#fff}.nd-navbar_light .nd-navbar__nav-link{color:#000}.nd-navbar__en-US{font-family:Helvetica Neue}.nd-navbar__pill-btn{display:flex;align-items:center;justify-content:center;padding:10px;border:1px solid #ced4da;cursor:pointer;border-radius:30px}.nd-navbar__pill-btn g{fill:currentColor}.nd-navbar__pill-btn_light{color:#000}.nd-navbar__pill-btn-icon{font-size:24px;margin-right:8px}.nd-navbar_ghost{background-color:initial;color:#fff}.nd-navbar__logo{line-height:1;margin-right:10px}.nd-navbar__logo i{width:137px;height:32px}.nd-navbar__logo i>svg{width:100%;height:100%}.nd-navbar__logo_zh-CN i{width:102px}.nd-navbar_light .nd-navbar__logo{color:#e90345}.nd-navbar_dark .nd-navbar__logo,.nd-navbar_ghost .nd-navbar__logo{color:#fff}.nd-navbar__label{color:#fff;position:absolute;top:-10px;font-size:12px;right:-40px;padding:0 4px;border-radius:2px;border-bottom-left-radius:0;line-height:16px}.nd-navbar__label:before{display:block;content:"";position:absolute;border:7px solid transparent;border-right-width:4px;width:0;height:0;bottom:-5px;left:0}.nd-navbar__label_new{background:#fa6400}.nd-navbar__label_new:before{border-left-color:#fa6400}.nd-navbar__wide-menu{min-width:200px!important}.nd-navbar__divider{border-color:#e4e4e4;font-size:18px;margin-top:-.2em}.nd-navbar_ghost .nd-navbar__divider{border-color:#fff}.nd-navbar__dropdown-arrow{transition:transform .3s;font-size:12px;color:inherit}.nd-navbar__dropdown-arrow g{fill:currentColor}.nd-navbar__dropdown-arrow_opened{transform:rotate(180deg)}.nd-navbar-right{margin-left:auto;display:flex;align-items:center}.nd-navbar-right__item{margin-right:16px}.nd-navbar-left{margin-left:20px}.nd-navbar-left__item{padding:0 6px}.nd-navbar-message{position:absolute;z-index:1000;width:100%;left:0;right:0;background-color:#fff3e4}.nd-navbar-message__content{padding:8px;text-align:center;font-size:12px}.nd-navbar-popover .ant-popover-title{padding:12px 24px;font-size:18px}.nd-navbar-popover .ant-popover-inner-content{padding:12px 24px}.nd-navbar-popover_list .ant-popover-inner-content{padding:0!important}.nd-navbar-popover__content{color:#676f86}.nd-navbar-popover__content p{margin:0}.nd-navbar-popover_list .nd-navbar-popover__content{padding:10px 0}.nd-navbar-popover__sub-title{margin-bottom:4px;padding:0;color:#1f2b4b;line-height:20px;font-weight:500}.nd-navbar-popover__field{display:flex;margin-bottom:4px;line-height:1.3;color:#1f2b4b}.nd-navbar-popover__field label{color:#676f86;display:inline-block;margin:0;padding:0;max-width:220px}.nd-navbar-popover__field label:after{content:":";margin-right:5px}.nd-navbar-popover__list{overflow-y:auto}.nd-navbar-popover__list-item{display:block;padding:6px 24px;cursor:pointer;color:#1f2b4b!important}.nd-navbar-popover__list-item:hover{color:#f32a4e!important;background-color:#fbeff0;text-decoration:none}.nd-navbar-popover__footer{border-top:1px solid rgba(152,158,175,.32);padding:13px 24px;display:flex;justify-content:space-between;align-items:center}'],encapsulation:2,data:{animation:[b.a]}}),e})()},FtGj:function(e,t,n){"use strict";n.d(t,"a",function(){return b}),n.d(t,"b",function(){return i}),n.d(t,"c",function(){return p}),n.d(t,"d",function(){return c}),n.d(t,"e",function(){return o}),n.d(t,"f",function(){return s}),n.d(t,"g",function(){return l}),n.d(t,"h",function(){return u}),n.d(t,"i",function(){return g}),n.d(t,"j",function(){return h}),n.d(t,"k",function(){return a}),n.d(t,"l",function(){return r}),n.d(t,"m",function(){return d}),n.d(t,"n",function(){return m}),n.d(t,"o",function(){return f}),n.d(t,"p",function(){return y});const i=8,r=9,o=13,s=27,a=32,c=35,l=36,u=37,d=38,h=39,p=40,f=48,g=57,b=65,m=90;function y(e,...t){return t.length?t.some(t=>e[t]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}},FwiY:function(e,t,n){"use strict";n.d(t,"a",function(){return le}),n.d(t,"b",function(){return ue}),n.d(t,"c",function(){return se});var i=n("nLfN"),r=n("fXoL"),o=n("mrSG"),s=n("ofXK");function a(e,t){(function(e){return"string"==typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!==e.indexOf("%")}(e);return e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function c(e){return Math.min(1,Math.max(0,e))}function l(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function u(e){return e<=1?"".concat(100*Number(e),"%"):e}function d(e){return 1===e.length?"0"+e:String(e)}function h(e,t,n){e=a(e,255),t=a(t,255),n=a(n,255);var i=Math.max(e,t,n),r=Math.min(e,t,n),o=0,s=0,c=(i+r)/2;if(i===r)s=0,o=0;else{var l=i-r;switch(s=c>.5?l/(2-i-r):l/(i+r),i){case e:o=(t-n)/l+(t1&&(n-=1),n<1/6?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function f(e,t,n){e=a(e,255),t=a(t,255),n=a(n,255);var i=Math.max(e,t,n),r=Math.min(e,t,n),o=0,s=i,c=i-r,l=0===i?0:c/i;if(i===r)o=0;else{switch(i){case e:o=(t-n)/c+(t>16,g:(65280&e)>>8,b:255&e}}(t)),this.originalInput=t;var r=function(e){var t,n,i={r:0,g:0,b:0},r=1,o=null,s=null,c=null,d=!1,h=!1;return"string"==typeof e&&(e=function(e){if(0===(e=e.trim().toLowerCase()).length)return!1;var t=!1;if(y[e])e=y[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var n=S.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=S.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=S.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=S.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=S.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=S.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=S.hex8.exec(e))?{r:m(n[1]),g:m(n[2]),b:m(n[3]),a:b(n[4]),format:t?"name":"hex8"}:(n=S.hex6.exec(e))?{r:m(n[1]),g:m(n[2]),b:m(n[3]),format:t?"name":"hex"}:(n=S.hex4.exec(e))?{r:m(n[1]+n[1]),g:m(n[2]+n[2]),b:m(n[3]+n[3]),a:b(n[4]+n[4]),format:t?"name":"hex8"}:!!(n=S.hex3.exec(e))&&{r:m(n[1]+n[1]),g:m(n[2]+n[2]),b:m(n[3]+n[3]),format:t?"name":"hex"}}(e)),"object"==typeof e&&(_(e.r)&&_(e.g)&&_(e.b)?(t=e.g,n=e.b,i={r:255*a(e.r,255),g:255*a(t,255),b:255*a(n,255)},d=!0,h="%"===String(e.r).substr(-1)?"prgb":"rgb"):_(e.h)&&_(e.s)&&_(e.v)?(o=u(e.s),s=u(e.v),i=function(e,t,n){e=6*a(e,360),t=a(t,100),n=a(n,100);var i=Math.floor(e),r=e-i,o=n*(1-t),s=n*(1-r*t),c=n*(1-(1-r)*t),l=i%6;return{r:255*[n,s,o,o,c,n][l],g:255*[c,n,n,s,o,o][l],b:255*[o,o,c,n,n,s][l]}}(e.h,o,s),d=!0,h="hsv"):_(e.h)&&_(e.s)&&_(e.l)&&(o=u(e.s),c=u(e.l),i=function(e,t,n){var i,r,o;if(e=a(e,360),t=a(t,100),n=a(n,100),0===t)r=n,o=n,i=n;else{var s=n<.5?n*(1+t):n+t-n*t,c=2*n-s;i=p(c,s,e+1/3),r=p(c,s,e),o=p(c,s,e-1/3)}return{r:255*i,g:255*r,b:255*o}}(e.h,o,c),d=!0,h="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(r=e.a)),r=l(r),{ok:d,format:e.format||h,r:Math.min(255,Math.max(i.r,0)),g:Math.min(255,Math.max(i.g,0)),b:Math.min(255,Math.max(i.b,0)),a:r}}(t);this.originalInput=t,this.r=r.r,this.g=r.g,this.b=r.b,this.a=r.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(i=n.format)&&void 0!==i?i:r.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=r.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e=this.toRgb(),t=e.r/255,n=e.g/255,i=e.b/255;return.2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.0722*(i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=l(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.toHsv=function(){var e=f(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=f(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),i=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(n,"%, ").concat(i,"%)"):"hsva(".concat(t,", ").concat(n,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=h(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=h(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),i=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(n,"%, ").concat(i,"%)"):"hsla(".concat(t,", ").concat(n,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),g(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),function(e,t,n,i,r){var o,s=[d(Math.round(e).toString(16)),d(Math.round(t).toString(16)),d(Math.round(n).toString(16)),d((o=i,Math.round(255*parseFloat(o)).toString(16)))];return r&&s[0].startsWith(s[0].charAt(1))&&s[1].startsWith(s[1].charAt(1))&&s[2].startsWith(s[2].charAt(1))&&s[3].startsWith(s[3].charAt(1))?s[0].charAt(0)+s[1].charAt(0)+s[2].charAt(0)+s[3].charAt(0):s.join("")}(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(n,")"):"rgba(".concat(e,", ").concat(t,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*a(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*a(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+g(this.r,this.g,this.b,!1),t=0,n=Object.entries(y);t=0)||!e.startsWith("hex")&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this.a?this.toName():this.toRgbString()},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=c(n.l),new e(n)},e.prototype.brighten=function(t){void 0===t&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-t/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-t/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-t/100*255))),new e(n)},e.prototype.darken=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=c(n.l),new e(n)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=c(n.s),new e(n)},e.prototype.saturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=c(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),i=(n.h+t)%360;return n.h=i<0?360+i:i,new e(n)},e.prototype.mix=function(t,n){void 0===n&&(n=50);var i=this.toRgb(),r=new e(t).toRgb(),o=n/100;return new e({r:(r.r-i.r)*o+i.r,g:(r.g-i.g)*o+i.g,b:(r.b-i.b)*o+i.b,a:(r.a-i.a)*o+i.a})},e.prototype.analogous=function(t,n){void 0===t&&(t=6),void 0===n&&(n=30);var i=this.toHsl(),r=360/n,o=[this];for(i.h=(i.h-(r*t>>1)+720)%360;--t;)i.h=(i.h+r)%360,o.push(new e(i));return o},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);for(var n=this.toHsv(),i=n.h,r=n.s,o=n.v,s=[],a=1/t;t--;)s.push(new e({h:i,s:r,v:o})),o=(o+a)%1;return s},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),i=new e(t).toRgb();return new e({r:i.r+(n.r-i.r)*n.a,g:i.g+(n.g-i.g)*n.a,b:i.b+(n.b-i.b)*n.a})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),i=n.h,r=[this],o=360/t,s=1;s=60&&Math.round(e.h)<=240?n?Math.round(e.h)-2*t:Math.round(e.h)+2*t:n?Math.round(e.h)+2*t:Math.round(e.h)-2*t)<0?i+=360:i>=360&&(i-=360),i}function T(e,t,n){return 0===e.h&&0===e.s?e.s:((i=n?e.s-.16*t:4===t?e.s+.16:e.s+.05*t)>1&&(i=1),n&&5===t&&i>.1&&(i=.1),i<.06&&(i=.06),Number(i.toFixed(2)));var i}function k(e,t,n){var i;return(i=n?e.v+.05*t:e.v-.15*t)>1&&(i=1),Number(i.toFixed(2))}function P(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],i=new O(e),r=5;r>0;r-=1){var o=i.toHsv(),s=new O({h:z(o,r,!0),s:T(o,r,!0),v:k(o,r,!0)}).toHexString();n.push(s)}n.push(i.toHexString());for(var a=1;a<=4;a+=1){var c=i.toHsv(),l=new O({h:z(c,a),s:T(c,a),v:k(c,a)}).toHexString();n.push(l)}return"dark"===t.theme?x.map(function(e){var i=e.index,r=e.opacity;return new O(t.backgroundColor||"#141414").mix(n[i],100*r).toHexString()}):n}var E={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},D={},M={};Object.keys(E).forEach(function(e){D[e]=P(E[e]),D[e].primary=D[e][5],M[e]=P(E[e],{theme:"dark",backgroundColor:"#141414"}),M[e].primary=M[e][5]});var I=n("tk/3"),A=n("XNiG"),R=n("LRne"),j=n("HDdC"),V=n("lJxs"),L=n("vkgz"),N=n("nYR2"),F=n("JIr8"),B=n("w1tV"),W=n("pLZG"),H=n("IzEk"),U=n("jhN1");function $(e){Object(r.X)()&&console.warn(`[@ant-design/icons-angular]: ${e}.`)}function Q(e){return P(e)[0]}function G(e,t){switch(t){case"fill":return`${e}-fill`;case"outline":return`${e}-o`;case"twotone":return`${e}-twotone`;case void 0:return e;default:throw new Error(`[@ant-design/icons-angular]:Theme "${t}" is not a recognized theme!`)}}function Y(e){return"object"==typeof e&&"string"==typeof e.name&&("string"==typeof e.theme||void 0===e.theme)&&"string"==typeof e.icon}function K(e){const t=e.split(":");switch(t.length){case 1:return[e,""];case 2:return[t[1],t[0]];default:throw new Error(`[@ant-design/icons-angular]:The icon type ${e} is not valid!`)}}function X(){return new Error("[@ant-design/icons-angular]: tag not found.")}let q=(()=>{class e{constructor(e,t,n,i){this._rendererFactory=e,this._handler=t,this._document=n,this.sanitizer=i,this.defaultTheme="outline",this._svgDefinitions=new Map,this._svgRenderedDefinitions=new Map,this._inProgressFetches=new Map,this._assetsUrlRoot="",this._twoToneColorPalette={primaryColor:"#333333",secondaryColor:"#E6E6E6"},this._enableJsonpLoading=!1,this._jsonpIconLoad$=new A.a,this._renderer=this._rendererFactory.createRenderer(null,null),this._handler&&(this._http=new I.c(this._handler))}set twoToneColor({primaryColor:e,secondaryColor:t}){this._twoToneColorPalette.primaryColor=e,this._twoToneColorPalette.secondaryColor=t||Q(e)}get twoToneColor(){return Object.assign({},this._twoToneColorPalette)}useJsonpLoading(){this._enableJsonpLoading?$("You are already using jsonp loading."):(this._enableJsonpLoading=!0,window.__ant_icon_load=e=>{this._jsonpIconLoad$.next(e)})}changeAssetsSource(e){this._assetsUrlRoot=e.endsWith("/")?e:e+"/"}addIcon(...e){e.forEach(e=>{this._svgDefinitions.set(G(e.name,e.theme),e)})}addIconLiteral(e,t){const[n,i]=K(e);if(!i)throw new Error(`[@ant-design/icons-angular]:Type should have a namespace. Try "namespace:${name}".`);this.addIcon({name:e,icon:t})}clear(){this._svgDefinitions.clear(),this._svgRenderedDefinitions.clear()}getRenderedContent(e,t){const n=Y(e)?e:this._svgDefinitions.get(e)||null;return(n?Object(R.a)(n):this._loadIconDynamically(e)).pipe(Object(V.a)(n=>{if(!n)throw function(e){return new Error(`[@ant-design/icons-angular]:the icon ${e} does not exist or is not registered.`)}(e);return this._loadSVGFromCacheOrCreateNew(n,t)}))}getCachedIcons(){return this._svgDefinitions}_loadIconDynamically(e){if(!this._http&&!this._enableJsonpLoading)return Object(R.a)((console.error('[@ant-design/icons-angular]: you need to import "HttpClientModule" to use dynamic importing..'),null));let t=this._inProgressFetches.get(e);if(!t){const[n,i]=K(e),o=i?{name:e,icon:""}:function(e){const t=e.split("-"),n="o"===(i=t.splice(t.length-1,1)[0])?"outline":i;var i;return{name:t.join("-"),theme:n,icon:""}}(n),s=(i?`${this._assetsUrlRoot}assets/${i}/${n}`:`${this._assetsUrlRoot}assets/${o.theme}/${o.name}`)+(this._enableJsonpLoading?".js":".svg"),a=this.sanitizer.sanitize(r.K.URL,s);if(!a)throw function(e){return new Error(`[@ant-design/icons-angular]:The url "${e}" is unsafe.`)}(s);t=(this._enableJsonpLoading?this._loadIconDynamicallyWithJsonp(o,a):this._http.get(a,{responseType:"text"}).pipe(Object(V.a)(e=>Object.assign(Object.assign({},o),{icon:e})))).pipe(Object(L.a)(e=>this.addIcon(e)),Object(N.a)(()=>this._inProgressFetches.delete(e)),Object(F.a)(()=>Object(R.a)(null)),Object(B.a)()),this._inProgressFetches.set(e,t)}return t}_loadIconDynamicallyWithJsonp(e,t){return new j.a(n=>{const i=this._document.createElement("script"),r=setTimeout(()=>{o(),n.error(new Error("[@ant-design/icons-angular]:Importing timeout error."))},6e3);function o(){i.parentNode.removeChild(i),clearTimeout(r)}i.src=t,this._document.body.appendChild(i),this._jsonpIconLoad$.pipe(Object(W.a)(t=>t.name===e.name&&t.theme===e.theme),Object(H.a)(1)).subscribe(e=>{n.next(e),o()})})}_loadSVGFromCacheOrCreateNew(e,t){let n;const i=t||this._twoToneColorPalette.primaryColor,r=Q(i)||this._twoToneColorPalette.secondaryColor,o="twotone"===e.theme?function(e,t,n,i){return`${G(e,t)}-${n}-${i}`}(e.name,e.theme,i,r):void 0===e.theme?e.name:G(e.name,e.theme),s=this._svgRenderedDefinitions.get(o);return s?n=s.icon:(n=this._setSVGAttribute(this._colorizeSVGIcon(this._createSVGElementFromString(""!==K(e.name)[1]?e.icon:e.icon.replace(/['"]#333['"]/g,'"primaryColor"').replace(/['"]#E6E6E6['"]/g,'"secondaryColor"').replace(/['"]#D9D9D9['"]/g,'"secondaryColor"').replace(/['"]#D8D8D8['"]/g,'"secondaryColor"')),"twotone"===e.theme,i,r)),this._svgRenderedDefinitions.set(o,Object.assign(Object.assign({},e),{icon:n}))),function(e){return e.cloneNode(!0)}(n)}_createSVGElementFromString(e){const t=this._document.createElement("div");t.innerHTML=e;const n=t.querySelector("svg");if(!n)throw X;return n}_setSVGAttribute(e){return this._renderer.setAttribute(e,"width","1em"),this._renderer.setAttribute(e,"height","1em"),e}_colorizeSVGIcon(e,t,n,i){if(t){const t=e.childNodes,r=t.length;for(let e=0;e{class e{constructor(e,t,n){this._iconService=e,this._elementRef=t,this._renderer=n}ngOnChanges(e){(e.type||e.theme||e.twoToneColor)&&this._changeIcon()}_changeIcon(){return new Promise(e=>{if(this.type){const t=this._getSelfRenderMeta();this._iconService.getRenderedContent(this._parseIconType(this.type,this.theme),this.twoToneColor).subscribe(n=>{var i,r;i=t,r=this._getSelfRenderMeta(),i.type===r.type&&i.theme===r.theme&&i.twoToneColor===r.twoToneColor?(this._setSVGElement(n),e(n)):e(null)})}else this._clearSVGElement(),e(null)})}_getSelfRenderMeta(){return{type:this.type,theme:this.theme,twoToneColor:this.twoToneColor}}_parseIconType(e,t){if(Y(e))return e;{const[n,i]=K(e);return i?e:function(e){return e.endsWith("-fill")||e.endsWith("-o")||e.endsWith("-twotone")}(n)?(t&&$(`'type' ${n} already gets a theme inside so 'theme' ${t} would be ignored`),n):G(n,t||this._iconService.defaultTheme)}}_setSVGElement(e){this._clearSVGElement(),this._renderer.appendChild(this._elementRef.nativeElement,e)}_clearSVGElement(){var e;const t=this._elementRef.nativeElement,n=t.childNodes;for(let i=n.length-1;i>=0;i--){const r=n[i];"svg"===(null===(e=r.tagName)||void 0===e?void 0:e.toLowerCase())&&this._renderer.removeChild(t,r)}}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(q),r.Qb(r.l),r.Qb(r.G))},e.\u0275dir=r.Lb({type:e,selectors:[["","antIcon",""]],inputs:{type:"type",theme:"theme",twoToneColor:"twoToneColor"},features:[r.Ab]}),e})();var Z=n("/KA4"),ee=n("2Suw"),te=n("79xS");const ne={name:"star",theme:"fill",icon:''},ie=[{name:"bars",theme:"outline",icon:''},{name:"calendar",theme:"outline",icon:''},{name:"caret-up",theme:"fill",icon:''},{name:"caret-up",theme:"outline",icon:''},{name:"caret-down",theme:"fill",icon:''},{name:"caret-down",theme:"outline",icon:''},{name:"check-circle",theme:"fill",icon:''},{name:"check-circle",theme:"outline",icon:''},{name:"check",theme:"outline",icon:''},{name:"clock-circle",theme:"outline",icon:''},{name:"close-circle",theme:"outline",icon:''},{name:"close-circle",theme:"fill",icon:''},{name:"close",theme:"outline",icon:''},{name:"copy",theme:"outline",icon:''},{name:"double-left",theme:"outline",icon:''},{name:"double-right",theme:"outline",icon:''},{name:"down",theme:"outline",icon:''},{name:"edit",theme:"outline",icon:''},{name:"ellipsis",theme:"outline",icon:''},{name:"exclamation-circle",theme:"fill",icon:''},{name:"exclamation-circle",theme:"outline",icon:''},{name:"eye",theme:"outline",icon:''},{name:"file",theme:"fill",icon:''},{name:"file",theme:"outline",icon:''},{name:"filter",theme:"fill",icon:''},{name:"info-circle",theme:"fill",icon:''},{name:"info-circle",theme:"outline",icon:''},{name:"left",theme:"outline",icon:''},{name:"loading",theme:"outline",icon:''},{name:"paper-clip",theme:"outline",icon:''},{name:"question-circle",theme:"outline",icon:''},{name:"right",theme:"outline",icon:''},{name:"rotate-right",theme:"outline",icon:''},{name:"rotate-left",theme:"outline",icon:''},ne,{name:"search",theme:"outline",icon:''},ne,{name:"upload",theme:"outline",icon:''},{name:"vertical-align-top",theme:"outline",icon:''},{name:"up",theme:"outline",icon:''},{name:"swap-right",theme:"outline",icon:''},{name:"zoom-in",theme:"outline",icon:''},{name:"zoom-out",theme:"outline",icon:''}],re=new r.r("nz_icons"),oe=(new r.r("nz_icon_default_twotone_color"),"#1890ff");let se=(()=>{class e extends q{constructor(e,t,n,i,r,o){super(e,i,r,t),this.nzConfigService=n,this.configUpdated$=new A.a,this.iconfontCache=new Set,this.onConfigChange(),this.addIcon(...ie,...o||[]),this.configDefaultTwotoneColor(),this.configDefaultTheme()}normalizeSvgElement(e){e.getAttribute("viewBox")||this._renderer.setAttribute(e,"viewBox","0 0 1024 1024"),e.getAttribute("width")&&e.getAttribute("height")||(this._renderer.setAttribute(e,"width","1em"),this._renderer.setAttribute(e,"height","1em")),e.getAttribute("fill")||this._renderer.setAttribute(e,"fill","currentColor")}fetchFromIconfont(e){const{scriptUrl:t}=e;if(this._document&&!this.iconfontCache.has(t)){const e=this._renderer.createElement("script");this._renderer.setAttribute(e,"src",t),this._renderer.setAttribute(e,"data-namespace",t.replace(/^(https?|http):/g,"")),this._renderer.appendChild(this._document.body,e),this.iconfontCache.add(t)}}createIconfontIcon(e){return this._createSVGElementFromString(``)}onConfigChange(){this.nzConfigService.getConfigChangeEventForComponent("icon").subscribe(()=>{this.configDefaultTwotoneColor(),this.configDefaultTheme(),this.configUpdated$.next()})}configDefaultTheme(){const e=this.getConfig();this.defaultTheme=e.nzTheme||"outline"}configDefaultTwotoneColor(){const e=this.getConfig().nzTwotoneColor||oe;let t=oe;e&&(e.startsWith("#")?t=e:Object(te.b)("Twotone color must be a hex color!")),this.twoToneColor={primaryColor:t}}getConfig(){return this.nzConfigService.getConfigForComponent("icon")||{}}}return e.\u0275fac=function(t){return new(t||e)(r.hc(r.H),r.hc(U.b),r.hc(ee.b),r.hc(I.b,8),r.hc(s.e,8),r.hc(re,8))},e.\u0275prov=Object(r.Mb)({factory:function(){return new e(Object(r.hc)(r.H),Object(r.hc)(U.b),Object(r.hc)(ee.b),Object(r.hc)(I.b,8),Object(r.hc)(s.e,8),Object(r.hc)(re,8))},token:e,providedIn:"root"}),e})();const ae=new r.r("nz_icons_patch");let ce=(()=>{class e{constructor(e,t){this.extraIcons=e,this.rootIconService=t,this.patched=!1}doPatch(){this.patched||(this.extraIcons.forEach(e=>this.rootIconService.addIcon(e)),this.patched=!0)}}return e.\u0275fac=function(t){return new(t||e)(r.hc(ae,2),r.hc(se))},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac}),e})(),le=(()=>{class e extends J{constructor(e,t,n,i){super(t,e,n),this.iconService=t,this.renderer=n,this.cacheClassName=null,this.nzRotate=0,this.spin=!1,i&&i.doPatch(),this.el=e.nativeElement}set nzSpin(e){this.spin=e}set nzType(e){this.type=e}set nzTheme(e){this.theme=e}set nzTwotoneColor(e){this.twoToneColor=e}set nzIconfont(e){this.iconfont=e}ngOnChanges(e){const{nzType:t,nzTwotoneColor:n,nzSpin:i,nzTheme:r,nzRotate:o}=e;t||n||i||r?this.changeIcon2():o?this.handleRotate(this.el.firstChild):this._setSVGElement(this.iconService.createIconfontIcon(`#${this.iconfont}`))}ngOnInit(){this.renderer.setAttribute(this.el,"class",`anticon ${this.el.className}`.trim())}ngAfterContentChecked(){if(!this.type){const e=this.el.children;let t=e.length;if(!this.type&&e.length)for(;t--;){const n=e[t];"svg"===n.tagName.toLowerCase()&&this.iconService.normalizeSvgElement(n)}}}changeIcon2(){this.setClassName(),this._changeIcon().then(e=>{e&&(this.setSVGData(e),this.handleSpin(e),this.handleRotate(e))})}handleSpin(e){this.spin||"loading"===this.type?this.renderer.addClass(e,"anticon-spin"):this.renderer.removeClass(e,"anticon-spin")}handleRotate(e){this.nzRotate?this.renderer.setAttribute(e,"style",`transform: rotate(${this.nzRotate}deg)`):this.renderer.removeAttribute(e,"style")}setClassName(){this.cacheClassName&&this.renderer.removeClass(this.el,this.cacheClassName),this.cacheClassName=`anticon-${this.type}`,this.renderer.addClass(this.el,this.cacheClassName)}setSVGData(e){this.renderer.setAttribute(e,"data-icon",this.type),this.renderer.setAttribute(e,"aria-hidden","true")}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.l),r.Qb(se),r.Qb(r.G),r.Qb(ce,8))},e.\u0275dir=r.Lb({type:e,selectors:[["","nz-icon",""]],hostVars:2,hostBindings:function(e,t){2&e&&r.Ib("anticon",!0)},inputs:{nzRotate:"nzRotate",nzSpin:"nzSpin",nzType:"nzType",nzTheme:"nzTheme",nzTwotoneColor:"nzTwotoneColor",nzIconfont:"nzIconfont"},exportAs:["nzIcon"],features:[r.zb,r.Ab]}),Object(o.b)([Object(Z.a)(),Object(o.c)("design:type",Boolean),Object(o.c)("design:paramtypes",[Boolean])],e.prototype,"nzSpin",null),e})(),ue=(()=>{class e{static forRoot(t){return{ngModule:e,providers:[{provide:re,useValue:t}]}}static forChild(t){return{ngModule:e,providers:[ce,{provide:ae,useValue:t}]}}}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)},imports:[[i.b]]}),e})()},GR68:function(e,t,n){"use strict";n.d(t,"a",function(){return s}),n.d(t,"b",function(){return a}),n.d(t,"c",function(){return c}),n.d(t,"d",function(){return l}),n.d(t,"e",function(){return p}),n.d(t,"f",function(){return h}),n.d(t,"g",function(){return g}),n.d(t,"h",function(){return f});var i=n("R0Ic");let r=(()=>{class e{}return e.SLOW="0.3s",e.BASE="0.2s",e.FAST="0.1s",e})(),o=(()=>{class e{}return e.EASE_BASE_OUT="cubic-bezier(0.7, 0.3, 0.1, 1)",e.EASE_BASE_IN="cubic-bezier(0.9, 0, 0.3, 0.7)",e.EASE_OUT="cubic-bezier(0.215, 0.61, 0.355, 1)",e.EASE_IN="cubic-bezier(0.55, 0.055, 0.675, 0.19)",e.EASE_IN_OUT="cubic-bezier(0.645, 0.045, 0.355, 1)",e.EASE_OUT_BACK="cubic-bezier(0.12, 0.4, 0.29, 1.46)",e.EASE_IN_BACK="cubic-bezier(0.71, -0.46, 0.88, 0.6)",e.EASE_IN_OUT_BACK="cubic-bezier(0.71, -0.46, 0.29, 1.46)",e.EASE_OUT_CIRC="cubic-bezier(0.08, 0.82, 0.17, 1)",e.EASE_IN_CIRC="cubic-bezier(0.6, 0.04, 0.98, 0.34)",e.EASE_IN_OUT_CIRC="cubic-bezier(0.78, 0.14, 0.15, 0.86)",e.EASE_OUT_QUINT="cubic-bezier(0.23, 1, 0.32, 1)",e.EASE_IN_QUINT="cubic-bezier(0.755, 0.05, 0.855, 0.06)",e.EASE_IN_OUT_QUINT="cubic-bezier(0.86, 0, 0.07, 1)",e})();const s=Object(i.l)("collapseMotion",[Object(i.i)("expanded",Object(i.j)({height:"*"})),Object(i.i)("collapsed",Object(i.j)({height:0,overflow:"hidden"})),Object(i.i)("hidden",Object(i.j)({height:0,overflow:"hidden",borderTopWidth:"0"})),Object(i.k)("expanded => collapsed",Object(i.e)(`150ms ${o.EASE_IN_OUT}`)),Object(i.k)("expanded => hidden",Object(i.e)(`150ms ${o.EASE_IN_OUT}`)),Object(i.k)("collapsed => expanded",Object(i.e)(`150ms ${o.EASE_IN_OUT}`)),Object(i.k)("hidden => expanded",Object(i.e)(`150ms ${o.EASE_IN_OUT}`))]),a=(Object(i.l)("treeCollapseMotion",[Object(i.k)("* => *",[Object(i.f)("nz-tree-node:leave,nz-tree-builtin-node:leave",[Object(i.j)({overflow:"hidden"}),Object(i.h)(0,[Object(i.e)(`150ms ${o.EASE_IN_OUT}`,Object(i.j)({height:0,opacity:0,"padding-bottom":0}))])],{optional:!0}),Object(i.f)("nz-tree-node:enter,nz-tree-builtin-node:enter",[Object(i.j)({overflow:"hidden",height:0,opacity:0,"padding-bottom":0}),Object(i.h)(0,[Object(i.e)(`150ms ${o.EASE_IN_OUT}`,Object(i.j)({overflow:"hidden",height:"*",opacity:"*","padding-bottom":"*"}))])],{optional:!0})])]),Object(i.l)("fadeMotion",[Object(i.k)(":enter",[Object(i.j)({opacity:0}),Object(i.e)(`${r.BASE}`,Object(i.j)({opacity:1}))]),Object(i.k)(":leave",[Object(i.j)({opacity:1}),Object(i.e)(`${r.BASE}`,Object(i.j)({opacity:0}))])]),Object(i.l)("helpMotion",[Object(i.k)(":enter",[Object(i.j)({opacity:0,transform:"translateY(-5px)"}),Object(i.e)(`${r.SLOW} ${o.EASE_IN_OUT}`,Object(i.j)({opacity:1,transform:"translateY(0)"}))]),Object(i.k)(":leave",[Object(i.j)({opacity:1,transform:"translateY(0)"}),Object(i.e)(`${r.SLOW} ${o.EASE_IN_OUT}`,Object(i.j)({opacity:0,transform:"translateY(-5px)"}))])])),c=Object(i.l)("moveUpMotion",[Object(i.k)("* => enter",[Object(i.j)({transformOrigin:"0 0",transform:"translateY(-100%)",opacity:0}),Object(i.e)(`${r.BASE}`,Object(i.j)({transformOrigin:"0 0",transform:"translateY(0%)",opacity:1}))]),Object(i.k)("* => leave",[Object(i.j)({transformOrigin:"0 0",transform:"translateY(0%)",opacity:1}),Object(i.e)(`${r.BASE}`,Object(i.j)({transformOrigin:"0 0",transform:"translateY(-100%)",opacity:0}))])]),l=Object(i.l)("notificationMotion",[Object(i.i)("enterRight",Object(i.j)({opacity:1,transform:"translateX(0)"})),Object(i.k)("* => enterRight",[Object(i.j)({opacity:0,transform:"translateX(5%)"}),Object(i.e)("100ms linear")]),Object(i.i)("enterLeft",Object(i.j)({opacity:1,transform:"translateX(0)"})),Object(i.k)("* => enterLeft",[Object(i.j)({opacity:0,transform:"translateX(-5%)"}),Object(i.e)("100ms linear")]),Object(i.i)("leave",Object(i.j)({opacity:0,transform:"scaleY(0.8)",transformOrigin:"0% 0%"})),Object(i.k)("* => leave",[Object(i.j)({opacity:1,transform:"scaleY(1)",transformOrigin:"0% 0%"}),Object(i.e)("100ms linear")])]),u=`${r.BASE} ${o.EASE_OUT_QUINT}`,d=`${r.BASE} ${o.EASE_IN_QUINT}`,h=Object(i.l)("slideMotion",[Object(i.i)("void",Object(i.j)({opacity:0,transform:"scaleY(0.8)"})),Object(i.i)("enter",Object(i.j)({opacity:1,transform:"scaleY(1)"})),Object(i.k)("void => *",[Object(i.e)(u)]),Object(i.k)("* => void",[Object(i.e)(d)])]),p=Object(i.l)("slideAlertMotion",[Object(i.k)(":leave",[Object(i.j)({opacity:1,transform:"scaleY(1)",transformOrigin:"0% 0%"}),Object(i.e)(`${r.SLOW} ${o.EASE_IN_OUT_CIRC}`,Object(i.j)({opacity:0,transform:"scaleY(0)",transformOrigin:"0% 0%"}))])]),f=Object(i.l)("zoomBigMotion",[Object(i.k)("void => active",[Object(i.j)({opacity:0,transform:"scale(0.8)"}),Object(i.e)(`${r.BASE} ${o.EASE_OUT_CIRC}`,Object(i.j)({opacity:1,transform:"scale(1)"}))]),Object(i.k)("active => void",[Object(i.j)({opacity:1,transform:"scale(1)"}),Object(i.e)(`${r.BASE} ${o.EASE_IN_OUT_CIRC}`,Object(i.j)({opacity:0,transform:"scale(0.8)"}))])]),g=Object(i.l)("zoomBadgeMotion",[Object(i.k)(":enter",[Object(i.j)({opacity:0,transform:"scale(0) translate(50%, -50%)"}),Object(i.e)(`${r.SLOW} ${o.EASE_OUT_BACK}`,Object(i.j)({opacity:1,transform:"scale(1) translate(50%, -50%)"}))]),Object(i.k)(":leave",[Object(i.j)({opacity:1,transform:"scale(1) translate(50%, -50%)"}),Object(i.e)(`${r.SLOW} ${o.EASE_IN_BACK}`,Object(i.j)({opacity:0,transform:"scale(0) translate(50%, -50%)"}))])])},GRuw:function(e,t,n){var i,r,o,s,a,c;e.exports=(c=n("Ib8C"),n("lPiR"),r=(i=c).lib.WordArray,a=(o=i.algo).SHA224=(s=o.SHA256).extend({_doReset:function(){this._hash=new r.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=s._doFinalize.call(this);return e.sigBytes-=4,e}}),i.SHA224=s._createHelper(a),i.HmacSHA224=s._createHmacHelper(a),c.SHA224)},GSp9:function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n("BpXt");var i=n("ofXK"),r=n("pdGh"),o=n("GYQ8"),s=n("fXoL");let a=(()=>{class e{}return e.\u0275mod=s.Ob({type:e}),e.\u0275inj=s.Nb({factory:function(t){return new(t||e)},imports:[[i.c,o.a,r.a]]}),e})()},GU7r:function(e,t,n){"use strict";n.d(t,"a",function(){return c}),n.d(t,"b",function(){return l});var i=n("8LU1"),r=n("fXoL"),o=n("HDdC"),s=n("XNiG");n("Kj3r");let a=(()=>{class e{create(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(r.Mb)({factory:function(){return new e},token:e,providedIn:"root"}),e})(),c=(()=>{class e{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,t)=>this._cleanupObserver(t))}observe(e){const t=Object(i.e)(e);return new o.a(e=>{const n=this._observeElement(t).subscribe(e);return()=>{n.unsubscribe(),this._unobserveElement(t)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const t=new s.a,n=this._mutationObserverFactory.create(e=>t.next(e));n&&n.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:n,stream:t,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:t,stream:n}=this._observedElements.get(e);t&&t.disconnect(),n.complete(),this._observedElements.delete(e)}}}return e.\u0275fac=function(t){return new(t||e)(r.hc(a))},e.\u0275prov=Object(r.Mb)({factory:function(){return new e(Object(r.hc)(a))},token:e,providedIn:"root"}),e})(),l=(()=>{class e{}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)},providers:[a]}),e})()},GX1P:function(e,t,n){"use strict";n.d(t,"b",function(){return a}),n.d(t,"a",function(){return c.a});var i=n("xgIS");const r={};class o{constructor(e,t,n){this.eventPrefix=e,this.eventName=t,this.eventSource=n,this.eventKey=`${e}:${t}`}pipe(...e){if(0===e.length)return this;const t=this.pipeFromArray_Internal(e)(this.ensureEventOb()&&this._event),n=t.subscribe.bind(t);return t.subscribe=(e,t,i)=>s(this,n,e,t,i),t}subscribe(e,t,n){return s(this,(this.ensureEventOb()&&this._event).subscribe.bind(this._event),e,t,n)}ensureEventOb(){return this._event||(this._event=Object(i.a)(this.eventSource,this.eventName)),!0}pipeFromArray_Internal(e){return 1===e.length?e[0]:function(t){return e.reduce((e,t)=>t(e),t)}}}function s(e,t,n,i,o){const s=t(n,i,o),a=s.unsubscribe.bind(s);return s.unsubscribe=()=>{!function(e,t,n){n();const i=r[e.eventKey];if(i){const e=i.subscriptions.findIndex(e=>e===t);i.subscriptions.splice(e,1)}}(e,s,a)},r[e.eventKey]||(r[e.eventKey]={subscriptions:[]}),r[e.eventKey].subscriptions.push(s),s}const a=new class extends o{constructor(e){super("document",e,document)}}("mousemove");var c=n("8mR2");new class extends o{constructor(e){super("window",e,window)}}("resize")},GYQ8:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var i=n("fXoL");n("tb4M"),n("mrSG"),n("U8d7"),n("TEgR");var r=n("ofXK");n("FwiY"),n("IuAY");var o=n("cuYk");let s=(()=>{class e{}return e.\u0275mod=i.Ob({type:e}),e.\u0275inj=i.Nb({factory:function(t){return new(t||e)},imports:[[r.c,o.a]]}),e})();n("3Pt+"),n("jhN1"),n("IuoC");var a=n("pdGh");let c=(()=>{class e{}return e.\u0275mod=i.Ob({type:e}),e.\u0275inj=i.Nb({factory:function(t){return new(t||e)},imports:[[r.c,o.a,a.a,s]]}),e})()},GyhO:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n("LRne"),r=n("bHdf");function o(...e){return Object(r.a)(1)(Object(i.a)(...e))}},HDdC:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var i=n("7o/Q"),r=n("2QA8"),o=n("gRHU"),s=n("kJWO"),a=n("SpAZ"),c=n("2fFW");let l=(()=>{class e{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(t){const n=new e;return n.source=this,n.operator=t,n}subscribe(e,t,n){const{operator:s}=this,a=function(e,t,n){if(e){if(e instanceof i.a)return e;if(e[r.a])return e[r.a]()}return e||t||n?new i.a(e,t,n):new i.a(o.a)}(e,t,n);if(a.add(s?s.call(a,this.source):this.source||c.a.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),c.a.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a}_trySubscribe(e){try{return this._subscribe(e)}catch(t){c.a.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){const{closed:t,destination:n,isStopped:r}=e;if(t||r)return!1;e=n&&n instanceof i.a?n:null}return!0}(e)?e.error(t):console.warn(t)}}forEach(e,t){return new(t=u(t))((t,n)=>{let i;i=this.subscribe(t=>{try{e(t)}catch(r){n(r),i&&i.unsubscribe()}},n,t)})}_subscribe(e){const{source:t}=this;return t&&t.subscribe(e)}[s.a](){return this}pipe(...e){return 0===e.length?this:(0===(t=e).length?a.a:1===t.length?t[0]:function(e){return t.reduce((e,t)=>t(e),e)})(this);var t}toPromise(e){return new(e=u(e))((e,t)=>{let n;this.subscribe(e=>n=e,e=>t(e),()=>e(n))})}}return e.create=t=>new e(t),e})();function u(e){if(e||(e=c.a.Promise||Promise),!e)throw new Error("no Promise impl found");return e}},HZ3n:function(e,t,n){"use strict";n.d(t,"a",function(){return u});var i=n("3Pt+"),r=n("U8d7"),o=n("LRne"),s=n("lJxs"),a=n("fXoL");const c={name:r.s,ascii:r.a,nonSpace:r.u,required:i.v.required,requiredTrue:i.v.requiredTrue,minlength:i.v.minLength,maxlength:i.v.maxLength,max:i.v.max,min:i.v.min,email:i.v.email,phone:function(e){const t=e.value;return(null==t?void 0:t.trim())?r.r.isPhoneNumber(null==t?void 0:t.trim())?null:{phone:{value:e.value}}:null},alphanumberic:function(e){var t;return r.r.isAlphanumberic(null===(t=e.value)||void 0===t?void 0:t.trim())?null:{alphanumberic:!0}},password:function(e){const t=(e.value||"").trim(),n=r.r.getPasswordError(t);return n?{password:n}:null},equal:function(e){return t=>(t.value||"").trim()===e.trim()?null:{equal:!0}},notEqual:function(e){return t=>(t.value||"").trim()!==e.trim()?null:{notequal:!0}},equalOther:function(e){return t=>{var n,i;const r=t.parent.root.get(e);return(null===(n=t.value)||void 0===n?void 0:n.trim())===(null===(i=r.value)||void 0===i?void 0:i.trim())?null:{equalother:{[e]:!0}}}},notEqualOther:function(e){return t=>{var n,i;const r=t.parent.root.get(e);return(null===(n=t.value)||void 0===n?void 0:n.trim())!==(null===(i=r.value)||void 0===i?void 0:i.trim())?null:{notequalother:{[e]:!0}}}},lengthRange:function([e,t]){return n=>{var i;const r=null===(i=n.value)||void 0===i?void 0:i.trim();return r&&(r.lengtht)?{lengthRange:{min:e,max:t,actual:r.length}}:null}},guestName:function(e){return t=>{const n=r.r.getGuestNameError(t.value,e);return n?{guestName:n}:null}},startsWith:function(e){let t,n="";if(Array.isArray(e)&&([e,n]=e),e instanceof RegExp){if(!e.toString().startsWith("/^"))throw"startsWithValidator parttern must starts with ^";t=e}else e.startsWith("^")||(e="^"+e),t=new RegExp(e);return e=>{var i;const r=null===(i=e.value)||void 0===i?void 0:i.trim();if(!t.test(r))return n?{startsWith:{[n]:!0}}:{startsWith:!0}}}},l={valueTaken:function(e){let t,n="";return Array.isArray(e)&&([t,n]=e),e=>{var i;const r=null===(i=e.value)||void 0===i?void 0:i.trim();return r?t(r).pipe(Object(s.a)(e=>e?{valueTaken:!n||{[n]:!0}}:null)):Object(o.a)(null)}}};let u=(()=>{class e{constructor(e){this.model=e,this.validators={}}ngOnChanges(e){e.ndValidate&&this.updateValidators(e.ndValidate.currentValue)}updateValidators(e){const t=Object.keys(e).map(t=>{if(!c[t])return null;let n=e[t];return"boolean"!=typeof n?c[t](n):!0===n?c[t]:void 0}).filter(Boolean);this.model.control.clearValidators(),this.model.control.setValidators(t);const n=Object.keys(e).map(t=>{if(!l[t])return null;let n=e[t];return"boolean"!=typeof n?l[t](n):!0===n?l[t]:void 0}).filter(Boolean);this.model.control.clearAsyncValidators(),this.model.control.setAsyncValidators(n)}}return e.\u0275fac=function(t){return new(t||e)(a.Qb(i.r,10))},e.\u0275dir=a.Lb({type:e,selectors:[["input","ndValidate",""],["","ngModel","","ndValidate",""],["","formControlName","","ndValidate",""]],inputs:{ndValidate:"ndValidate"},features:[a.Ab]}),e})()},Hfs6:function(e,t,n){var i,r,o;!function(s){if("object"==typeof e.exports){var a=s(0,t);void 0!==a&&(e.exports=a)}else r=[n,t],void 0===(o="function"==typeof(i=s)?i.apply(t,r):i)||(e.exports=o)}(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=void 0;t.default=["fr",[["AM","PM"],n,n],n,[["D","L","M","M","J","V","S"],["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],["di","lu","ma","me","je","ve","sa"]],n,[["J","F","M","A","M","J","J","A","S","O","N","D"],["janv.","f\xe9vr.","mars","avr.","mai","juin","juil.","ao\xfbt","sept.","oct.","nov.","d\xe9c."],["janvier","f\xe9vrier","mars","avril","mai","juin","juillet","ao\xfbt","septembre","octobre","novembre","d\xe9cembre"]],n,[["av. J.-C.","ap. J.-C."],n,["avant J\xe9sus-Christ","apr\xe8s J\xe9sus-Christ"]],1,[6,0],["dd/MM/y","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}","{1} '\xe0' {0}",n,n],[",","\u202f",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"EUR","\u20ac","euro",{ARS:["$AR","$"],AUD:["$AU","$"],BEF:["FB"],BMD:["$BM","$"],BND:["$BN","$"],BZD:["$BZ","$"],CAD:["$CA","$"],CLP:["$CL","$"],CNY:[n,"\xa5"],COP:["$CO","$"],CYP:["\xa3CY"],EGP:[n,"\xa3E"],FJD:["$FJ","$"],FKP:["\xa3FK","\xa3"],FRF:["F"],GBP:["\xa3GB","\xa3"],GIP:["\xa3GI","\xa3"],HKD:[n,"$"],IEP:["\xa3IE"],ILP:["\xa3IL"],ITL:["\u20a4IT"],JPY:[n,"\xa5"],KMF:[n,"FC"],LBP:["\xa3LB","\xa3L"],MTP:["\xa3MT"],MXN:["$MX","$"],NAD:["$NA","$"],NIO:[n,"$C"],NZD:["$NZ","$"],RHD:["$RH"],RON:[n,"L"],RWF:[n,"FR"],SBD:["$SB","$"],SGD:["$SG","$"],SRD:["$SR","$"],TOP:[n,"$T"],TTD:["$TT","$"],TWD:[n,"NT$"],USD:["$US","$"],UYU:["$UY","$"],WST:["$WS"],XCD:[n,"$"],XPF:["FCFP"],ZMW:[n,"Kw"]},"ltr",function(e){var t=Math.floor(Math.abs(e));return 0===t||1===t?1:5}]})},I55L:function(e,t,n){"use strict";n.d(t,"a",function(){return i});const i=e=>e&&"number"==typeof e.length&&"function"!=typeof e},IYaI:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var i=n("/h9T"),r=n("pl0G"),o=n("jIYg");function s(e,t){Object(o.a)(2,arguments);var n=Object(i.a)(t);return Object(r.a)(e,6e4*n)}},Ib5w:function(e,t,n){"use strict";var i=function(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},r=function(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}};t.a={p:r,P:function(e,t){var n,o=e.match(/(P+)(p+)?/)||[],s=o[1],a=o[2];if(!a)return i(e,t);switch(s){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",i(s,t)).replace("{{time}}",r(a,t))}}},Ib8C:function(e,t,n){var i;e.exports=(i=i||function(e,t){var n=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),i={},r=i.lib={},o=r.Base={extend:function(e){var t=n(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},s=r.WordArray=o.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length},toString:function(e){return(e||c).stringify(this)},concat:function(e){var t=this.words,n=e.words,i=this.sigBytes,r=e.sigBytes;if(this.clamp(),i%4)for(var o=0;o>>2]|=(n[o>>>2]>>>24-o%4*8&255)<<24-(i+o)%4*8;else for(o=0;o>>2]=n[o>>>2];return this.sigBytes+=r,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=o.clone.call(this);return e.words=this.words.slice(0),e},random:function(t){for(var n,i=[],r=function(t){var n=987654321,i=4294967295;return function(){var r=((n=36969*(65535&n)+(n>>16)&i)<<16)+(t=18e3*(65535&t)+(t>>16)&i)&i;return r/=4294967296,(r+=.5)*(e.random()>.5?1:-1)}},o=0;o>>2]>>>24-r%4*8&255;i.push((o>>>4).toString(16)),i.push((15&o).toString(16))}return i.join("")},parse:function(e){for(var t=e.length,n=[],i=0;i>>3]|=parseInt(e.substr(i,2),16)<<24-i%8*4;return new s.init(n,t/2)}},l=a.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,i=[],r=0;r>>2]>>>24-r%4*8&255));return i.join("")},parse:function(e){for(var t=e.length,n=[],i=0;i>>2]|=(255&e.charCodeAt(i))<<24-i%4*8;return new s.init(n,t)}},u=a.Utf8={stringify:function(e){try{return decodeURIComponent(escape(l.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return l.parse(unescape(encodeURIComponent(e)))}},d=r.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=new s.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=u.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n=this._data,i=n.words,r=n.sigBytes,o=this.blockSize,a=r/(4*o),c=(a=t?e.ceil(a):e.max((0|a)-this._minBufferSize,0))*o,l=e.min(4*c,r);if(c){for(var u=0;u{class e{constructor(t,n=e.now){this.SchedulerAction=t,this.now=n}schedule(e,t=0,n){return new this.SchedulerAction(this,e).schedule(n,t)}}return e.now=()=>Date.now(),e})();class r extends i{constructor(e,t=i.now){super(e,()=>r.delegate&&r.delegate!==this?r.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,t=0,n){return r.delegate&&r.delegate!==this?r.delegate.schedule(e,t,n):super.schedule(e,t,n)}flush(e){const{actions:t}=this;if(this.active)return void t.push(e);let n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}}},IuAY:function(e,t,n){"use strict";n.d(t,"a",function(){return p});var i=n("fXoL"),r=n("XNiG"),o=n("VRyK"),s=n("xgIS"),a=n("CqXF"),c=n("JX91"),l=n("1G5W"),u=n("BVU9"),d=n("GX1P"),h=n("FwiY");let p=(()=>{class e{constructor(e,t,n,o){this.elementRef=e,this.renderer=t,this.nzIconService=n,this.nzIcon=o,this.ndHover=!0,this.ndIconHoverChange=new i.n,this.isHover=!1,this.mouseWithinTarget$=new r.a,this.destroy$=new r.a}get hovered(){return this.isHover}ngOnChanges(e){e.ndType&&e.ndType.currentValue!==e.ndType.previousValue&&this.stopHoverDetection(),this.init()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.stopHoverDetection()}init(){if(!this.hasHoverState()||!this.ndType||!this.ndHover)return void this.stopHoverDetection();this.nzIconService.getRenderedContent(this.hoverStateIcon,null).subscribe(e=>{}),this._hoverDetectionActive&&(console.log(`[stopping previous detection] icon: ${this.ndType}`,this),this.stopHoverDetection());const e=this.ndTarget||this.elementRef.nativeElement;this.hover$=Object(o.a)(Object(s.a)(e,"mouseenter").pipe(Object(a.a)(!0)),Object(s.a)(e,"mouseleave").pipe(Object(a.a)(!1)),this.mouseWithinTarget$),this.hoverSubscription=this.hover$.pipe(Object(c.a)(!1),Object(l.a)(this.destroy$)).subscribe({next:t=>{this.nextHoverState(e,t)}}),this._hoverDetectionActive=!0}hasHoverState(){return this.hoverStateIcon=u.b.getIcon(this.ndType),this.ndType!==this.hoverStateIcon}stopHoverDetection(){this.hoverSubscription&&(this.hoverSubscription.unsubscribe(),this.hoverSubscription=null),this.mousemoveSubscription&&(this.mousemoveSubscription.unsubscribe(),this.mousemoveSubscription=null),this.nzIcon&&this.nzIcon.type!==this.ndType&&(this.nzIcon.nzType=this.ndType,this.nzIcon.ngOnChanges({nzType:{}})),this.isHover&&(this.isHover=!1,this.ndIconHoverChange.emit(!1)),this._hoverDetectionActive=!1}nextHoverState(e,t){this.hovered!==t&&(t?(this.nzIcon.nzType=this.hoverStateIcon,this.guaranteeWithinTarget(e)):(this.nzIcon.nzType=this.ndType,this.mousemoveSubscription&&(this.mousemoveSubscription.unsubscribe(),this.mousemoveSubscription=null)),this.nzIcon.ngOnChanges({nzType:{}}),this.isHover=t,this.ndIconHoverChange.emit(t))}guaranteeWithinTarget(e){this.mousemoveSubscription=d.b.pipe(Object(l.a)(this.destroy$)).subscribe(t=>{this.hovered&&!e.contains(t.target)&&this.mouseWithinTarget$.next(!1)})}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.l),i.Qb(i.G),i.Qb(h.c),i.Qb(h.a))},e.\u0275dir=i.Lb({type:e,selectors:[["","nz-icon",""]],inputs:{ndTarget:"ndTarget",ndType:"ndType",ndHover:"ndHover"},outputs:{ndIconHoverChange:"ndIconHoverChange"},features:[i.Ab]}),e})()},IuoC:function(e,t,n){"use strict";n.d(t,"a",function(){return v});var i=n("fXoL"),r=n("U8d7"),o=n("tb4M"),s=n("ofXK"),a=n("FwiY"),c=n("IuAY"),l=n("pdGh");function u(e,t){if(1&e){const e=i.Xb();i.Wb(0,"img",8),i.lc("load",function(){return i.Hc(e),i.oc(2).ndLoad.next()}),i.Vb()}if(2&e){const e=i.oc(2);i.Nc("object-fit",e.ndMode),i.wc("src",e.computedSrc,i.Kc)}}function d(e,t){if(1&e&&(i.Ub(0),i.Sc(1,"\n "),i.Wb(2,"div",5),i.Sc(3,"\n "),i.Wb(4,"div",6),i.Sc(5,"\n "),i.Qc(6,u,1,3,"img",7),i.Sc(7,"\n "),i.Vb(),i.Sc(8,"\n "),i.Wb(9,"div",6),i.Sc(10,"\n "),i.uc(11),i.Sc(12,"\n "),i.Vb(),i.Sc(13,"\n "),i.Vb(),i.Sc(14,"\n "),i.Tb()),2&e){const e=i.oc();i.Cb(2),i.Nc("padding-bottom",100*e.computedRatio+"%"),i.Cb(2),i.Nc("padding",e.imgPadding),i.Ib("nd-image_default",!e.ndSrc),i.Cb(2),i.wc("ngIf",e.ndSrc)}}function h(e,t){if(1&e){const e=i.Xb();i.Wb(0,"img",10),i.lc("load",function(){return i.Hc(e),i.oc(2).ndLoad.next()}),i.Vb()}if(2&e){const e=i.oc(2);i.Nc("height",e.ndMode&&"100%")("object-fit",e.ndMode),i.wc("src",e.computedSrc,i.Kc)}}function p(e,t){if(1&e&&(i.Ub(0),i.Sc(1,"\n "),i.Qc(2,h,1,5,"img",9),i.Sc(3,"\n "),i.Tb()),2&e){const e=i.oc();i.Cb(2),i.wc("ngIf",e.ndSrc)}}function f(e,t){if(1&e){const e=i.Xb();i.Wb(0,"a",11),i.lc("click",function(){return i.Hc(e),i.oc().ndRemove.emit()}),i.Sc(1,"\n "),i.Rb(2,"i",12),i.Sc(3,"\n "),i.Vb()}}function g(e,t){if(1&e&&(i.Wb(0,"div",13),i.Sc(1,"\n "),i.Wb(2,"div",14),i.Sc(3),i.Vb(),i.Sc(4,"\n "),i.Vb()),2&e){const e=i.oc();i.Cb(3),i.Uc("\n ",e.ndCaption,"\n ")}}function b(e,t){1&e&&i.Sb(0)}function m(e,t){if(1&e&&(i.Wb(0,"div",15),i.Sc(1,"\n "),i.Qc(2,b,1,0,"ng-container",16),i.Sc(3,"\n "),i.Vb()),2&e){const e=i.oc();i.Cb(2),i.wc("nzStringTemplateOutlet",e.ndTag)}}const y=["*"];let v=(()=>{class e{constructor(e){this.assetsBase=e,this.hostClass=!0,this.ndRemove=new i.n,this.ndLoad=new i.n,this.ndMode="cover"}get imgPadding(){return(Array.isArray(this.ndSize)?this.ndSize:[this.ndSize]).map(e=>(100-e)/2+"%").join(" ")}get computedRatio(){return this.ndRatio?Array.isArray(this.ndRatio)?this.ndRatio[1]/this.ndRatio[0]:this.ndRatio:this._imageRatio}get computedSrc(){let e=this.ndSrc;return e.startsWith("~")?(e=e.slice(1),e.startsWith("/")&&(e=e.slice(1)),this.assetsBase+e):r.q.normalizeStaticUrl(this.ndSrc,{orDefault:!1})}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(o.r))},e.\u0275cmp=i.Kb({type:e,selectors:[["nd-image"]],hostVars:2,hostBindings:function(e,t){2&e&&i.Ib("nd-image",t.hostClass)},inputs:{ndCaption:"ndCaption",ndSrc:"ndSrc",ndTag:"ndTag",ndRemovable:"ndRemovable",ndMode:"ndMode",ndSize:"ndSize",ndRatio:"ndRatio"},outputs:{ndRemove:"ndRemove",ndLoad:"ndLoad"},ngContentSelectors:y,decls:14,vars:6,consts:function(){let e;return e="Remove",[[3,"ngSwitch"],[4,"ngSwitchCase"],["href","javascript:;","data-dismiss","","class","nd-image__dismiss","title",e,3,"click",4,"ngIf"],["class","nd-image__caption-wrapper",4,"ngIf"],["class","nd-image__tag",4,"ngIf"],[1,"nd-image__container"],[1,"nd-image__inner"],["class","nd-image__img","loading","lazy",3,"src","object-fit","load",4,"ngIf"],["loading","lazy",1,"nd-image__img",3,"src","load"],["alt","","class","nd-image_nature","loading","lazy",3,"src","height","object-fit","load",4,"ngIf"],["alt","","loading","lazy",1,"nd-image_nature",3,"src","load"],["href","javascript:;","data-dismiss","","title",e,1,"nd-image__dismiss",3,"click"],["nz-icon","","nzType","close"],[1,"nd-image__caption-wrapper"],[1,"nd-image__caption"],[1,"nd-image__tag"],[4,"nzStringTemplateOutlet"]]},template:function(e,t){1&e&&(i.vc(),i.Sc(0,"\n "),i.Ub(1,0),i.Sc(2,"\n "),i.Qc(3,d,15,7,"ng-container",1),i.Sc(4,"\n "),i.Qc(5,p,4,1,"ng-container",1),i.Sc(6,"\n "),i.Tb(),i.Sc(7,"\n "),i.Qc(8,f,4,0,"a",2),i.Sc(9,"\n "),i.Qc(10,g,5,1,"div",3),i.Sc(11,"\n "),i.Qc(12,m,4,1,"div",4),i.Sc(13,"\n ")),2&e&&(i.Cb(1),i.wc("ngSwitch",!!t.ndRatio),i.Cb(2),i.wc("ngSwitchCase",!0),i.Cb(2),i.wc("ngSwitchCase",!1),i.Cb(3),i.wc("ngIf",t.ndRemovable&&t.ndSrc),i.Cb(2),i.wc("ngIf",t.ndCaption),i.Cb(2),i.wc("ngIf",t.ndTag))},directives:[s.q,s.r,s.o,a.a,c.a,l.b],styles:[".nd-image{display:block;overflow:hidden;position:relative}.nd-image__inner{position:absolute;top:0;bottom:0;width:100%;height:100%}.nd-image__img{width:inherit;height:inherit}.nd-image__caption-wrapper{cursor:pointer;position:absolute;bottom:0;left:0;right:0;background-color:rgba(0,0,0,.5);color:#fff;padding:4px 6px}.nd-image__dismiss{position:absolute;top:0;right:0;width:18px;height:18px;line-height:18px;color:#fff;background-color:#f32a4e;text-align:center}.nd-image_default{background-color:#e0e2e7;background-size:25%;background-repeat:no-repeat;background-position:50%;background-image:url(https://dsimage.didatravel.com/v2-app/images/image-fallback.svg)}.nd-image_nature{width:100%}.nd-image__tag{position:absolute;bottom:10px;right:10px;line-height:20px;background:rgba(0,3,14,.2);border-radius:2px;font-weight:400;color:#fff;padding:0 5px}"],encapsulation:2,changeDetection:0}),e})()},IzEk:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var i=n("7o/Q"),r=n("4I5i"),o=n("EY2u");function s(e){return t=>0===e?Object(o.b)():t.lift(new a(e))}class a{constructor(e){if(this.total=e,this.total<0)throw new r.a}call(e,t){return t.subscribe(new c(e,this.total))}}class c extends i.a{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){const t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))}}},JCDJ:function(e,t,n){"use strict";function i(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}n.d(t,"a",function(){return i})},JIr8:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var i=n("l7GE"),r=n("51Dv"),o=n("ZUHj");function s(e){return function(t){const n=new a(e),i=t.lift(n);return n.caught=i}}class a{constructor(e){this.selector=e}call(e,t){return t.subscribe(new c(e,this.selector,this.caught))}}class c extends i.a{constructor(e,t,n){super(e),this.selector=t,this.caught=n}error(e){if(!this.isStopped){let n;try{n=this.selector(e,this.caught)}catch(t){return void super.error(t)}this._unsubscribeAndRecycle();const i=new r.a(this,void 0,void 0);this.add(i);const s=Object(o.a)(this,n,void 0,void 0,i);s!==i&&this.add(s)}}}},JNZN:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("fXoL");const r="nd-box-shadow",o="nd-box-shadow_active",s="nd-box-shadow_responsive";let a=(()=>{class e{constructor(e,t){this.element=e,this.renderer=t}onMouseEnter(){this.showShadow(!0)}onMouseLeave(){this.showAlways||this.showShadow(!1)}ngOnInit(){this.renderer.addClass(this.element.nativeElement,r),this.showAlways&&this.showShadow(!0),this.ndResponsive&&this.renderer.addClass(this.element.nativeElement,s)}ngOnDestroy(){this.renderer.removeClass(this.element.nativeElement,r),this.renderer.removeClass(this.element.nativeElement,o),this.renderer.removeClass(this.element.nativeElement,s)}showShadow(e){this.shadowDisabled?this.renderer.removeClass(this.element.nativeElement,o):e?this.renderer.addClass(this.element.nativeElement,o):this.renderer.removeClass(this.element.nativeElement,o)}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.l),i.Qb(i.G))},e.\u0275dir=i.Lb({type:e,selectors:[["","ndBoxShadow",""]],hostBindings:function(e,t){1&e&&i.lc("mouseenter",function(){return t.onMouseEnter()})("mouseleave",function(){return t.onMouseLeave()})},inputs:{showAlways:"showAlways",shadowDisabled:"shadowDisabled",ndResponsive:"ndResponsive"}}),e})()},JX91:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n("GyhO"),r=n("z+Ro");function o(...e){const t=e[e.length-1];return Object(r.a)(t)?(e.pop(),n=>Object(i.a)(e,n,t)):t=>Object(i.a)(e,t)}},JZAl:function(e,t,n){"use strict";n.d(t,"a",function(){return m});var i=n("fXoL"),r=n("Cw5e"),o=n("jhN1"),s=n("tb4M"),a=n("ofXK");const c=["nd-layout-footer"],l=["mainCenterRef"];function u(e,t){1&e&&i.uc(0,1,["*ngIf","!ndSetting.hideNavbar"])}function d(e,t){1&e&&i.uc(0,2,["*ngIf","!ndSetting.hideSideNav"])}function h(e,t){1&e&&i.uc(0,3,["*ngIf","!ndSetting.hideSideNav"])}function p(e,t){1&e&&i.uc(0,4,["*ngIf","!ndSetting.hideSideToolkit"])}function f(e,t){1&e&&i.uc(0,5,["*ngIf","!ndSetting.hideFooter"])}const g=["*",[["nd-layout-nav"]],[["nd-layout-aside-left"]],[["nd-layout-aside-right"]],[["nd-layout-aside-toolkit"]],[["nd-layout-footer"]]],b=["*","nd-layout-nav","nd-layout-aside-left","nd-layout-aside-right","nd-layout-aside-toolkit","nd-layout-footer"];let m=(()=>{class e{constructor(e,t,n){this.renderer=e,this.metaService=t,this.appEventHub=n,this.ndSetting={},this._noFooter=!1}get className(){const e=["nd-layout"];return this.rootLayout&&(e.push("nd-layout_root"),this._noFooter&&e.push("nd-layout_root-no-footer"),"default"!==this.ndSetting.theme&&e.push(`nd-layout_theme-${this.ndSetting.theme}`)),this.ndSetting.layoutType&&e.push(`nd-layout_${this.ndSetting.layoutType||"normal"}`),this.ndSetting.navFloat&&e.push("nd-layout_nav-float"),this.layoutClass&&e.push(this.layoutClass),e.join(" ")}ngOnInit(){this.syncBodyStyle()}ngOnChanges(e){this.rootLayout&&this.syncBodyStyle(),e.ndSetting&&this.updateViewportContent(e.ndSetting.currentValue&&"mobile"===e.ndSetting.currentValue.layoutType)}ngAfterContentChecked(){if(this._noFooter=!this.ndLayoutFooter,this.rootLayout&&this.ndMainCenterContainer){let e=0;this.ndLayoutAsideLeft&&(e+=this.ndLayoutAsideLeft.el.nativeElement.clientWidth),this.ndLayoutAsideRight&&(e+=this.ndLayoutAsideRight.el.nativeElement.clientWidth),this.renderer.setStyle(this.ndMainCenterContainer.nativeElement,"width",e>0?`calc(100% - ${e}px)`:"100%")}}syncBodyStyle(){}updateViewportContent(e){const t=document.querySelector("[name=viewport]").dataset;this.metaService.updateTag({name:"viewport",content:e?t.mobile:t.default})}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.G),i.Qb(o.c),i.Qb(s.f))},e.\u0275cmp=i.Kb({type:e,selectors:[["nd-layout"]],contentQueries:function(e,t,n){if(1&e&&(i.Jb(n,c,1),i.Jb(n,r.a,1),i.Jb(n,r.b,1)),2&e){let e;i.Dc(e=i.mc())&&(t.ndLayoutFooter=e.first),i.Dc(e=i.mc())&&(t.ndLayoutAsideLeft=e.first),i.Dc(e=i.mc())&&(t.ndLayoutAsideRight=e.first)}},viewQuery:function(e,t){if(1&e&&i.Xc(l,3,i.l),2&e){let e;i.Dc(e=i.mc())&&(t.ndMainCenterContainer=e.first)}},hostVars:2,hostBindings:function(e,t){2&e&&i.Eb(t.className)},inputs:{rootLayout:"rootLayout",layoutClass:"layoutClass",layoutMainClass:"layoutMainClass",layoutMainCenterClass:"layoutMainCenterClass",ndSetting:"ndSetting"},features:[i.Ab],ngContentSelectors:b,decls:23,vars:10,consts:[[4,"ngIf"],[3,"ndRoot"],[1,"nd-layout__main",3,"ngClass"],[1,"nd-layout__main_center",3,"ngClass"],["mainCenterRef",""]],template:function(e,t){1&e&&(i.vc(g),i.Sc(0,"\n "),i.Qc(1,u,1,0,"ng-content",0),i.Sc(2,"\n "),i.Wb(3,"nd-layout-container",1),i.Sc(4,"\n "),i.Wb(5,"div",2),i.Sc(6,"\n "),i.Qc(7,d,1,0,"ng-content",0),i.Sc(8,"\n "),i.Wb(9,"div",3,4),i.Sc(11,"\n "),i.uc(12),i.Sc(13,"\n "),i.Vb(),i.Sc(14,"\n "),i.Qc(15,h,1,0,"ng-content",0),i.Sc(16,"\n "),i.Qc(17,p,1,0,"ng-content",0),i.Sc(18,"\n "),i.Vb(),i.Sc(19,"\n "),i.Vb(),i.Sc(20,"\n "),i.Qc(21,f,1,0,"ng-content",0),i.Sc(22,"\n ")),2&e&&(i.Cb(1),i.wc("ngIf",!t.ndSetting.hideNavbar),i.Cb(2),i.wc("ndRoot",t.rootLayout),i.Cb(2),i.Ib("nd-layout__main_root",t.rootLayout),i.wc("ngClass",t.layoutMainClass),i.Cb(2),i.wc("ngIf",!t.ndSetting.hideSideNav),i.Cb(2),i.wc("ngClass",t.layoutMainCenterClass),i.Cb(6),i.wc("ngIf",!t.ndSetting.hideSideNav),i.Cb(2),i.wc("ngIf",!t.ndSetting.hideSideToolkit),i.Cb(4),i.wc("ngIf",!t.ndSetting.hideFooter))},directives:[a.o,r.c,a.m],styles:[".nd-layout{display:block;position:relative;width:100%;background:transparent}.nd-layout_root{background:#fff}.nd-layout_normal{min-width:1200px}.nd-layout_large{min-width:1460px}.nd-layout_theme-island{background:#f8f8f8}.nd-layout__container{display:block;padding:0 10px;margin:0 auto}.nd-layout_normal .nd-layout__container{width:1200px}.nd-layout_small .nd-layout__container{width:600px}.nd-layout_large .nd-layout__container{width:100%;min-width:1440px;max-width:1920px}.nd-layout_body-fluid .nd-layout__container_root,.nd-layout_fluid .nd-layout__container_root,.nd-layout_mobile .nd-layout__container_root{padding:0}.nd-layout_body-fluid .nd-layout__main .nd-layout__container,.nd-layout_body-fluid .nd-layout__nav .nd-layout__container{width:1200px}.nd-layout__nav{position:relative;z-index:100;display:block;background-color:#fff;transition:width .3s ease-in-out;margin-bottom:16px}.nd-layout__nav_no-box-shadow{box-shadow:none!important}.nd-layout_normal .nd-layout__nav{padding:0}.nd-layout_body-fluid .nd-layout__nav{margin-bottom:0;padding:0}.nd-layout_nav-float .nd-layout__nav{position:absolute;width:100%;background-color:initial}.nd-layout_normal .nd-layout__aside{position:relative;left:16px}.nd-layout__main{display:flex;position:relative;align-items:stretch;margin:0 auto}.nd-layout__main_center{flex:1;margin-bottom:16px}.nd-layout__main_root{margin:0 auto 100px;min-height:600px;width:100%}.nd-layout_root-no-footer .nd-layout__main_root{margin-bottom:0!important}.nd-layout__aside_left+.nd-layout__main_center{padding-left:16px}"],encapsulation:2,changeDetection:0}),e})()},JgHy:function(e,t,n){"use strict";n.d(t,"a",function(){return c}),n.d(t,"b",function(){return o}),n.d(t,"c",function(){return s}),n.d(t,"d",function(){return a}),n.d(t,"e",function(){return l});var i=n("rDax"),r=n("fXoL");let o=(()=>{class e{constructor(e){this.cdkConnectedOverlay=e,this.cdkConnectedOverlay.backdropClass="nz-overlay-transparent-backdrop"}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(i.a))},e.\u0275dir=r.Lb({type:e,selectors:[["","cdkConnectedOverlay","","nzConnectedOverlay",""]],exportAs:["nzConnectedOverlay"]}),e})(),s=(()=>{class e{}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)}}),e})();const a={top:new i.c({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"}),topCenter:new i.c({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"}),topLeft:new i.c({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"}),topRight:new i.c({originX:"end",originY:"top"},{overlayX:"end",overlayY:"bottom"}),right:new i.c({originX:"end",originY:"center"},{overlayX:"start",overlayY:"center"}),rightTop:new i.c({originX:"end",originY:"top"},{overlayX:"start",overlayY:"top"}),rightBottom:new i.c({originX:"end",originY:"bottom"},{overlayX:"start",overlayY:"bottom"}),bottom:new i.c({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"}),bottomCenter:new i.c({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"}),bottomLeft:new i.c({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"}),bottomRight:new i.c({originX:"end",originY:"bottom"},{overlayX:"end",overlayY:"top"}),left:new i.c({originX:"start",originY:"center"},{overlayX:"end",overlayY:"center"}),leftTop:new i.c({originX:"start",originY:"top"},{overlayX:"end",overlayY:"top"}),leftBottom:new i.c({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"bottom"})},c=[a.top,a.right,a.bottom,a.left];function l(e){for(const t in a)if(e.connectionPair.originX===a[t].originX&&e.connectionPair.originY===a[t].originY&&e.connectionPair.overlayX===a[t].overlayX&&e.connectionPair.overlayY===a[t].overlayY)return t}new i.c({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"bottom"}),new i.c({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"bottom"}),new i.c({originX:"start",originY:"bottom"},{overlayX:"end",overlayY:"top"})},JhOC:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n("/Tr7"),r=n("jIYg");function o(e,t){Object(r.a)(2,arguments);var n=Object(i.a)(e),o=Object(i.a)(t),s=n.getTime()-o.getTime();return s<0?-1:s>0?1:s}},JwMs:function(e,t,n){"use strict";n.d(t,"a",function(){return _}),n.d(t,"b",function(){return x}),n.d(t,"c",function(){return C}),n.d(t,"d",function(){return m}),n.d(t,"e",function(){return S}),n.d(t,"f",function(){return v}),n.d(t,"g",function(){return O});var i=n("fXoL"),r=n("XNiG"),o=n("3UWI"),s=n("nYR2"),a=n("lJxs"),c=n("pLZG"),l=n("JX91"),u=n("/uUt"),d=n("OySI"),h=n("/KA4"),p=n("ofXK"),f=n("ejfv"),g=n("0MNC");const b=()=>{};let m=(()=>{class e{constructor(e,t){this.ngZone=e,this.rendererFactory2=t,this.resizeSource$=new r.a,this.listeners=0,this.disposeHandle=b,this.handler=()=>{this.ngZone.run(()=>{this.resizeSource$.next()})},this.renderer=this.rendererFactory2.createRenderer(null,null)}subscribe(){return this.registerListener(),this.resizeSource$.pipe(Object(o.a)(16),Object(s.a)(()=>this.unregisterListener()))}unsubscribe(){this.unregisterListener()}registerListener(){0===this.listeners&&this.ngZone.runOutsideAngular(()=>{this.disposeHandle=this.renderer.listen("window","resize",this.handler)}),this.listeners+=1}unregisterListener(){this.listeners-=1,0===this.listeners&&(this.disposeHandle(),this.disposeHandle=b)}}return e.\u0275fac=function(t){return new(t||e)(i.hc(i.B),i.hc(i.H))},e.\u0275prov=Object(i.Mb)({factory:function(){return new e(Object(i.hc)(i.B),Object(i.hc)(i.H))},token:e,providedIn:"root"}),e})();const y=new Map;let v=(()=>{class e{constructor(){this._singletonRegistry=new Map}get singletonRegistry(){return d.a.isTestMode?y:this._singletonRegistry}registerSingletonWithKey(e,t){const n=this.singletonRegistry.has(e),i=n?this.singletonRegistry.get(e):this.withNewTarget(t);n||this.singletonRegistry.set(e,i)}getSingletonWithKey(e){return this.singletonRegistry.has(e)?this.singletonRegistry.get(e).target:null}withNewTarget(e){return{target:e}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(i.Mb)({factory:function(){return new e},token:e,providedIn:"root"}),e})(),C=(()=>{class e{constructor(e){this.draggingThreshold=5,this.currentDraggingSequence=null,this.currentStartingPoint=null,this.handleRegistry=new Set,this.renderer=e.createRenderer(null,null)}requestDraggingSequence(e){return this.handleRegistry.size||this.registerDraggingHandler(Object(h.m)(e)),this.currentDraggingSequence&&this.currentDraggingSequence.complete(),this.currentStartingPoint=function(e){const t=Object(h.d)(e);return{x:t.pageX,y:t.pageY}}(e),this.currentDraggingSequence=new r.a,this.currentDraggingSequence.pipe(Object(a.a)(e=>({x:e.pageX-this.currentStartingPoint.x,y:e.pageY-this.currentStartingPoint.y})),Object(c.a)(e=>Math.abs(e.x)>this.draggingThreshold||Math.abs(e.y)>this.draggingThreshold),Object(s.a)(()=>this.teardownDraggingSequence()))}registerDraggingHandler(e){e?(this.handleRegistry.add({teardown:this.renderer.listen("document","touchmove",e=>{this.currentDraggingSequence&&this.currentDraggingSequence.next(e.touches[0]||e.changedTouches[0])})}),this.handleRegistry.add({teardown:this.renderer.listen("document","touchend",()=>{this.currentDraggingSequence&&this.currentDraggingSequence.complete()})})):(this.handleRegistry.add({teardown:this.renderer.listen("document","mousemove",e=>{this.currentDraggingSequence&&this.currentDraggingSequence.next(e)})}),this.handleRegistry.add({teardown:this.renderer.listen("document","mouseup",()=>{this.currentDraggingSequence&&this.currentDraggingSequence.complete()})}))}teardownDraggingSequence(){this.currentDraggingSequence=null}}return e.\u0275fac=function(t){return new(t||e)(i.hc(i.H))},e.\u0275prov=Object(i.Mb)({factory:function(){return new e(Object(i.hc)(i.H))},token:e,providedIn:"root"}),e})();function w(e,t,n,i){const r=n-t;let o=e/(i/2);return o<1?r/2*o*o*o+t:r/2*((o-=2)*o*o+2)+t}let S=(()=>{class e{constructor(e){this.doc=e}setScrollTop(e,t=0){e===window?(this.doc.body.scrollTop=t,this.doc.documentElement.scrollTop=t):e.scrollTop=t}getOffset(e){const t={top:0,left:0};if(!e||!e.getClientRects().length)return t;const n=e.getBoundingClientRect();if(n.width||n.height){const i=e.ownerDocument.documentElement;t.top=n.top-i.clientTop,t.left=n.left-i.clientLeft}else t.top=n.top,t.left=n.left;return t}getScroll(e,t=!0){if("undefined"==typeof window)return 0;const n=t?"scrollTop":"scrollLeft";let i=0;return this.isWindow(e)?i=e[t?"pageYOffset":"pageXOffset"]:e instanceof Document?i=e.documentElement[n]:e&&(i=e[n]),e&&!this.isWindow(e)&&"number"!=typeof i&&(i=(e.ownerDocument||e).documentElement[n]),i}isWindow(e){return null!=e&&e===e.window}scrollTo(e,t=0,n={}){const i=e||window,r=this.getScroll(i),o=Date.now(),{easing:s,callback:a,duration:c=450}=n,l=()=>{const e=Date.now()-o,n=(s||w)(e>c?c:e,r,t,c);this.isWindow(i)?i.scrollTo(window.pageXOffset,n):i instanceof HTMLDocument||"HTMLDocument"===i.constructor.name?i.documentElement.scrollTop=n:i.scrollTop=n,e{class e{constructor(e,t){this.resizeService=e,this.mediaMatcher=t,this.resizeService.subscribe().subscribe(()=>{})}subscribe(e,t){if(t){const t=()=>this.matchMedia(e,!0);return this.resizeService.subscribe().pipe(Object(a.a)(t),Object(l.a)(t()),Object(u.a)((e,t)=>e[0]===t[0]),Object(a.a)(e=>e[1]))}{const t=()=>this.matchMedia(e);return this.resizeService.subscribe().pipe(Object(a.a)(t),Object(l.a)(t()),Object(u.a)())}}matchMedia(e,t){let n=_.md;const i={};return Object.keys(e).map(e=>{const t=e,r=this.mediaMatcher.matchMedia(O[t]).matches;i[e]=r,r&&(n=t)}),t?[n,i]:n}}return e.\u0275fac=function(t){return new(t||e)(i.hc(m),i.hc(g.b))},e.\u0275prov=Object(i.Mb)({factory:function(){return new e(Object(i.hc)(m),Object(i.hc)(g.b))},token:e,providedIn:"root"}),e})()},K3mO:function(e,t,n){var i,r,o,s,a,c,l;e.exports=(l=n("Ib8C"),n("3y9D"),n("WYAk"),s=(r=(i=l).lib).WordArray,c=(a=i.algo).EvpKDF=(o=r.Base).extend({cfg:o.extend({keySize:4,hasher:a.MD5,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var n=this.cfg,i=n.hasher.create(),r=s.create(),o=r.words,a=n.keySize,c=n.iterations;o.length{class e{}return e.\u0275mod=a.Ob({type:e}),e.\u0275inj=a.Nb({factory:function(t){return new(t||e)},imports:[[i.c,o.d,r.k,s.d]]}),e})()},KYnA:function(e,t,n){"use strict";n.d(t,"a",function(){return i.a}),n("dAoj"),n("WN2g"),n("JNZN");var i=n("3rB1");n("yAKf"),n("B+r4"),n("XNiG"),n("JX91"),n("1G5W"),n("U8d7"),n("fXoL"),n("xgIS"),n("Kj3r"),n("IzEk"),n("3Pt+"),n("yx2K"),n("0/W8"),n("HZ3n")},"Kd/A":function(e,t,n){var i,r,o;!function(s){if("object"==typeof e.exports){var a=s(0,t);void 0!==a&&(e.exports=a)}else r=[n,t],void 0===(o="function"==typeof(i=s)?i.apply(t,r):i)||(e.exports=o)}(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=void 0;t.default=["zh",[["\u4e0a\u5348","\u4e0b\u5348"],n,n],n,[["\u65e5","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d"],["\u5468\u65e5","\u5468\u4e00","\u5468\u4e8c","\u5468\u4e09","\u5468\u56db","\u5468\u4e94","\u5468\u516d"],["\u661f\u671f\u65e5","\u661f\u671f\u4e00","\u661f\u671f\u4e8c","\u661f\u671f\u4e09","\u661f\u671f\u56db","\u661f\u671f\u4e94","\u661f\u671f\u516d"],["\u5468\u65e5","\u5468\u4e00","\u5468\u4e8c","\u5468\u4e09","\u5468\u56db","\u5468\u4e94","\u5468\u516d"]],n,[["1","2","3","4","5","6","7","8","9","10","11","12"],["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],["\u4e00\u6708","\u4e8c\u6708","\u4e09\u6708","\u56db\u6708","\u4e94\u6708","\u516d\u6708","\u4e03\u6708","\u516b\u6708","\u4e5d\u6708","\u5341\u6708","\u5341\u4e00\u6708","\u5341\u4e8c\u6708"]],n,[["\u516c\u5143\u524d","\u516c\u5143"],n,n],0,[6,0],["y/M/d","y\u5e74M\u6708d\u65e5",n,"y\u5e74M\u6708d\u65e5EEEE"],["ah:mm","ah:mm:ss","z ah:mm:ss","zzzz ah:mm:ss"],["{1} {0}",n,n,n],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"CNY","\xa5","\u4eba\u6c11\u5e01",{AUD:["AU$","$"],CNY:["\xa5"],ILR:["ILS"],JPY:["JP\xa5","\xa5"],KRW:["\uffe6","\u20a9"],TWD:["NT$"],USD:["US$","$"],XXX:[]},"ltr",function(e){return 5}]})},Kj3r:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n("7o/Q"),r=n("D0XW");function o(e,t=r.a){return n=>n.lift(new s(e,t))}class s{constructor(e,t){this.dueTime=e,this.scheduler=t}call(e,t){return t.subscribe(new a(e,this.dueTime,this.scheduler))}}class a extends i.a{constructor(e,t,n){super(e),this.dueTime=t,this.scheduler=n,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(c,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:e}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}}clearDebounce(){const e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)}}function c(e){e.debouncedNext()}},KmYQ:function(e,t,n){var i;e.exports=(i=n("Ib8C"),n("OLod"),i.pad.ZeroPadding={pad:function(e,t){var n=4*t;e.clamp(),e.sigBytes+=n-(e.sigBytes%n||n)},unpad:function(e){for(var t=e.words,n=e.sigBytes-1;!(t[n>>>2]>>>24-n%4*8&255);)n--;e.sigBytes=n+1}},i.pad.ZeroPadding)},KupA:function(e,t,n){"use strict";n.d(t,"a",function(){return E}),n.d(t,"b",function(){return M});var i=n("mrSG"),r=n("cH1L"),o=n("fXoL"),s=n("GR68"),a=n("2Suw"),c=n("YF2q"),l=n("/KA4"),u=n("nJia"),d=n("XNiG"),h=n("1G5W"),p=n("rDax"),f=n("ofXK"),g=n("OzZK"),b=n("pdGh"),m=n("JgHy"),y=n("Rm4T"),v=n("FwiY"),C=n("RwU8"),w=n("C2AL");function S(e,t){1&e&&o.Rb(0,"div",13)}function _(e,t){if(1&e&&(o.Ub(0),o.Rb(1,"i",15),o.Tb()),2&e){const e=t.$implicit;o.Cb(1),o.wc("nzType",e||"exclamation-circle")}}function O(e,t){if(1&e&&(o.Ub(0),o.Qc(1,_,2,1,"ng-container",8),o.Wb(2,"div",14),o.Sc(3),o.Vb(),o.Tb()),2&e){const e=o.oc(2);o.Cb(1),o.wc("nzStringTemplateOutlet",e.nzIcon),o.Cb(2),o.Tc(e.nzTitle)}}function x(e,t){if(1&e&&(o.Ub(0),o.Sc(1),o.Tb()),2&e){const e=o.oc(2);o.Cb(1),o.Tc(e.nzCancelText)}}function z(e,t){1&e&&(o.Ub(0),o.Sc(1),o.pc(2,"nzI18n"),o.Tb()),2&e&&(o.Cb(1),o.Tc(o.qc(2,1,"Modal.cancelText")))}function T(e,t){if(1&e&&(o.Ub(0),o.Sc(1),o.Tb()),2&e){const e=o.oc(2);o.Cb(1),o.Tc(e.nzOkText)}}function k(e,t){1&e&&(o.Ub(0),o.Sc(1),o.pc(2,"nzI18n"),o.Tb()),2&e&&(o.Cb(1),o.Tc(o.qc(2,1,"Modal.okText")))}function P(e,t){if(1&e){const e=o.Xb();o.Wb(0,"div",2),o.Wb(1,"div",3),o.Qc(2,S,1,0,"div",4),o.Wb(3,"div",5),o.Wb(4,"div"),o.Wb(5,"div",6),o.Wb(6,"div",7),o.Qc(7,O,4,2,"ng-container",8),o.Vb(),o.Wb(8,"div",9),o.Wb(9,"button",10),o.lc("click",function(){return o.Hc(e),o.oc().onCancel()}),o.Qc(10,x,2,1,"ng-container",11),o.Qc(11,z,3,3,"ng-container",11),o.Vb(),o.Wb(12,"button",12),o.lc("click",function(){return o.Hc(e),o.oc().onConfirm()}),o.Qc(13,T,2,1,"ng-container",11),o.Qc(14,k,3,3,"ng-container",11),o.Vb(),o.Vb(),o.Vb(),o.Vb(),o.Vb(),o.Vb(),o.Vb()}if(2&e){const e=o.oc();o.Ib("ant-popover-rtl","rtl"===e.dir),o.wc("ngClass",e._classMap)("ngStyle",e.nzOverlayStyle)("@.disabled",null==e.noAnimation?null:e.noAnimation.nzNoAnimation)("nzNoAnimation",null==e.noAnimation?null:e.noAnimation.nzNoAnimation)("@zoomBigMotion","active"),o.Cb(2),o.wc("ngIf",e.nzPopconfirmShowArrow),o.Cb(5),o.wc("nzStringTemplateOutlet",e.nzTitle),o.Cb(2),o.wc("nzSize","small"),o.Cb(1),o.wc("ngIf",e.nzCancelText),o.Cb(1),o.wc("ngIf",!e.nzCancelText),o.Cb(1),o.wc("nzSize","small")("nzType",e.nzOkType),o.Cb(1),o.wc("ngIf",e.nzOkText),o.Cb(1),o.wc("ngIf",!e.nzOkText)}}let E=(()=>{class e extends u.c{constructor(e,t,n,i,r,s){super(e,t,n,i,r,s),this._nzModuleName="popconfirm",this.trigger="click",this.placement="top",this.nzCondition=!1,this.nzPopconfirmShowArrow=!0,this.nzPopconfirmBackdrop=!1,this.visibleChange=new o.n,this.nzOnCancel=new o.n,this.nzOnConfirm=new o.n,this.componentFactory=this.resolver.resolveComponentFactory(D)}getProxyPropertyMap(){return Object.assign({nzOkText:["nzOkText",()=>this.nzOkText],nzOkType:["nzOkType",()=>this.nzOkType],nzCancelText:["nzCancelText",()=>this.nzCancelText],nzCondition:["nzCondition",()=>this.nzCondition],nzIcon:["nzIcon",()=>this.nzIcon],nzPopconfirmShowArrow:["nzPopconfirmShowArrow",()=>this.nzPopconfirmShowArrow],nzPopconfirmBackdrop:["nzBackdrop",()=>this.nzPopconfirmBackdrop]},super.getProxyPropertyMap())}createComponent(){super.createComponent(),this.component.nzOnCancel.pipe(Object(h.a)(this.destroy$)).subscribe(()=>{this.nzOnCancel.emit()}),this.component.nzOnConfirm.pipe(Object(h.a)(this.destroy$)).subscribe(()=>{this.nzOnConfirm.emit()})}}return e.\u0275fac=function(t){return new(t||e)(o.Qb(o.l),o.Qb(o.R),o.Qb(o.j),o.Qb(o.G),o.Qb(c.a,9),o.Qb(a.b))},e.\u0275dir=o.Lb({type:e,selectors:[["","nz-popconfirm",""]],hostVars:2,hostBindings:function(e,t){2&e&&o.Ib("ant-popover-open",t.visible)},inputs:{trigger:["nzPopconfirmTrigger","trigger"],placement:["nzPopconfirmPlacement","placement"],nzCondition:"nzCondition",nzPopconfirmShowArrow:"nzPopconfirmShowArrow",nzPopconfirmBackdrop:"nzPopconfirmBackdrop",title:["nzPopconfirmTitle","title"],directiveTitle:["nz-popconfirm","directiveTitle"],origin:["nzPopconfirmOrigin","origin"],mouseEnterDelay:["nzPopconfirmMouseEnterDelay","mouseEnterDelay"],mouseLeaveDelay:["nzPopconfirmMouseLeaveDelay","mouseLeaveDelay"],overlayClassName:["nzPopconfirmOverlayClassName","overlayClassName"],overlayStyle:["nzPopconfirmOverlayStyle","overlayStyle"],visible:["nzPopconfirmVisible","visible"],nzOkText:"nzOkText",nzOkType:"nzOkType",nzCancelText:"nzCancelText",nzIcon:"nzIcon"},outputs:{visibleChange:"nzPopconfirmVisibleChange",nzOnCancel:"nzOnCancel",nzOnConfirm:"nzOnConfirm"},exportAs:["nzPopconfirm"],features:[o.zb]}),Object(i.b)([Object(l.a)(),Object(i.c)("design:type",Boolean)],e.prototype,"nzCondition",void 0),Object(i.b)([Object(l.a)(),Object(i.c)("design:type",Boolean)],e.prototype,"nzPopconfirmShowArrow",void 0),Object(i.b)([Object(a.c)(),Object(i.c)("design:type",Boolean)],e.prototype,"nzPopconfirmBackdrop",void 0),e})(),D=(()=>{class e extends u.a{constructor(e,t,n){super(e,t,n),this.noAnimation=n,this.nzCondition=!1,this.nzPopconfirmShowArrow=!0,this.nzOkType="primary",this.nzOnCancel=new d.a,this.nzOnConfirm=new d.a,this._trigger="click",this._prefix="ant-popover"}ngOnDestroy(){super.ngOnDestroy(),this.nzOnCancel.complete(),this.nzOnConfirm.complete()}show(){this.nzCondition?this.onConfirm():super.show()}onCancel(){this.nzOnCancel.next(),super.hide()}onConfirm(){this.nzOnConfirm.next(),super.hide()}}return e.\u0275fac=function(t){return new(t||e)(o.Qb(o.h),o.Qb(r.c,8),o.Qb(c.a,9))},e.\u0275cmp=o.Kb({type:e,selectors:[["nz-popconfirm"]],exportAs:["nzPopconfirmComponent"],features:[o.zb],decls:2,vars:5,consts:[["cdkConnectedOverlay","","nzConnectedOverlay","",3,"cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayOpen","cdkConnectedOverlayPush","overlayOutsideClick","detach","positionChange"],["overlay","cdkConnectedOverlay"],[1,"ant-popover",3,"ngClass","ngStyle","nzNoAnimation"],[1,"ant-popover-content"],["class","ant-popover-arrow",4,"ngIf"],[1,"ant-popover-inner"],[1,"ant-popover-inner-content"],[1,"ant-popover-message"],[4,"nzStringTemplateOutlet"],[1,"ant-popover-buttons"],["nz-button","",3,"nzSize","click"],[4,"ngIf"],["nz-button","",3,"nzSize","nzType","click"],[1,"ant-popover-arrow"],[1,"ant-popover-message-title"],["nz-icon","","nzTheme","fill",3,"nzType"]],template:function(e,t){1&e&&(o.Qc(0,P,15,16,"ng-template",0,1,o.Rc),o.lc("overlayOutsideClick",function(e){return t.onClickOutside(e)})("detach",function(){return t.hide()})("positionChange",function(e){return t.onPositionChange(e)})),2&e&&o.wc("cdkConnectedOverlayHasBackdrop",t.nzBackdrop)("cdkConnectedOverlayOrigin",t.origin)("cdkConnectedOverlayPositions",t._positions)("cdkConnectedOverlayOpen",t._visible)("cdkConnectedOverlayPush",!0)},directives:[p.a,m.b,f.m,f.p,c.a,f.o,b.b,g.a,C.a,w.a,v.a],pipes:[y.c],encapsulation:2,data:{animation:[s.h]},changeDetection:0}),e})(),M=(()=>{class e{}return e.\u0275mod=o.Ob({type:e}),e.\u0275inj=o.Nb({factory:function(t){return new(t||e)},imports:[[r.a,f.c,g.c,p.f,y.b,v.b,b.a,m.c,c.b,u.b]]}),e})()},LRne:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var i=n("z+Ro"),r=n("yCtX"),o=n("jZKg");function s(...e){let t=e[e.length-1];return Object(i.a)(t)?(e.pop(),Object(o.a)(e,t)):Object(r.a)(e)}},LZVA:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("fXoL");let r=(()=>{class e{constructor(e){this.template=e}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.N))},e.\u0275dir=i.Lb({type:e,selectors:[["","ndCountDownContent",""]]}),e})()},Lhse:function(e,t,n){"use strict";function i(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}n.d(t,"a",function(){return r});const r=i()},M34a:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n("/Tr7"),r=n("jIYg");function o(e){Object(r.a)(1,arguments);var t=Object(i.a)(e);return t.setHours(0,0,0,0),t}},MlIO:function(e,t,n){var i,r,o,s,a;e.exports=(i=n("Ib8C"),o=(r=i.lib).Base,s=r.WordArray,(a=i.x64={}).Word=o.extend({init:function(e,t){this.high=e,this.low=t}}),a.WordArray=o.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:8*e.length},toX32:function(){for(var e=this.words,t=e.length,n=[],i=0;i{throw e},0)}n.d(t,"a",function(){return i})},NJZU:function(e,t,n){"use strict";n.d(t,"a",function(){return o.a}),n.d(t,"b",function(){return s});var i=n("ofXK"),r=n("fXoL"),o=n("JZAl");let s=(()=>{class e{}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)},imports:[[i.c]]}),e})()},NXyV:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var i=n("HDdC"),r=n("Cfvw"),o=n("EY2u");function s(e){return new i.a(t=>{let n;try{n=e()}catch(i){return void t.error(i)}return(n?Object(r.a)(n):Object(o.b)()).subscribe(t)})}},NoME:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("/Tr7"),r=n("gXqy"),o=n("jIYg");function s(e,t){var n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}function a(e,t){Object(o.a)(2,arguments);var n=Object(i.a)(e),a=Object(i.a)(t),c=s(n,a),l=Math.abs(Object(r.a)(n,a));n.setDate(n.getDate()-c*l);var u=Number(s(n,a)===-c),d=c*(l-u);return 0===d?0:d}},Nqz0:function(e,t,n){"use strict";n.d(t,"a",function(){return N}),n.d(t,"b",function(){return V}),n.d(t,"c",function(){return B}),n.d(t,"d",function(){return F});var i=n("mrSG"),r=n("FtGj"),o=n("rDax"),s=n("nLfN"),a=n("+rOU"),c=n("fXoL"),l=n("79xS"),u=n("JgHy"),d=n("/KA4"),h=n("XNiG"),p=n("2Vo4"),f=n("VRyK"),g=n("xgIS"),b=n("EY2u"),m=n("itXk"),y=(n("quSY"),n("CqXF")),v=n("lJxs"),C=n("eIep"),w=n("pLZG"),S=n("3UWI"),_=n("/uUt"),O=n("1G5W"),x=(n("IzEk"),n("cH1L")),z=n("ofXK"),T=n("3Pt+"),k=n("OzZK"),P=n("YF2q"),E=n("pdGh"),D=n("FwiY"),M=n("Q8cG"),I=n("GR68");function A(e,t){if(1&e){const e=c.Xb();c.Wb(0,"div",0),c.lc("@slideMotion.done",function(t){return c.Hc(e),c.oc().onAnimationEvent(t)})("mouseenter",function(){return c.Hc(e),c.oc().setMouseState(!0)})("mouseleave",function(){return c.Hc(e),c.oc().setMouseState(!1)}),c.uc(1),c.Vb()}if(2&e){const e=c.oc();c.Ib("ant-dropdown-rtl","rtl"===e.dir),c.wc("ngClass",e.nzOverlayClassName)("ngStyle",e.nzOverlayStyle)("@slideMotion",void 0)("@.disabled",null==e.noAnimation?null:e.noAnimation.nzNoAnimation)("nzNoAnimation",null==e.noAnimation?null:e.noAnimation.nzNoAnimation)}}const R=["*"],j=[u.d.bottomLeft,u.d.bottomRight,u.d.topRight,u.d.topLeft];let V=(()=>{class e{constructor(e,t,n,i,r){this.elementRef=e,this.overlay=t,this.renderer=n,this.viewContainerRef=i,this.platform=r,this.overlayRef=null,this.destroy$=new h.a,this.positionStrategy=this.overlay.position().flexibleConnectedTo(this.elementRef.nativeElement).withLockedPosition().withTransformOriginOn(".ant-dropdown"),this.inputVisible$=new p.a(!1),this.nzTrigger$=new p.a("hover"),this.overlayClose$=new h.a,this.nzDropdownMenu=null,this.nzTrigger="hover",this.nzMatchWidthElement=null,this.nzBackdrop=!1,this.nzHasBackdrop=!1,this.nzClickHide=!0,this.nzDisabled=!1,this.nzVisible=!1,this.nzOverlayClassName="",this.nzOverlayStyle={},this.nzPlacement="bottomLeft",this.nzVisibleChange=new c.n,this.elementRef.nativeElement.classList.add("ant-dropdown-trigger")}setDropdownMenuValue(e,t){this.nzDropdownMenu&&this.nzDropdownMenu.setValue(e,t)}ngOnInit(){}ngAfterViewInit(){if(this.nzDropdownMenu){const e=this.elementRef.nativeElement,t=Object(f.a)(Object(g.a)(e,"mouseenter").pipe(Object(y.a)(!0)),Object(g.a)(e,"mouseleave").pipe(Object(y.a)(!1))),n=this.nzDropdownMenu.mouseState$,i=Object(f.a)(n,t),o=Object(g.a)(e,"click").pipe(Object(v.a)(()=>!this.nzVisible)),s=this.nzTrigger$.pipe(Object(C.a)(e=>"hover"===e?i:"click"===e?o:b.a)),c=this.nzDropdownMenu.descendantMenuItemClick$.pipe(Object(w.a)(()=>this.nzClickHide),Object(y.a)(!1)),l=Object(f.a)(s,c,this.overlayClose$).pipe(Object(w.a)(()=>!this.nzDisabled)),d=Object(f.a)(this.inputVisible$,l);Object(m.a)([d,this.nzDropdownMenu.isChildSubMenuOpen$]).pipe(Object(v.a)(([e,t])=>e||t),Object(S.a)(150),Object(_.a)(),Object(w.a)(()=>this.platform.isBrowser),Object(O.a)(this.destroy$)).subscribe(t=>{const n=(this.nzMatchWidthElement?this.nzMatchWidthElement.nativeElement:e).getBoundingClientRect().width;this.nzVisible!==t&&this.nzVisibleChange.emit(t),this.nzVisible=t,t?(this.overlayRef?this.overlayRef.getConfig().minWidth=n:(this.overlayRef=this.overlay.create({positionStrategy:this.positionStrategy,minWidth:n,disposeOnNavigation:!0,hasBackdrop:(this.nzHasBackdrop||this.nzBackdrop)&&"click"===this.nzTrigger,scrollStrategy:this.overlay.scrollStrategies.reposition()}),Object(f.a)(this.overlayRef.backdropClick(),this.overlayRef.detachments(),this.overlayRef.outsidePointerEvents().pipe(Object(w.a)(e=>!this.elementRef.nativeElement.contains(e.target))),this.overlayRef.keydownEvents().pipe(Object(w.a)(e=>e.keyCode===r.f&&!Object(r.p)(e)))).pipe(Object(O.a)(this.destroy$)).subscribe(()=>{this.overlayClose$.next(!1)})),this.positionStrategy.withPositions([u.d[this.nzPlacement],...j]),this.portal&&this.portal.templateRef===this.nzDropdownMenu.templateRef||(this.portal=new a.f(this.nzDropdownMenu.templateRef,this.viewContainerRef)),this.overlayRef.attach(this.portal)):this.overlayRef&&this.overlayRef.detach()}),this.nzDropdownMenu.animationStateChange$.pipe(Object(O.a)(this.destroy$)).subscribe(e=>{"void"===e.toState&&(this.overlayRef&&this.overlayRef.dispose(),this.overlayRef=null)})}}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.overlayRef&&(this.overlayRef.dispose(),this.overlayRef=null)}ngOnChanges(e){const{nzVisible:t,nzDisabled:n,nzOverlayClassName:i,nzOverlayStyle:r,nzTrigger:o,nzBackdrop:s}=e;if(o&&this.nzTrigger$.next(this.nzTrigger),t&&this.inputVisible$.next(this.nzVisible),n){const e=this.elementRef.nativeElement;this.nzDisabled?(this.renderer.setAttribute(e,"disabled",""),this.inputVisible$.next(!1)):this.renderer.removeAttribute(e,"disabled")}i&&this.setDropdownMenuValue("nzOverlayClassName",this.nzOverlayClassName),r&&this.setDropdownMenuValue("nzOverlayStyle",this.nzOverlayStyle),s&&Object(l.c)("`nzBackdrop` in dropdown component will be removed in 12.0.0, please use `nzHasBackdrop` instead.")}}return e.\u0275fac=function(t){return new(t||e)(c.Qb(c.l),c.Qb(o.d),c.Qb(c.G),c.Qb(c.R),c.Qb(s.a))},e.\u0275dir=c.Lb({type:e,selectors:[["","nz-dropdown",""]],inputs:{nzDropdownMenu:"nzDropdownMenu",nzTrigger:"nzTrigger",nzMatchWidthElement:"nzMatchWidthElement",nzBackdrop:"nzBackdrop",nzHasBackdrop:"nzHasBackdrop",nzClickHide:"nzClickHide",nzDisabled:"nzDisabled",nzVisible:"nzVisible",nzOverlayClassName:"nzOverlayClassName",nzOverlayStyle:"nzOverlayStyle",nzPlacement:"nzPlacement"},outputs:{nzVisibleChange:"nzVisibleChange"},exportAs:["nzDropdown"],features:[c.Ab]}),Object(i.b)([Object(d.a)(),Object(i.c)("design:type",Object)],e.prototype,"nzBackdrop",void 0),Object(i.b)([Object(d.a)(),Object(i.c)("design:type",Object)],e.prototype,"nzHasBackdrop",void 0),Object(i.b)([Object(d.a)(),Object(i.c)("design:type",Object)],e.prototype,"nzClickHide",void 0),Object(i.b)([Object(d.a)(),Object(i.c)("design:type",Object)],e.prototype,"nzDisabled",void 0),Object(i.b)([Object(d.a)(),Object(i.c)("design:type",Object)],e.prototype,"nzVisible",void 0),e})(),L=(()=>{class e{}return e.\u0275mod=c.Ob({type:e}),e.\u0275inj=c.Nb({factory:function(t){return new(t||e)}}),e})(),N=(()=>{class e{constructor(e){this.elementRef=e,this.elementRef.nativeElement.classList.add("ant-dropdown-link")}}return e.\u0275fac=function(t){return new(t||e)(c.Qb(c.l))},e.\u0275dir=c.Lb({type:e,selectors:[["a","nz-dropdown",""]]}),e})(),F=(()=>{class e{constructor(e,t,n,i,r,o,s){this.cdr=e,this.elementRef=t,this.renderer=n,this.viewContainerRef=i,this.nzMenuService=r,this.directionality=o,this.noAnimation=s,this.mouseState$=new p.a(!1),this.isChildSubMenuOpen$=this.nzMenuService.isChildSubMenuOpen$,this.descendantMenuItemClick$=this.nzMenuService.descendantMenuItemClick$,this.animationStateChange$=new c.n,this.nzOverlayClassName="",this.nzOverlayStyle={},this.dir="ltr",this.destroy$=new h.a}onAnimationEvent(e){this.animationStateChange$.emit(e)}setMouseState(e){this.mouseState$.next(e)}setValue(e,t){this[e]=t,this.cdr.markForCheck()}ngOnInit(){var e;null===(e=this.directionality.change)||void 0===e||e.pipe(Object(O.a)(this.destroy$)).subscribe(e=>{this.dir=e,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngAfterContentInit(){this.renderer.removeChild(this.renderer.parentNode(this.elementRef.nativeElement),this.elementRef.nativeElement)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(c.Qb(c.h),c.Qb(c.l),c.Qb(c.G),c.Qb(c.R),c.Qb(M.a),c.Qb(x.c,8),c.Qb(P.a,9))},e.\u0275cmp=c.Kb({type:e,selectors:[["nz-dropdown-menu"]],viewQuery:function(e,t){if(1&e&&c.Xc(c.N,3),2&e){let e;c.Dc(e=c.mc())&&(t.templateRef=e.first)}},exportAs:["nzDropdownMenu"],features:[c.Bb([M.a,{provide:M.b,useValue:!0}])],ngContentSelectors:R,decls:1,vars:0,consts:[[1,"ant-dropdown",3,"ngClass","ngStyle","nzNoAnimation","mouseenter","mouseleave"]],template:function(e,t){1&e&&(c.vc(),c.Qc(0,A,2,7,"ng-template"))},directives:[z.m,z.p,P.a],encapsulation:2,data:{animation:[I.f]},changeDetection:0}),e})(),B=(()=>{class e{}return e.\u0275mod=c.Ob({type:e}),e.\u0275inj=c.Nb({factory:function(t){return new(t||e)},imports:[[x.a,z.c,o.f,T.k,k.c,M.e,D.b,P.b,s.b,u.c,L,E.a],M.e]}),e})();new o.c({originX:"start",originY:"top"},{overlayX:"start",overlayY:"top"}),new o.c({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"}),new o.c({originX:"start",originY:"top"},{overlayX:"end",overlayY:"bottom"}),new o.c({originX:"start",originY:"top"},{overlayX:"end",overlayY:"top"})},Nwms:function(e,t,n){"use strict";n.d(t,"a",function(){return u});var i=n("ofXK"),r=n("Q8cG"),o=n("tyNb"),s=n("cuYk"),a=n("SKKP"),c=n("pdGh"),l=n("fXoL");let u=(()=>{class e{}return e.\u0275mod=l.Ob({type:e}),e.\u0275inj=l.Nb({factory:function(t){return new(t||e)},providers:[],imports:[[i.c,o.k,s.a,r.e,a.b,c.a]]}),e})()},"O+5q":function(e,t,n){"use strict";n.d(t,"a",function(){return i});class i{constructor(e=null,t=null){this.setLatitude(e),this.setLongitude(t)}get Latitude(){return this._latitude}set Latitude(e){this.setLatitude(e)}get Longitude(){return this._longitude}set Longitude(e){this.setLongitude(e)}get lat(){return this.Latitude}set lat(e){this.setLatitude(e)}get lng(){return this.Longitude}set lng(e){this.setLongitude(e)}get gaodeCoordinate(){return[this._longitude,this._latitude]}get serviceCoordinate(){return{Latitude:this.Latitude,Longitude:this.Longitude}}setLatitude(e){this._latitude=this[1]=e}setLongitude(e){this._longitude=this[0]=e}}},O9QJ:function(e){e.exports=JSON.parse('[{"Pattern":"^/home","Type":"regex","Mode":"strict-match"},{"Pattern":"^/policy","Type":"regex","Mode":"strict-match"},{"Pattern":"/","Type":"string","Mode":"strict-match"},{"Pattern":"^/error","Type":"regex","Mode":"strict-match"},{"Pattern":"^/help/","Type":"regex","Mode":"strict-match"}]')},OLod:function(e,t,n){var i,r,o,s,a,c,l,u,d,h,p,f,g,b,m,y,v,C;e.exports=(i=n("Ib8C"),n("K3mO"),void(i.lib.Cipher||(r=i,o=r.lib,s=o.Base,a=o.WordArray,c=o.BufferedBlockAlgorithm,l=r.enc.Base64,u=r.algo.EvpKDF,d=o.Cipher=c.extend({cfg:s.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,n){this.cfg=this.cfg.extend(n),this._xformMode=e,this._key=t,this.reset()},reset:function(){c.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){return e&&this._append(e),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function e(e){return"string"==typeof e?C:y}return function(t){return{encrypt:function(n,i,r){return e(i).encrypt(t,n,i,r)},decrypt:function(n,i,r){return e(i).decrypt(t,n,i,r)}}}}()}),o.StreamCipher=d.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),h=r.mode={},p=o.BlockCipherMode=s.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),f=h.CBC=function(){var e=p.extend();function t(e,t,n){var i=this._iv;if(i){var r=i;this._iv=void 0}else r=this._prevBlock;for(var o=0;o>>2]}},o.BlockCipher=d.extend({cfg:d.cfg.extend({mode:f,padding:g}),reset:function(){d.reset.call(this);var e=this.cfg,t=e.iv,n=e.mode;if(this._xformMode==this._ENC_XFORM_MODE)var i=n.createEncryptor;else i=n.createDecryptor,this._minBufferSize=1;this._mode&&this._mode.__creator==i?this._mode.init(this,t&&t.words):(this._mode=i.call(n,this,t&&t.words),this._mode.__creator=i)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e=this.cfg.padding;if(this._xformMode==this._ENC_XFORM_MODE){e.pad(this._data,this.blockSize);var t=this._process(!0)}else t=this._process(!0),e.unpad(t);return t},blockSize:4}),b=o.CipherParams=s.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}}),m=(r.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,n=e.salt;if(n)var i=a.create([1398893684,1701076831]).concat(n).concat(t);else i=t;return i.toString(l)},parse:function(e){var t=l.parse(e),n=t.words;if(1398893684==n[0]&&1701076831==n[1]){var i=a.create(n.slice(2,4));n.splice(0,4),t.sigBytes-=16}return b.create({ciphertext:t,salt:i})}},y=o.SerializableCipher=s.extend({cfg:s.extend({format:m}),encrypt:function(e,t,n,i){i=this.cfg.extend(i);var r=e.createEncryptor(n,i),o=r.finalize(t),s=r.cfg;return b.create({ciphertext:o,key:n,iv:s.iv,algorithm:e,mode:s.mode,padding:s.padding,blockSize:e.blockSize,formatter:i.format})},decrypt:function(e,t,n,i){return i=this.cfg.extend(i),t=this._parse(t,i.format),e.createDecryptor(n,i).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),v=(r.kdf={}).OpenSSL={execute:function(e,t,n,i){i||(i=a.random(8));var r=u.create({keySize:t+n}).compute(e,i),o=a.create(r.words.slice(t),4*n);return r.sigBytes=4*t,b.create({key:r,iv:o,salt:i})}},C=o.PasswordBasedCipher=y.extend({cfg:y.cfg.extend({kdf:v}),encrypt:function(e,t,n,i){var r=(i=this.cfg.extend(i)).kdf.execute(n,e.keySize,e.ivSize);i.iv=r.iv;var o=y.encrypt.call(this,e,t,r.key,i);return o.mixIn(r),o},decrypt:function(e,t,n,i){i=this.cfg.extend(i),t=this._parse(t,i.format);var r=i.kdf.execute(n,e.keySize,e.ivSize,t.salt);return i.iv=r.iv,y.decrypt.call(this,e,t,r.key,i)}}))))},OnMO:function(e,t,n){e.exports=function(){"use strict";function e(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,i=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i={exports:{}};i.exports={defaults:{baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1},getDefaults:function(){return{baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}},changeDefaults:function(e){i.exports.defaults=e}};var r=/[&<>"']/,o=/[&<>"']/g,s=/[<>"']|&(?!#?\w+;)/,a=/[<>"']|&(?!#?\w+;)/g,c={"&":"&","<":"<",">":">",'"':""","'":"'"},l=function(e){return c[e]},u=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function d(e){return e.replace(u,function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""})}var h=/(^|[^\[])\^/g,p=/[^\w:]/g,f=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i,g={},b=/^[^:]+:\/*[^/]*$/,m=/^([^:]+:)[\s\S]*$/,y=/^([^:]+:\/*[^/]*)[\s\S]*$/;function v(e,t,n){var i=e.length;if(0===i)return"";for(var r=0;r=0&&"\\"===n[r];)i=!i;return i?"|":" |"}).split(/ \|/),i=0;if(n.length>t)n.splice(t);else for(;n.length1?{type:"space",raw:t[0]}:{raw:"\n"}},t.code=function(e){var t=this.rules.block.code.exec(e);if(t){var n=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?n:O(n,"\n")}}},t.fences=function(e){var t=this.rules.block.fences.exec(e);if(t){var n=t[0],i=function(e,t){var n=e.match(/^(\s+)(?:```)/);if(null===n)return t;var i=n[1];return t.split("\n").map(function(e){var t=e.match(/^\s+/);return null===t?e:t[0].length>=i.length?e.slice(i.length):e}).join("\n")}(n,t[3]||"");return{type:"code",raw:n,lang:t[2]?t[2].trim():t[2],text:i}}},t.heading=function(e){var t=this.rules.block.heading.exec(e);if(t){var n=t[2].trim();if(/#$/.test(n)){var i=O(n,"#");this.options.pedantic?n=i.trim():i&&!/ $/.test(i)||(n=i.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:n}}},t.nptable=function(e){var t=this.rules.block.nptable.exec(e);if(t){var n={type:"table",header:x(t[1].replace(/^ *| *\| *$/g,"")),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:t[3]?t[3].replace(/\n$/,"").split("\n"):[],raw:t[0]};if(n.header.length===n.align.length){var i,r=n.align.length;for(i=0;i ?/gm,"");return{type:"blockquote",raw:t[0],text:n}}},t.list=function(e){var t=this.rules.block.list.exec(e);if(t){var n,i,r,o,s,a,c,l,u,d=t[0],h=t[2],p=h.length>1,f={type:"list",raw:d,ordered:p,start:p?+h.slice(0,-1):"",loose:!1,items:[]},g=t[0].match(this.rules.block.item),b=!1,m=g.length;r=this.rules.block.listItemStart.exec(g[0]);for(var y=0;yr[1].length:o[1].length>=r[0].length||o[1].length>3){g.splice(y,2,g[y]+(!this.options.pedantic&&o[1].length/i.test(i[0])&&(t=!1),!n&&/^<(pre|code|kbd|script)(\s|>)/i.test(i[0])?n=!0:n&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(i[0])&&(n=!1),{type:this.options.sanitize?"text":"html",raw:i[0],inLink:t,inRawBlock:n,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(i[0]):z(i[0]):i[0]}},t.link=function(e){var t=this.rules.inline.link.exec(e);if(t){var n=t[2].trim();if(!this.options.pedantic&&/^$/.test(n))return;var i=O(n.slice(0,-1),"\\");if((n.length-i.length)%2==0)return}else{var r=function(e,t){if(-1===e.indexOf(t[1]))return-1;for(var n=e.length,i=0,r=0;r-1){var o=(0===t[0].indexOf("!")?5:4)+t[1].length+r;t[2]=t[2].substring(0,r),t[0]=t[0].substring(0,o).trim(),t[3]=""}}var s=t[2],a="";if(this.options.pedantic){var c=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(s);c&&(s=c[1],a=c[3])}else a=t[3]?t[3].slice(1,-1):"";return s=s.trim(),/^$/.test(n)?s.slice(1):s.slice(1,-1)),T(t,{href:s?s.replace(this.rules.inline._escapes,"$1"):s,title:a?a.replace(this.rules.inline._escapes,"$1"):a},t[0])}},t.reflink=function(e,t){var n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){var i=(n[2]||n[1]).replace(/\s+/g," ");if(!(i=t[i.toLowerCase()])||!i.href){var r=n[0].charAt(0);return{type:"text",raw:r,text:r}}return T(n,i,n[0])}},t.emStrong=function(e,t,n){void 0===n&&(n="");var i=this.rules.inline.emStrong.lDelim.exec(e);if(i&&(!i[3]||!n.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82C[\uDC00-\uDD1E\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDD\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/))){var r=i[1]||i[2]||"";if(!r||r&&(""===n||this.rules.inline.punctuation.exec(n))){var o,s,a=i[0].length-1,c=a,l=0,u="*"===i[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(u.lastIndex=0,t=t.slice(-1*e.length+a);null!=(i=u.exec(t));)if(o=i[1]||i[2]||i[3]||i[4]||i[5]||i[6])if(s=o.length,i[3]||i[4])c+=s;else if(!((i[5]||i[6])&&a%3)||(a+s)%3){if(!((c-=s)>0))return s=Math.min(s,s+c+l),Math.min(a,s)%2?{type:"em",raw:e.slice(0,a+i.index+s+1),text:e.slice(1,a+i.index+s)}:{type:"strong",raw:e.slice(0,a+i.index+s+1),text:e.slice(2,a+i.index+s-1)}}else l+=s}}},t.codespan=function(e){var t=this.rules.inline.code.exec(e);if(t){var n=t[2].replace(/\n/g," "),i=/[^ ]/.test(n),r=/^ /.test(n)&&/ $/.test(n);return i&&r&&(n=n.substring(1,n.length-1)),n=z(n,!0),{type:"codespan",raw:t[0],text:n}}},t.br=function(e){var t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}},t.del=function(e){var t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2]}},t.autolink=function(e,t){var n,i,r=this.rules.inline.autolink.exec(e);if(r)return i="@"===r[2]?"mailto:"+(n=z(this.options.mangle?t(r[1]):r[1])):n=z(r[1]),{type:"link",raw:r[0],text:n,href:i,tokens:[{type:"text",raw:n,text:n}]}},t.url=function(e,t){var n;if(n=this.rules.inline.url.exec(e)){var i,r;if("@"===n[2])r="mailto:"+(i=z(this.options.mangle?t(n[0]):n[0]));else{var o;do{o=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0]}while(o!==n[0]);i=z(n[0]),r="www."===n[1]?"http://"+i:i}return{type:"link",raw:n[0],text:i,href:r,tokens:[{type:"text",raw:i,text:i}]}}},t.inlineText=function(e,t,n){var i,r=this.rules.inline.text.exec(e);if(r)return i=t?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):z(r[0]):r[0]:z(this.options.smartypants?n(r[0]):r[0]),{type:"text",raw:r[0],text:i}},e}(),P={exec:function(){}},E=function(e,t){e=e.source||e,t=t||"";var n={replace:function(t,i){return i=(i=i.source||i).replace(h,"$1"),e=e.replace(t,i),n},getRegex:function(){return new RegExp(e,t)}};return n},D=S,M={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?! {0,3}bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *\n? *]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:P,table:P,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};M.def=E(M.def).replace("label",M._label).replace("title",M._title).getRegex(),M.bullet=/(?:[*+-]|\d{1,9}[.)])/,M.item=/^( *)(bull) ?[^\n]*(?:\n(?! *bull ?)[^\n]*)*/,M.item=E(M.item,"gm").replace(/bull/g,M.bullet).getRegex(),M.listItemStart=E(/^( *)(bull) */).replace("bull",M.bullet).getRegex(),M.list=E(M.list).replace(/bull/g,M.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+M.def.source+")").getRegex(),M._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",M._comment=/|$)/,M.html=E(M.html,"i").replace("comment",M._comment).replace("tag",M._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),M.paragraph=E(M._paragraph).replace("hr",M.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",M._tag).getRegex(),M.blockquote=E(M.blockquote).replace("paragraph",M.paragraph).getRegex(),M.normal=D({},M),M.gfm=D({},M.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n {0,3}([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n {0,3}\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),M.gfm.nptable=E(M.gfm.nptable).replace("hr",M.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",M._tag).getRegex(),M.gfm.table=E(M.gfm.table).replace("hr",M.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",M._tag).getRegex(),M.pedantic=D({},M.normal,{html:E("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",M._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:P,paragraph:E(M.normal._paragraph).replace("hr",M.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",M.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var I={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:P,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/\_\_[^_*]*?\*[^_*]*?\_\_|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/\*\*[^_*]*?\_[^_*]*?\*\*|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:P,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\?@\\[\\]`^{|}~"};I.punctuation=E(I.punctuation).replace(/punctuation/g,I._punctuation).getRegex(),I.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,I.escapedEmSt=/\\\*|\\_/g,I._comment=E(M._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),I.emStrong.lDelim=E(I.emStrong.lDelim).replace(/punct/g,I._punctuation).getRegex(),I.emStrong.rDelimAst=E(I.emStrong.rDelimAst,"g").replace(/punct/g,I._punctuation).getRegex(),I.emStrong.rDelimUnd=E(I.emStrong.rDelimUnd,"g").replace(/punct/g,I._punctuation).getRegex(),I._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,I._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,I._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,I.autolink=E(I.autolink).replace("scheme",I._scheme).replace("email",I._email).getRegex(),I._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,I.tag=E(I.tag).replace("comment",I._comment).replace("attribute",I._attribute).getRegex(),I._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,I._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,I._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,I.link=E(I.link).replace("label",I._label).replace("href",I._href).replace("title",I._title).getRegex(),I.reflink=E(I.reflink).replace("label",I._label).getRegex(),I.reflinkSearch=E(I.reflinkSearch,"g").replace("reflink",I.reflink).replace("nolink",I.nolink).getRegex(),I.normal=D({},I),I.pedantic=D({},I.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:E(/^!?\[(label)\]\((.*?)\)/).replace("label",I._label).getRegex(),reflink:E(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",I._label).getRegex()}),I.gfm=D({},I.normal,{escape:E(I.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\1;)1&t&&(n+=e),t>>=1,e+=e;return n+e};function F(e){return e.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1\u201c").replace(/"/g,"\u201d").replace(/\.{3}/g,"\u2026")}function B(e){var t,n,i="",r=e.length;for(t=0;t.5&&(n="x"+n.toString(16)),i+="&#"+n+";";return i}var W=function(){function t(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||j,this.options.tokenizer=this.options.tokenizer||new R,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var t={block:V.normal,inline:L.normal};this.options.pedantic?(t.block=V.pedantic,t.inline=L.pedantic):this.options.gfm&&(t.block=V.gfm,t.inline=this.options.breaks?L.breaks:L.gfm),this.tokenizer.rules=t}t.lex=function(e,n){return new t(n).lex(e)},t.lexInline=function(e,n){return new t(n).inlineTokens(e)};var n,i,r=t.prototype;return r.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," "),this.blockTokens(e,this.tokens,!0),this.inline(this.tokens),this.tokens},r.blockTokens=function(e,t,n){var i,r,o,s,a,c,l=this;for(void 0===t&&(t=[]),void 0===n&&(n=!0),this.options.pedantic&&(e=e.replace(/^ +$/gm,""));e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(function(n){return!!(i=n.call(l,e,t))&&(e=e.substring(i.raw.length),t.push(i),!0)})))if(i=this.tokenizer.space(e))e=e.substring(i.raw.length),i.type&&t.push(i);else if(i=this.tokenizer.code(e))e=e.substring(i.raw.length),(s=t[t.length-1])&&"paragraph"===s.type?(s.raw+="\n"+i.raw,s.text+="\n"+i.text):t.push(i);else if(i=this.tokenizer.fences(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.heading(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.nptable(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.hr(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.blockquote(e))e=e.substring(i.raw.length),i.tokens=this.blockTokens(i.text,[],n),t.push(i);else if(i=this.tokenizer.list(e)){for(e=e.substring(i.raw.length),o=i.items.length,r=0;r=0&&(t=Math.min(t,i))}),t<1/0&&t>=0&&(a=e.substring(0,t+1))}(),n&&(i=this.tokenizer.paragraph(a)))s=t[t.length-1],c&&"paragraph"===s.type?(s.raw+="\n"+i.raw,s.text+="\n"+i.text):t.push(i),c=a.length!==e.length,e=e.substring(i.raw.length);else if(i=this.tokenizer.text(e))e=e.substring(i.raw.length),(s=t[t.length-1])&&"text"===s.type?(s.raw+="\n"+i.raw,s.text+="\n"+i.text):t.push(i);else if(e){var u="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(u);break}throw new Error(u)}return t},r.inline=function(e){var t,n,i,r,o,s,a=e.length;for(t=0;t0)for(;null!=(c=this.tokenizer.rules.inline.reflinkSearch.exec(d));)h.includes(c[0].slice(c[0].lastIndexOf("[")+1,-1))&&(d=d.slice(0,c.index)+"["+N("a",c[0].length-2)+"]"+d.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(c=this.tokenizer.rules.inline.blockSkip.exec(d));)d=d.slice(0,c.index)+"["+N("a",c[0].length-2)+"]"+d.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(c=this.tokenizer.rules.inline.escapedEmSt.exec(d));)d=d.slice(0,c.index)+"++"+d.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;e;)if(l||(u=""),l=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(function(n){return!!(r=n.call(a,e,t))&&(e=e.substring(r.raw.length),t.push(r),!0)})))if(r=this.tokenizer.escape(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.tag(e,n,i))e=e.substring(r.raw.length),n=r.inLink,i=r.inRawBlock,(o=t[t.length-1])&&"text"===r.type&&"text"===o.type?(o.raw+=r.raw,o.text+=r.text):t.push(r);else if(r=this.tokenizer.link(e))e=e.substring(r.raw.length),"link"===r.type&&(r.tokens=this.inlineTokens(r.text,[],!0,i)),t.push(r);else if(r=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(r.raw.length),o=t[t.length-1],"link"===r.type?(r.tokens=this.inlineTokens(r.text,[],!0,i),t.push(r)):o&&"text"===r.type&&"text"===o.type?(o.raw+=r.raw,o.text+=r.text):t.push(r);else if(r=this.tokenizer.emStrong(e,d,u))e=e.substring(r.raw.length),r.tokens=this.inlineTokens(r.text,[],n,i),t.push(r);else if(r=this.tokenizer.codespan(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.br(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.del(e))e=e.substring(r.raw.length),r.tokens=this.inlineTokens(r.text,[],n,i),t.push(r);else if(r=this.tokenizer.autolink(e,B))e=e.substring(r.raw.length),t.push(r);else if(n||!(r=this.tokenizer.url(e,B))){if(s=e,this.options.extensions&&this.options.extensions.startInline&&function(){var t=1/0,n=e.slice(1),i=void 0;a.options.extensions.startInline.forEach(function(e){"number"==typeof(i=e.call(this,n))&&i>=0&&(t=Math.min(t,i))}),t<1/0&&t>=0&&(s=e.substring(0,t+1))}(),r=this.tokenizer.inlineText(s,i,F))e=e.substring(r.raw.length),"_"!==r.raw.slice(-1)&&(u=r.raw.slice(-1)),l=!0,(o=t[t.length-1])&&"text"===o.type?(o.raw+=r.raw,o.text+=r.text):t.push(r);else if(e){var p="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(p);break}throw new Error(p)}}else e=e.substring(r.raw.length),t.push(r);return t},n=t,i=[{key:"rules",get:function(){return{block:V,inline:L}}}],null&&e(n.prototype,null),i&&e(n,i),t}(),H=i.exports.defaults,U=function(e,t,n){if(e){var i;try{i=decodeURIComponent(d(n)).replace(p,"").toLowerCase()}catch(r){return null}if(0===i.indexOf("javascript:")||0===i.indexOf("vbscript:")||0===i.indexOf("data:"))return null}t&&!f.test(n)&&(n=function(e,t){g[" "+e]||(g[" "+e]=b.test(e)?e+"/":v(e,"/",!0));var n=-1===(e=g[" "+e]).indexOf(":");return"//"===t.substring(0,2)?n?t:e.replace(m,"$1")+t:"/"===t.charAt(0)?n?t:e.replace(y,"$1")+t:e+t}(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(r){return null}return n},$=C,Q=function(){function e(e){this.options=e||H}var t=e.prototype;return t.code=function(e,t,n){var i=(t||"").match(/\S*/)[0];if(this.options.highlight){var r=this.options.highlight(e,i);null!=r&&r!==e&&(n=!0,e=r)}return e=e.replace(/\n$/,"")+"\n",i?'
    '+(n?e:$(e,!0))+"
    \n":"
    "+(n?e:$(e,!0))+"
    \n"},t.blockquote=function(e){return"
    \n"+e+"
    \n"},t.html=function(e){return e},t.heading=function(e,t,n,i){return this.options.headerIds?"'+e+"\n":""+e+"\n"},t.hr=function(){return this.options.xhtml?"
    \n":"
    \n"},t.list=function(e,t,n){var i=t?"ol":"ul";return"<"+i+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"\n"},t.listitem=function(e){return"
  • "+e+"
  • \n"},t.checkbox=function(e){return" "},t.paragraph=function(e){return"

    "+e+"

    \n"},t.table=function(e,t){return t&&(t=""+t+""),"\n\n"+e+"\n"+t+"
    \n"},t.tablerow=function(e){return"\n"+e+"\n"},t.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+"\n"},t.strong=function(e){return""+e+""},t.em=function(e){return""+e+""},t.codespan=function(e){return""+e+""},t.br=function(){return this.options.xhtml?"
    ":"
    "},t.del=function(e){return""+e+""},t.link=function(e,t,n){if(null===(e=U(this.options.sanitize,this.options.baseUrl,e)))return n;var i='
    "+n+""},t.image=function(e,t,n){if(null===(e=U(this.options.sanitize,this.options.baseUrl,e)))return n;var i=''+n+'":">")},t.text=function(e){return e},e}(),G=function(){function e(){}var t=e.prototype;return t.strong=function(e){return e},t.em=function(e){return e},t.codespan=function(e){return e},t.del=function(e){return e},t.html=function(e){return e},t.text=function(e){return e},t.link=function(e,t,n){return""+n},t.image=function(e,t,n){return""+n},t.br=function(){return""},e}(),Y=function(){function e(){this.seen={}}var t=e.prototype;return t.serialize=function(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},t.getNextSafeSlug=function(e,t){var n=e,i=0;if(this.seen.hasOwnProperty(n)){i=this.seen[e];do{n=e+"-"+ ++i}while(this.seen.hasOwnProperty(n))}return t||(this.seen[e]=i,this.seen[n]=0),n},t.slug=function(e,t){void 0===t&&(t={});var n=this.serialize(e);return this.getNextSafeSlug(n,t.dryrun)},e}(),K=Q,X=G,q=Y,J=i.exports.defaults,Z=w,ee=function(){function e(e){this.options=e||J,this.options.renderer=this.options.renderer||new K,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new X,this.slugger=new q}e.parse=function(t,n){return new e(n).parse(t)},e.parseInline=function(t,n){return new e(n).parseInline(t)};var t=e.prototype;return t.parse=function(e,t){void 0===t&&(t=!0);var n,i,r,o,s,a,c,l,u,d,h,p,f,g,b,m,y,v,C,w="",S=e.length;for(n=0;n0&&"text"===b.tokens[0].type?(b.tokens[0].text=v+" "+b.tokens[0].text,b.tokens[0].tokens&&b.tokens[0].tokens.length>0&&"text"===b.tokens[0].tokens[0].type&&(b.tokens[0].tokens[0].text=v+" "+b.tokens[0].tokens[0].text)):b.tokens.unshift({type:"text",text:v}):g+=v),g+=this.parse(b.tokens,f),u+=this.renderer.listitem(g,y,m);w+=this.renderer.list(u,h,p);continue;case"html":w+=this.renderer.html(d.text);continue;case"paragraph":w+=this.renderer.paragraph(this.parseInline(d.tokens));continue;case"text":for(u=d.tokens?this.parseInline(d.tokens):d.text;n+1An error occurred:

    "+le(c.message+"",!0)+"
    ";throw c}}return pe.options=pe.setOptions=function(e){return ae(pe.defaults,e),de(pe.defaults),pe},pe.getDefaults=ue,pe.defaults=he,pe.use=function(){for(var e=this,t=arguments.length,n=new Array(t),i=0;iAn error occurred:

    "+le(i.message+"",!0)+"
    ";throw i}},pe.Parser=ne,pe.parser=ne.parse,pe.Renderer=re,pe.TextRenderer=oe,pe.Lexer=te,pe.lexer=te.lex,pe.Tokenizer=ie,pe.Slugger=se,pe.parse=pe,pe}()},Orh4:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n("/Tr7"),r=n("jIYg");function o(e,t){return Object(r.a)(2,arguments),Object(i.a)(e).getTime()-Object(i.a)(t).getTime()}},OtHt:function(e,t,n){"use strict";n.d(t,"a",function(){return g}),n.d(t,"b",function(){return y});var i=n("/KA4"),r=n("cH1L"),o=n("ofXK"),s=n("fXoL");function a(e,t){if(1&e&&(s.Wb(0,"div",5),s.Rb(1,"nz-skeleton-element",6),s.Vb()),2&e){const e=s.oc(2);s.Cb(1),s.wc("nzSize",e.avatar.size||"default")("nzShape",e.avatar.shape||"circle")}}function c(e,t){if(1&e&&s.Rb(0,"h3",7),2&e){const e=s.oc(2);s.Nc("width",e.toCSSUnit(e.title.width))}}function l(e,t){if(1&e&&s.Rb(0,"li"),2&e){const e=t.index,n=s.oc(3);s.Nc("width",n.toCSSUnit(n.widthList[e]))}}function u(e,t){if(1&e&&(s.Wb(0,"ul",8),s.Qc(1,l,1,2,"li",9),s.Vb()),2&e){const e=s.oc(2);s.Cb(1),s.wc("ngForOf",e.rowsList)}}function d(e,t){if(1&e&&(s.Ub(0),s.Qc(1,a,2,2,"div",1),s.Wb(2,"div",2),s.Qc(3,c,1,2,"h3",3),s.Qc(4,u,2,1,"ul",4),s.Vb(),s.Tb()),2&e){const e=s.oc();s.Cb(1),s.wc("ngIf",!!e.nzAvatar),s.Cb(2),s.wc("ngIf",!!e.nzTitle),s.Cb(1),s.wc("ngIf",!!e.nzParagraph)}}function h(e,t){1&e&&(s.Ub(0),s.uc(1),s.Tb())}const p=["*"],f=["nzType","avatar"];let g=(()=>{class e{constructor(e,t,n){this.cdr=e,this.nzActive=!1,this.nzLoading=!0,this.nzRound=!1,this.nzTitle=!0,this.nzAvatar=!1,this.nzParagraph=!0,this.rowsList=[],this.widthList=[],t.addClass(n.nativeElement,"ant-skeleton")}toCSSUnit(e=""){return Object(i.r)(e)}getTitleProps(){const e=!!this.nzAvatar,t=!!this.nzParagraph;let n="";return!e&&t?n="38%":e&&t&&(n="50%"),Object.assign({width:n},this.getProps(this.nzTitle))}getAvatarProps(){return Object.assign({shape:this.nzTitle&&!this.nzParagraph?"square":"circle",size:"large"},this.getProps(this.nzAvatar))}getParagraphProps(){const e=!!this.nzAvatar,t=!!this.nzTitle,n={};return e&&t||(n.width="61%"),n.rows=!e&&t?3:2,Object.assign(Object.assign({},n),this.getProps(this.nzParagraph))}getProps(e){return e&&"object"==typeof e?e:{}}getWidthList(){const{width:e,rows:t}=this.paragraph;let n=[];return e&&Array.isArray(e)?n=e:e&&!Array.isArray(e)&&(n=[],n[t-1]=e),n}updateProps(){this.title=this.getTitleProps(),this.avatar=this.getAvatarProps(),this.paragraph=this.getParagraphProps(),this.rowsList=[...Array(this.paragraph.rows)],this.widthList=this.getWidthList(),this.cdr.markForCheck()}ngOnInit(){this.updateProps()}ngOnChanges(e){(e.nzTitle||e.nzAvatar||e.nzParagraph)&&this.updateProps()}}return e.\u0275fac=function(t){return new(t||e)(s.Qb(s.h),s.Qb(s.G),s.Qb(s.l))},e.\u0275cmp=s.Kb({type:e,selectors:[["nz-skeleton"]],hostVars:6,hostBindings:function(e,t){2&e&&s.Ib("ant-skeleton-with-avatar",!!t.nzAvatar)("ant-skeleton-active",t.nzActive)("ant-skeleton-round",!!t.nzRound)},inputs:{nzActive:"nzActive",nzLoading:"nzLoading",nzRound:"nzRound",nzTitle:"nzTitle",nzAvatar:"nzAvatar",nzParagraph:"nzParagraph"},exportAs:["nzSkeleton"],features:[s.Ab],ngContentSelectors:p,decls:2,vars:2,consts:[[4,"ngIf"],["class","ant-skeleton-header",4,"ngIf"],[1,"ant-skeleton-content"],["class","ant-skeleton-title",3,"width",4,"ngIf"],["class","ant-skeleton-paragraph",4,"ngIf"],[1,"ant-skeleton-header"],["nzType","avatar",3,"nzSize","nzShape"],[1,"ant-skeleton-title"],[1,"ant-skeleton-paragraph"],[3,"width",4,"ngFor","ngForOf"]],template:function(e,t){1&e&&(s.vc(),s.Qc(0,d,5,3,"ng-container",0),s.Qc(1,h,2,0,"ng-container",0)),2&e&&(s.wc("ngIf",t.nzLoading),s.Cb(1),s.wc("ngIf",!t.nzLoading))},directives:function(){return[o.o,b,m,o.n]},encapsulation:2,changeDetection:0}),e})(),b=(()=>{class e{constructor(e){this.elementRef=e,this.nzActive=!1,this.elementRef.nativeElement.classList.add("ant-skeleton","ant-skeleton-element")}}return e.\u0275fac=function(t){return new(t||e)(s.Qb(s.l))},e.\u0275dir=s.Lb({type:e,selectors:[["nz-skeleton-element"]],hostVars:2,hostBindings:function(e,t){2&e&&s.Ib("ant-skeleton-active",t.nzActive)},inputs:{nzActive:"nzActive",nzType:"nzType"}}),e})(),m=(()=>{class e{constructor(){this.nzShape="circle",this.nzSize="default",this.styleMap={}}ngOnChanges(e){if(e.nzSize&&"number"==typeof this.nzSize){const e=`${this.nzSize}px`;this.styleMap={width:e,height:e,"line-height":e}}else this.styleMap={}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=s.Kb({type:e,selectors:[["nz-skeleton-element","nzType","avatar"]],inputs:{nzShape:"nzShape",nzSize:"nzSize"},features:[s.Ab],attrs:f,decls:1,vars:9,consts:[[1,"ant-skeleton-avatar",3,"ngStyle"]],template:function(e,t){1&e&&s.Rb(0,"span",0),2&e&&(s.Ib("ant-skeleton-avatar-square","square"===t.nzShape)("ant-skeleton-avatar-circle","circle"===t.nzShape)("ant-skeleton-avatar-lg","large"===t.nzSize)("ant-skeleton-avatar-sm","small"===t.nzSize),s.wc("ngStyle",t.styleMap))},directives:[o.p],encapsulation:2,changeDetection:0}),e})(),y=(()=>{class e{}return e.\u0275mod=s.Ob({type:e}),e.\u0275inj=s.Nb({factory:function(t){return new(t||e)},imports:[[r.a,o.c]]}),e})()},OySI:function(e,t,n){"use strict";n.d(t,"a",function(){return i});const i={isTestMode:!1}},OzZK:function(e,t,n){"use strict";n.d(t,"a",function(){return w}),n.d(t,"b",function(){return S}),n.d(t,"c",function(){return _});var i=n("mrSG"),r=n("cH1L"),o=n("fXoL"),s=n("2Suw"),a=n("79xS"),c=n("/KA4"),l=n("FwiY"),u=n("XNiG"),d=n("1G5W"),h=n("JX91"),p=n("pLZG"),f=n("ofXK"),g=n("C2AL"),b=n("RwU8");const m=["nz-button",""];function y(e,t){1&e&&o.Rb(0,"i",1)}const v=["*"],C="button";let w=(()=>{class e{constructor(e,t,n,i,r){this.elementRef=e,this.cdr=t,this.renderer=n,this.nzConfigService=i,this.directionality=r,this._nzModuleName=C,this.nzBlock=!1,this.nzGhost=!1,this.nzSearch=!1,this.nzLoading=!1,this.nzDanger=!1,this.disabled=!1,this.tabIndex=null,this.nzType=null,this.nzShape=null,this.nzSize="default",this.dir="ltr",this.destroy$=new u.a,this.loading$=new u.a,this.elementRef.nativeElement.classList.add("ant-btn"),this.nzConfigService.getConfigChangeEventForComponent(C).pipe(Object(d.a)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}insertSpan(e,t){e.forEach(e=>{if("#text"===e.nodeName){const n=t.createElement("span"),i=t.parentNode(e);t.insertBefore(i,n,e),t.appendChild(n,e)}})}assertIconOnly(e,t){const n=Array.from(e.childNodes),i=n.filter(e=>"I"===e.nodeName).length,r=n.every(e=>"#text"!==e.nodeName);n.every(e=>"SPAN"!==e.nodeName)&&r&&i>=1&&t.addClass(e,"ant-btn-icon-only")}ngOnInit(){var e;null===(e=this.directionality.change)||void 0===e||e.pipe(Object(d.a)(this.destroy$)).subscribe(e=>{this.dir=e,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnChanges(e){const{nzLoading:t,nzType:n}=e;t&&this.loading$.next(this.nzLoading),"danger"===(null==n?void 0:n.currentValue)&&Object(a.c)("'danger' value of 'nzType' in Button is going to be removed in 12.0.0. Please use 'nzDanger' instead.")}ngAfterViewInit(){this.assertIconOnly(this.elementRef.nativeElement,this.renderer),this.insertSpan(this.elementRef.nativeElement.childNodes,this.renderer)}ngAfterContentInit(){this.loading$.pipe(Object(h.a)(this.nzLoading),Object(p.a)(()=>!!this.nzIconDirectiveElement),Object(d.a)(this.destroy$)).subscribe(e=>{const t=this.nzIconDirectiveElement.nativeElement;e?this.renderer.setStyle(t,"display","none"):this.renderer.removeStyle(t,"display")})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(o.Qb(o.l),o.Qb(o.h),o.Qb(o.G),o.Qb(s.b),o.Qb(r.c,8))},e.\u0275cmp=o.Kb({type:e,selectors:[["button","nz-button",""],["a","nz-button",""]],contentQueries:function(e,t,n){if(1&e&&o.Jb(n,l.a,1,o.l),2&e){let e;o.Dc(e=o.mc())&&(t.nzIconDirectiveElement=e.first)}},hostVars:32,hostBindings:function(e,t){2&e&&(o.Db("tabindex",t.disabled?-1:null===t.tabIndex?null:t.tabIndex)("disabled",t.disabled||null),o.Ib("ant-btn-primary","primary"===t.nzType)("ant-btn-dashed","dashed"===t.nzType)("ant-btn-link","link"===t.nzType)("ant-btn-text","text"===t.nzType)("ant-btn-danger","danger"===t.nzType)("ant-btn-circle","circle"===t.nzShape)("ant-btn-round","round"===t.nzShape)("ant-btn-lg","large"===t.nzSize)("ant-btn-sm","small"===t.nzSize)("ant-btn-dangerous",t.nzDanger)("ant-btn-loading",t.nzLoading)("ant-btn-background-ghost",t.nzGhost)("ant-btn-block",t.nzBlock)("ant-input-search-button",t.nzSearch)("ant-btn-rtl","rtl"===t.dir))},inputs:{nzBlock:"nzBlock",nzGhost:"nzGhost",nzSearch:"nzSearch",nzLoading:"nzLoading",nzDanger:"nzDanger",disabled:"disabled",tabIndex:"tabIndex",nzType:"nzType",nzShape:"nzShape",nzSize:"nzSize"},exportAs:["nzButton"],features:[o.Ab],attrs:m,ngContentSelectors:v,decls:2,vars:1,consts:[["nz-icon","","nzType","loading",4,"ngIf"],["nz-icon","","nzType","loading"]],template:function(e,t){1&e&&(o.vc(),o.Qc(0,y,1,0,"i",0),o.uc(1)),2&e&&o.wc("ngIf",t.nzLoading)},directives:[f.o,l.a,g.a],encapsulation:2,changeDetection:0}),Object(i.b)([Object(c.a)(),Object(i.c)("design:type",Boolean)],e.prototype,"nzBlock",void 0),Object(i.b)([Object(c.a)(),Object(i.c)("design:type",Boolean)],e.prototype,"nzGhost",void 0),Object(i.b)([Object(c.a)(),Object(i.c)("design:type",Boolean)],e.prototype,"nzSearch",void 0),Object(i.b)([Object(c.a)(),Object(i.c)("design:type",Boolean)],e.prototype,"nzLoading",void 0),Object(i.b)([Object(c.a)(),Object(i.c)("design:type",Boolean)],e.prototype,"nzDanger",void 0),Object(i.b)([Object(c.a)(),Object(i.c)("design:type",Boolean)],e.prototype,"disabled",void 0),Object(i.b)([Object(s.c)(),Object(i.c)("design:type",String)],e.prototype,"nzSize",void 0),e})(),S=(()=>{class e{constructor(e,t){this.elementRef=e,this.directionality=t,this.nzSize="default",this.dir="ltr",this.destroy$=new u.a,this.elementRef.nativeElement.classList.add("ant-btn-group")}ngOnInit(){var e;this.dir=this.directionality.value,null===(e=this.directionality.change)||void 0===e||e.pipe(Object(d.a)(this.destroy$)).subscribe(e=>{this.dir=e})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(o.Qb(o.l),o.Qb(r.c,8))},e.\u0275cmp=o.Kb({type:e,selectors:[["nz-button-group"]],hostVars:6,hostBindings:function(e,t){2&e&&o.Ib("ant-btn-group-lg","large"===t.nzSize)("ant-btn-group-sm","small"===t.nzSize)("ant-btn-group-rtl","rtl"===t.dir)},inputs:{nzSize:"nzSize"},exportAs:["nzButtonGroup"],ngContentSelectors:v,decls:1,vars:0,template:function(e,t){1&e&&(o.vc(),o.uc(0))},encapsulation:2,changeDetection:0}),e})(),_=(()=>{class e{}return e.\u0275mod=o.Ob({type:e}),e.\u0275inj=o.Nb({factory:function(t){return new(t||e)},imports:[[r.a,f.c,b.b,l.b,g.b],g.b,b.b]}),e})()},PScX:function(e,t,n){"use strict";n.d(t,"a",function(){return k}),n.d(t,"b",function(){return T}),n.d(t,"c",function(){return z}),n.d(t,"d",function(){return R}),n.d(t,"e",function(){return I});var i=n("+rOU"),r=n("fXoL"),o=n("XNiG"),s=n("pLZG"),a=n("IzEk"),c=n("1G5W"),l=n("rDax"),u=n("JwMs"),d=n("/KA4"),h=n("cH1L"),p=n("ofXK"),f=n("pdGh"),g=n("FwiY"),b=n("GR68"),m=n("2Suw");function y(e,t){if(1&e){const e=r.Xb();r.Wb(0,"nz-message",2),r.lc("destroyed",function(t){return r.Hc(e),r.oc().remove(t.id,t.userAction)}),r.Vb()}2&e&&r.wc("instance",t.$implicit)}function v(e,t){1&e&&r.Rb(0,"i",10)}function C(e,t){1&e&&r.Rb(0,"i",11)}function w(e,t){1&e&&r.Rb(0,"i",12)}function S(e,t){1&e&&r.Rb(0,"i",13)}function _(e,t){1&e&&r.Rb(0,"i",14)}function O(e,t){if(1&e&&(r.Ub(0),r.Rb(1,"span",15),r.Tb()),2&e){const e=r.oc();r.Cb(1),r.wc("innerHTML",e.instance.content,r.Ic)}}let x=0;class z{constructor(e,t,n){this.nzSingletonService=e,this.overlay=t,this.injector=n}remove(e){this.container&&(e?this.container.remove(e):this.container.removeAll())}getInstanceId(){return`${this.componentPrefix}-${x++}`}withContainer(e){let t=this.nzSingletonService.getSingletonWithKey(this.componentPrefix);if(t)return t;const n=this.overlay.create({hasBackdrop:!1,scrollStrategy:this.overlay.scrollStrategies.noop(),positionStrategy:this.overlay.position().global()}),r=new i.c(e,null,this.injector),o=n.attach(r);return n.overlayElement.style.zIndex="1010",t||(this.container=t=o.instance,this.nzSingletonService.registerSingletonWithKey(this.componentPrefix,t)),t}}let T=(()=>{class e{constructor(e,t){this.cdr=e,this.nzConfigService=t,this.instances=[],this.destroy$=new o.a,this.updateConfig()}ngOnInit(){this.subscribeConfigChange()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}create(e){const t=this.onCreate(e);return this.instances.length>=this.config.nzMaxStack&&(this.instances=this.instances.slice(1)),this.instances=[...this.instances,t],this.readyInstances(),t}remove(e,t=!1){this.instances.some((n,i)=>n.messageId===e&&(this.instances.splice(i,1),this.instances=[...this.instances],this.onRemove(n,t),this.readyInstances(),!0))}removeAll(){this.instances.forEach(e=>this.onRemove(e,!1)),this.instances=[],this.readyInstances()}onCreate(e){return e.options=this.mergeOptions(e.options),e.onClose=new o.a,e}onRemove(e,t){e.onClose.next(t),e.onClose.complete()}readyInstances(){this.cdr.detectChanges()}mergeOptions(e){const{nzDuration:t,nzAnimate:n,nzPauseOnHover:i}=this.config;return Object.assign({nzDuration:t,nzAnimate:n,nzPauseOnHover:i},e)}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.h),r.Qb(m.b))},e.\u0275dir=r.Lb({type:e}),e})(),k=(()=>{class e{constructor(e){this.cdr=e,this.destroyed=new r.n,this.animationStateChanged=new o.a,this.userAction=!1,this.eraseTimer=null}ngOnInit(){this.options=this.instance.options,this.options.nzAnimate&&(this.instance.state="enter",this.animationStateChanged.pipe(Object(s.a)(e=>"done"===e.phaseName&&"leave"===e.toState),Object(a.a)(1)).subscribe(()=>{clearTimeout(this.closeTimer),this.destroyed.next({id:this.instance.messageId,userAction:this.userAction})})),this.autoClose=this.options.nzDuration>0,this.autoClose&&(this.initErase(),this.startEraseTimeout())}ngOnDestroy(){this.autoClose&&this.clearEraseTimeout(),this.animationStateChanged.complete()}onEnter(){this.autoClose&&this.options.nzPauseOnHover&&(this.clearEraseTimeout(),this.updateTTL())}onLeave(){this.autoClose&&this.options.nzPauseOnHover&&this.startEraseTimeout()}destroy(e=!1){this.userAction=e,this.options.nzAnimate?(this.instance.state="leave",this.cdr.detectChanges(),this.closeTimer=setTimeout(()=>{this.closeTimer=void 0,this.destroyed.next({id:this.instance.messageId,userAction:e})},200)):this.destroyed.next({id:this.instance.messageId,userAction:e})}initErase(){this.eraseTTL=this.options.nzDuration,this.eraseTimingStart=Date.now()}updateTTL(){this.autoClose&&(this.eraseTTL-=Date.now()-this.eraseTimingStart)}startEraseTimeout(){this.eraseTTL>0?(this.clearEraseTimeout(),this.eraseTimer=setTimeout(()=>this.destroy(),this.eraseTTL),this.eraseTimingStart=Date.now()):this.destroy()}clearEraseTimeout(){null!==this.eraseTimer&&(clearTimeout(this.eraseTimer),this.eraseTimer=null)}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.h))},e.\u0275dir=r.Lb({type:e}),e})();const P="message",E={nzAnimate:!0,nzDuration:3e3,nzMaxStack:7,nzPauseOnHover:!0,nzTop:24,nzDirection:"ltr"};let D=(()=>{class e extends T{constructor(e,t){super(e,t),this.destroy$=new o.a,this.dir="ltr",this.instances=[];const n=this.nzConfigService.getConfigForComponent(P);this.dir=(null==n?void 0:n.nzDirection)||"ltr"}subscribeConfigChange(){this.nzConfigService.getConfigChangeEventForComponent(P).pipe(Object(c.a)(this.destroy$)).subscribe(()=>{this.updateConfig();const e=this.nzConfigService.getConfigForComponent(P);if(e){const{nzDirection:t}=e;this.dir=t||this.dir}})}updateConfig(){this.config=Object.assign(Object.assign(Object.assign({},E),this.config),this.nzConfigService.getConfigForComponent(P)),this.top=Object(d.r)(this.config.nzTop),this.cdr.markForCheck()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.h),r.Qb(m.b))},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-message-container"]],exportAs:["nzMessageContainer"],features:[r.zb],decls:2,vars:5,consts:[[1,"ant-message"],[3,"instance","destroyed",4,"ngFor","ngForOf"],[3,"instance","destroyed"]],template:function(e,t){1&e&&(r.Wb(0,"div",0),r.Qc(1,y,1,1,"nz-message",1),r.Vb()),2&e&&(r.Nc("top",t.top),r.Ib("ant-message-rtl","rtl"===t.dir),r.Cb(1),r.wc("ngForOf",t.instances))},directives:function(){return[p.n,A]},encapsulation:2,changeDetection:0}),e})(),M=(()=>{class e{}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)}}),e})(),I=(()=>{class e extends z{constructor(e,t,n){super(e,t,n),this.componentPrefix="message-"}success(e,t){return this.createInstance({type:"success",content:e},t)}error(e,t){return this.createInstance({type:"error",content:e},t)}info(e,t){return this.createInstance({type:"info",content:e},t)}warning(e,t){return this.createInstance({type:"warning",content:e},t)}loading(e,t){return this.createInstance({type:"loading",content:e},t)}create(e,t,n){return this.createInstance({type:e,content:t},n)}createInstance(e,t){return this.container=this.withContainer(D),this.container.create(Object.assign(Object.assign({},e),{createdAt:new Date,messageId:this.getInstanceId(),options:t}))}}return e.\u0275fac=function(t){return new(t||e)(r.hc(u.f),r.hc(l.d),r.hc(r.s))},e.\u0275prov=Object(r.Mb)({factory:function(){return new e(Object(r.hc)(u.f),Object(r.hc)(l.d),Object(r.hc)(r.o))},token:e,providedIn:M}),e})(),A=(()=>{class e extends k{constructor(e){super(e),this.destroyed=new r.n}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.h))},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-message"]],inputs:{instance:"instance"},outputs:{destroyed:"destroyed"},exportAs:["nzMessage"],features:[r.zb],decls:10,vars:9,consts:[[1,"ant-message-notice",3,"mouseenter","mouseleave"],[1,"ant-message-notice-content"],[1,"ant-message-custom-content",3,"ngClass"],[3,"ngSwitch"],["nz-icon","","nzType","check-circle",4,"ngSwitchCase"],["nz-icon","","nzType","info-circle",4,"ngSwitchCase"],["nz-icon","","nzType","exclamation-circle",4,"ngSwitchCase"],["nz-icon","","nzType","close-circle",4,"ngSwitchCase"],["nz-icon","","nzType","loading",4,"ngSwitchCase"],[4,"nzStringTemplateOutlet"],["nz-icon","","nzType","check-circle"],["nz-icon","","nzType","info-circle"],["nz-icon","","nzType","exclamation-circle"],["nz-icon","","nzType","close-circle"],["nz-icon","","nzType","loading"],[3,"innerHTML"]],template:function(e,t){1&e&&(r.Wb(0,"div",0),r.lc("@moveUpMotion.done",function(e){return t.animationStateChanged.next(e)})("mouseenter",function(){return t.onEnter()})("mouseleave",function(){return t.onLeave()}),r.Wb(1,"div",1),r.Wb(2,"div",2),r.Ub(3,3),r.Qc(4,v,1,0,"i",4),r.Qc(5,C,1,0,"i",5),r.Qc(6,w,1,0,"i",6),r.Qc(7,S,1,0,"i",7),r.Qc(8,_,1,0,"i",8),r.Tb(),r.Qc(9,O,2,1,"ng-container",9),r.Vb(),r.Vb(),r.Vb()),2&e&&(r.wc("@moveUpMotion",t.instance.state),r.Cb(2),r.wc("ngClass","ant-message-"+t.instance.type),r.Cb(1),r.wc("ngSwitch",t.instance.type),r.Cb(1),r.wc("ngSwitchCase","success"),r.Cb(1),r.wc("ngSwitchCase","info"),r.Cb(1),r.wc("ngSwitchCase","warning"),r.Cb(1),r.wc("ngSwitchCase","error"),r.Cb(1),r.wc("ngSwitchCase","loading"),r.Cb(1),r.wc("nzStringTemplateOutlet",t.instance.content))},directives:[p.m,p.q,p.r,f.b,g.a],encapsulation:2,data:{animation:[b.c]},changeDetection:0}),e})(),R=(()=>{class e{}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)},imports:[[h.a,p.c,l.f,g.b,f.a,M]]}),e})()},PTRe:function(e,t,n){"use strict";n.d(t,"a",function(){return B}),n.d(t,"b",function(){return N}),n.d(t,"c",function(){return F}),n.d(t,"d",function(){return H});var i=n("mrSG"),r=n("cH1L"),o=n("fXoL"),s=n("/KA4"),a=n("XNiG"),c=n("VRyK"),l=(n("EY2u"),n("pLZG")),u=n("1G5W"),d=n("JX91"),h=n("eIep"),p=n("5+tZ"),f=n("lJxs"),g=n("nLfN"),b=n("ofXK"),m=n("pdGh"),y=n("FwiY"),v=n("3Pt+"),C=n("u47x"),w=n("JwMs");function S(e,t){if(1&e&&o.Rb(0,"span",7),2&e){const e=o.oc(2);o.wc("icon",e.nzAddOnBeforeIcon)("template",e.nzAddOnBefore)}}function _(e,t){}function O(e,t){if(1&e&&(o.Wb(0,"span",8),o.Qc(1,_,0,0,"ng-template",9),o.Vb()),2&e){const e=o.oc(2),t=o.Ec(4);o.Ib("ant-input-affix-wrapper-sm",e.isSmall)("ant-input-affix-wrapper-lg",e.isLarge),o.Cb(1),o.wc("ngTemplateOutlet",t)}}function x(e,t){if(1&e&&o.Rb(0,"span",7),2&e){const e=o.oc(2);o.wc("icon",e.nzAddOnAfterIcon)("template",e.nzAddOnAfter)}}function z(e,t){if(1&e&&(o.Wb(0,"span",4),o.Qc(1,S,1,2,"span",5),o.Qc(2,O,2,5,"span",6),o.Qc(3,x,1,2,"span",5),o.Vb()),2&e){const e=o.oc(),t=o.Ec(6);o.Cb(1),o.wc("ngIf",e.nzAddOnBefore||e.nzAddOnBeforeIcon),o.Cb(1),o.wc("ngIf",e.isAffix)("ngIfElse",t),o.Cb(1),o.wc("ngIf",e.nzAddOnAfter||e.nzAddOnAfterIcon)}}function T(e,t){}function k(e,t){if(1&e&&o.Qc(0,T,0,0,"ng-template",9),2&e){o.oc(2);const e=o.Ec(4);o.wc("ngTemplateOutlet",e)}}function P(e,t){if(1&e&&o.Qc(0,k,1,1,"ng-template",10),2&e){const e=o.oc(),t=o.Ec(6);o.wc("ngIf",e.isAffix)("ngIfElse",t)}}function E(e,t){if(1&e&&o.Rb(0,"span",13),2&e){const e=o.oc(2);o.wc("icon",e.nzPrefixIcon)("template",e.nzPrefix)}}function D(e,t){}function M(e,t){if(1&e&&o.Rb(0,"span",14),2&e){const e=o.oc(2);o.wc("icon",e.nzSuffixIcon)("template",e.nzSuffix)}}function I(e,t){if(1&e&&(o.Qc(0,E,1,2,"span",11),o.Qc(1,D,0,0,"ng-template",9),o.Qc(2,M,1,2,"span",12)),2&e){const e=o.oc(),t=o.Ec(6);o.wc("ngIf",e.nzPrefix||e.nzPrefixIcon),o.Cb(1),o.wc("ngTemplateOutlet",t),o.Cb(1),o.wc("ngIf",e.nzSuffix||e.nzSuffixIcon)}}function A(e,t){1&e&&o.uc(0)}const R=["*"],j=["nz-input-group-slot",""];function V(e,t){if(1&e&&o.Rb(0,"i",2),2&e){const e=o.oc();o.wc("nzType",e.icon)}}function L(e,t){if(1&e&&(o.Ub(0),o.Sc(1),o.Tb()),2&e){const e=o.oc();o.Cb(1),o.Tc(e.template)}}let N=(()=>{class e{constructor(e,t,n,i){this.ngControl=e,this.directionality=i,this.nzBorderless=!1,this.nzSize="default",this._disabled=!1,this.disabled$=new a.a,this.dir="ltr",this.destroy$=new a.a,t.addClass(n.nativeElement,"ant-input")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=null!=e&&"false"!=`${e}`}ngOnInit(){var e,t;this.ngControl&&(null===(e=this.ngControl.statusChanges)||void 0===e||e.pipe(Object(l.a)(()=>null!==this.ngControl.disabled),Object(u.a)(this.destroy$)).subscribe(()=>{this.disabled$.next(this.ngControl.disabled)})),this.dir=this.directionality.value,null===(t=this.directionality.change)||void 0===t||t.pipe(Object(u.a)(this.destroy$)).subscribe(e=>{this.dir=e})}ngOnChanges(e){const{disabled:t}=e;t&&this.disabled$.next(this.disabled)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(o.Qb(v.n,10),o.Qb(o.G),o.Qb(o.l),o.Qb(r.c,8))},e.\u0275dir=o.Lb({type:e,selectors:[["input","nz-input",""],["textarea","nz-input",""]],hostVars:11,hostBindings:function(e,t){2&e&&(o.Db("disabled",t.disabled||null),o.Ib("ant-input-disabled",t.disabled)("ant-input-borderless",t.nzBorderless)("ant-input-lg","large"===t.nzSize)("ant-input-sm","small"===t.nzSize)("ant-input-rtl","rtl"===t.dir))},inputs:{nzBorderless:"nzBorderless",nzSize:"nzSize",disabled:"disabled"},exportAs:["nzInput"],features:[o.Ab]}),Object(i.b)([Object(s.a)(),Object(i.c)("design:type",Object)],e.prototype,"nzBorderless",void 0),e})(),F=(()=>{class e{constructor(e,t,n,i){this.focusMonitor=e,this.elementRef=t,this.cdr=n,this.directionality=i,this.nzAddOnBeforeIcon=null,this.nzAddOnAfterIcon=null,this.nzPrefixIcon=null,this.nzSuffixIcon=null,this.nzSize="default",this.nzSearch=!1,this.nzCompact=!1,this.isLarge=!1,this.isSmall=!1,this.isAffix=!1,this.isAddOn=!1,this.focused=!1,this.disabled=!1,this.dir="ltr",this.destroy$=new a.a}updateChildrenInputSize(){this.listOfNzInputDirective&&this.listOfNzInputDirective.forEach(e=>e.nzSize=this.nzSize)}ngOnInit(){var e;this.focusMonitor.monitor(this.elementRef,!0).pipe(Object(u.a)(this.destroy$)).subscribe(e=>{this.focused=!!e,this.cdr.markForCheck()}),this.dir=this.directionality.value,null===(e=this.directionality.change)||void 0===e||e.pipe(Object(u.a)(this.destroy$)).subscribe(e=>{this.dir=e})}ngAfterContentInit(){this.updateChildrenInputSize();const e=this.listOfNzInputDirective.changes.pipe(Object(d.a)(this.listOfNzInputDirective));e.pipe(Object(h.a)(t=>Object(c.a)(e,...t.map(e=>e.disabled$))),Object(p.a)(()=>e),Object(f.a)(e=>e.some(e=>e.disabled)),Object(u.a)(this.destroy$)).subscribe(e=>{this.disabled=e,this.cdr.markForCheck()})}ngOnChanges(e){const{nzSize:t,nzSuffix:n,nzPrefix:i,nzPrefixIcon:r,nzSuffixIcon:o,nzAddOnAfter:s,nzAddOnBefore:a,nzAddOnAfterIcon:c,nzAddOnBeforeIcon:l}=e;t&&(this.updateChildrenInputSize(),this.isLarge="large"===this.nzSize,this.isSmall="small"===this.nzSize),(n||i||r||o)&&(this.isAffix=!!(this.nzSuffix||this.nzPrefix||this.nzPrefixIcon||this.nzSuffixIcon)),(s||a||c||l)&&(this.isAddOn=!!(this.nzAddOnAfter||this.nzAddOnBefore||this.nzAddOnAfterIcon||this.nzAddOnBeforeIcon))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(o.Qb(C.b),o.Qb(o.l),o.Qb(o.h),o.Qb(r.c,8))},e.\u0275cmp=o.Kb({type:e,selectors:[["nz-input-group"]],contentQueries:function(e,t,n){if(1&e&&o.Jb(n,N,0),2&e){let e;o.Dc(e=o.mc())&&(t.listOfNzInputDirective=e)}},hostVars:40,hostBindings:function(e,t){2&e&&o.Ib("ant-input-group-compact",t.nzCompact)("ant-input-search-enter-button",t.nzSearch)("ant-input-search",t.nzSearch)("ant-input-search-rtl","rtl"===t.dir)("ant-input-search-sm",t.nzSearch&&t.isSmall)("ant-input-search-large",t.nzSearch&&t.isLarge)("ant-input-group-wrapper",t.isAddOn)("ant-input-group-wrapper-rtl","rtl"===t.dir)("ant-input-group-wrapper-lg",t.isAddOn&&t.isLarge)("ant-input-group-wrapper-sm",t.isAddOn&&t.isSmall)("ant-input-affix-wrapper",t.isAffix&&!t.isAddOn)("ant-input-affix-wrapper-rtl","rtl"===t.dir)("ant-input-affix-wrapper-focused",t.isAffix&&t.focused)("ant-input-affix-wrapper-disabled",t.isAffix&&t.disabled)("ant-input-affix-wrapper-lg",t.isAffix&&!t.isAddOn&&t.isLarge)("ant-input-affix-wrapper-sm",t.isAffix&&!t.isAddOn&&t.isSmall)("ant-input-group",!t.isAffix&&!t.isAddOn)("ant-input-group-rtl","rtl"===t.dir)("ant-input-group-lg",!t.isAffix&&!t.isAddOn&&t.isLarge)("ant-input-group-sm",!t.isAffix&&!t.isAddOn&&t.isSmall)},inputs:{nzAddOnBeforeIcon:"nzAddOnBeforeIcon",nzAddOnAfterIcon:"nzAddOnAfterIcon",nzPrefixIcon:"nzPrefixIcon",nzSuffixIcon:"nzSuffixIcon",nzSize:"nzSize",nzSearch:"nzSearch",nzCompact:"nzCompact",nzAddOnBefore:"nzAddOnBefore",nzAddOnAfter:"nzAddOnAfter",nzPrefix:"nzPrefix",nzSuffix:"nzSuffix"},exportAs:["nzInputGroup"],features:[o.Ab],ngContentSelectors:R,decls:7,vars:2,consts:[["class","ant-input-wrapper ant-input-group",4,"ngIf","ngIfElse"],["noAddOnTemplate",""],["affixTemplate",""],["contentTemplate",""],[1,"ant-input-wrapper","ant-input-group"],["nz-input-group-slot","","type","addon",3,"icon","template",4,"ngIf"],["class","ant-input-affix-wrapper",3,"ant-input-affix-wrapper-sm","ant-input-affix-wrapper-lg",4,"ngIf","ngIfElse"],["nz-input-group-slot","","type","addon",3,"icon","template"],[1,"ant-input-affix-wrapper"],[3,"ngTemplateOutlet"],[3,"ngIf","ngIfElse"],["nz-input-group-slot","","type","prefix",3,"icon","template",4,"ngIf"],["nz-input-group-slot","","type","suffix",3,"icon","template",4,"ngIf"],["nz-input-group-slot","","type","prefix",3,"icon","template"],["nz-input-group-slot","","type","suffix",3,"icon","template"]],template:function(e,t){if(1&e&&(o.vc(),o.Qc(0,z,4,4,"span",0),o.Qc(1,P,1,2,"ng-template",null,1,o.Rc),o.Qc(3,I,3,3,"ng-template",null,2,o.Rc),o.Qc(5,A,1,0,"ng-template",null,3,o.Rc)),2&e){const e=o.Ec(2);o.wc("ngIf",t.isAddOn)("ngIfElse",e)}},directives:function(){return[b.o,W,b.t]},encapsulation:2,changeDetection:0}),Object(i.b)([Object(s.a)(),Object(i.c)("design:type",Object)],e.prototype,"nzSearch",void 0),Object(i.b)([Object(s.a)(),Object(i.c)("design:type",Object)],e.prototype,"nzCompact",void 0),e})(),B=(()=>{class e{constructor(e,t,n,i){this.elementRef=e,this.ngZone=t,this.platform=n,this.resizeService=i,this.autosize=!1,this.el=this.elementRef.nativeElement,this.maxHeight=null,this.minHeight=null,this.destroy$=new a.a,this.inputGap=10}set nzAutosize(e){var t;"string"==typeof e||!0===e?this.autosize=!0:"string"!=typeof(t=e)&&"boolean"!=typeof t&&(t.maxRows||t.minRows)&&(this.autosize=!0,this.minRows=e.minRows,this.maxRows=e.maxRows,this.maxHeight=this.setMaxHeight(),this.minHeight=this.setMinHeight())}resizeToFitContent(e=!1){if(this.cacheTextareaLineHeight(),!this.cachedLineHeight)return;const t=this.el,n=t.value;if(!e&&this.minRows===this.previousMinRows&&n===this.previousValue)return;const i=t.placeholder;t.classList.add("nz-textarea-autosize-measuring"),t.placeholder="";let r=Math.round((t.scrollHeight-this.inputGap)/this.cachedLineHeight)*this.cachedLineHeight+this.inputGap;null!==this.maxHeight&&r>this.maxHeight&&(r=this.maxHeight),null!==this.minHeight&&rrequestAnimationFrame(()=>{const{selectionStart:e,selectionEnd:n}=t;this.destroy$.isStopped||document.activeElement!==t||t.setSelectionRange(e,n)})),this.previousValue=n,this.previousMinRows=this.minRows}cacheTextareaLineHeight(){if(this.cachedLineHeight>=0||!this.el.parentNode)return;const e=this.el.cloneNode(!1);e.rows=1,e.style.position="absolute",e.style.visibility="hidden",e.style.border="none",e.style.padding="0",e.style.height="",e.style.minHeight="",e.style.maxHeight="",e.style.overflow="hidden",this.el.parentNode.appendChild(e),this.cachedLineHeight=e.clientHeight-this.inputGap,this.el.parentNode.removeChild(e),this.maxHeight=this.setMaxHeight(),this.minHeight=this.setMinHeight()}setMinHeight(){const e=this.minRows&&this.cachedLineHeight?this.minRows*this.cachedLineHeight+this.inputGap:null;return null!==e&&(this.el.style.minHeight=`${e}px`),e}setMaxHeight(){const e=this.maxRows&&this.cachedLineHeight?this.maxRows*this.cachedLineHeight+this.inputGap:null;return null!==e&&(this.el.style.maxHeight=`${e}px`),e}noopInputHandler(){}ngAfterViewInit(){this.autosize&&this.platform.isBrowser&&(this.resizeToFitContent(),this.resizeService.subscribe().pipe(Object(u.a)(this.destroy$)).subscribe(()=>this.resizeToFitContent(!0)))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}ngDoCheck(){this.autosize&&this.platform.isBrowser&&this.resizeToFitContent()}}return e.\u0275fac=function(t){return new(t||e)(o.Qb(o.l),o.Qb(o.B),o.Qb(g.a),o.Qb(w.d))},e.\u0275dir=o.Lb({type:e,selectors:[["textarea","nzAutosize",""]],hostAttrs:["rows","1"],hostBindings:function(e,t){1&e&&o.lc("input",function(){return t.noopInputHandler()})},inputs:{nzAutosize:"nzAutosize"},exportAs:["nzAutosize"]}),e})(),W=(()=>{class e{constructor(){this.icon=null,this.type=null,this.template=null}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=o.Kb({type:e,selectors:[["","nz-input-group-slot",""]],hostVars:6,hostBindings:function(e,t){2&e&&o.Ib("ant-input-group-addon","addon"===t.type)("ant-input-prefix","prefix"===t.type)("ant-input-suffix","suffix"===t.type)},inputs:{icon:"icon",type:"type",template:"template"},attrs:j,decls:2,vars:2,consts:[["nz-icon","",3,"nzType",4,"ngIf"],[4,"nzStringTemplateOutlet"],["nz-icon","",3,"nzType"]],template:function(e,t){1&e&&(o.Qc(0,V,1,1,"i",0),o.Qc(1,L,2,1,"ng-container",1)),2&e&&(o.wc("ngIf",t.icon),o.Cb(1),o.wc("nzStringTemplateOutlet",t.template))},directives:[b.o,m.b,y.a],encapsulation:2,changeDetection:0}),e})(),H=(()=>{class e{}return e.\u0275mod=o.Ob({type:e}),e.\u0275inj=o.Nb({factory:function(t){return new(t||e)},imports:[[r.a,b.c,y.b,g.b,m.a]]}),e})()},PVpz:function(e,t,n){var i;e.exports=(i=n("Ib8C"),n("ETIr"),n("cv67"),n("K3mO"),n("OLod"),function(){var e=i,t=e.lib.StreamCipher,n=[],r=[],o=[],s=e.algo.RabbitLegacy=t.extend({_doReset:function(){var e=this._key.words,t=this.cfg.iv,n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],i=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(var r=0;r<4;r++)a.call(this);for(r=0;r<8;r++)i[r]^=n[r+4&7];if(t){var o=t.words,s=o[0],c=o[1],l=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),u=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8),d=l>>>16|4294901760&u,h=u<<16|65535&l;for(i[0]^=l,i[1]^=d,i[2]^=u,i[3]^=h,i[4]^=l,i[5]^=d,i[6]^=u,i[7]^=h,r=0;r<4;r++)a.call(this)}},_doProcessBlock:function(e,t){var i=this._X;a.call(this),n[0]=i[0]^i[5]>>>16^i[3]<<16,n[1]=i[2]^i[7]>>>16^i[5]<<16,n[2]=i[4]^i[1]>>>16^i[7]<<16,n[3]=i[6]^i[3]>>>16^i[1]<<16;for(var r=0;r<4;r++)n[r]=16711935&(n[r]<<8|n[r]>>>24)|4278255360&(n[r]<<24|n[r]>>>8),e[t+r]^=n[r]},blockSize:4,ivSize:2});function a(){for(var e=this._X,t=this._C,n=0;n<8;n++)r[n]=t[n];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0,n=0;n<8;n++){var i=e[n]+t[n],s=65535&i,a=i>>>16;o[n]=((s*s>>>17)+s*a>>>15)+a*a^((4294901760&i)*i|0)+((65535&i)*i|0)}e[0]=o[0]+(o[7]<<16|o[7]>>>16)+(o[6]<<16|o[6]>>>16)|0,e[1]=o[1]+(o[0]<<8|o[0]>>>24)+o[7]|0,e[2]=o[2]+(o[1]<<16|o[1]>>>16)+(o[0]<<16|o[0]>>>16)|0,e[3]=o[3]+(o[2]<<8|o[2]>>>24)+o[1]|0,e[4]=o[4]+(o[3]<<16|o[3]>>>16)+(o[2]<<16|o[2]>>>16)|0,e[5]=o[5]+(o[4]<<8|o[4]>>>24)+o[3]|0,e[6]=o[6]+(o[5]<<16|o[5]>>>16)+(o[4]<<16|o[4]>>>16)|0,e[7]=o[7]+(o[6]<<8|o[6]>>>24)+o[5]|0}e.RabbitLegacy=t._createHelper(s)}(),i.RabbitLegacy)},Paii:function(e,t,n){var i,r,o;!function(s){if("object"==typeof e.exports){var a=s(0,t);void 0!==a&&(e.exports=a)}else r=[n,t],void 0===(o="function"==typeof(i=s)?i.apply(t,r):i)||(e.exports=o)}(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=void 0;t.default=["ja",[["\u5348\u524d","\u5348\u5f8c"],n,n],n,[["\u65e5","\u6708","\u706b","\u6c34","\u6728","\u91d1","\u571f"],n,["\u65e5\u66dc\u65e5","\u6708\u66dc\u65e5","\u706b\u66dc\u65e5","\u6c34\u66dc\u65e5","\u6728\u66dc\u65e5","\u91d1\u66dc\u65e5","\u571f\u66dc\u65e5"],["\u65e5","\u6708","\u706b","\u6c34","\u6728","\u91d1","\u571f"]],n,[["1","2","3","4","5","6","7","8","9","10","11","12"],["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],n],n,[["BC","AD"],["\u7d00\u5143\u524d","\u897f\u66a6"],n],0,[6,0],["y/MM/dd",n,"y\u5e74M\u6708d\u65e5","y\u5e74M\u6708d\u65e5EEEE"],["H:mm","H:mm:ss","H:mm:ss z","H\u6642mm\u5206ss\u79d2 zzzz"],["{1} {0}",n,n,n],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"JPY","\uffe5","\u65e5\u672c\u5186",{CNY:["\u5143","\uffe5"],JPY:["\uffe5"],RON:[n,"\u30ec\u30a4"],XXX:[]},"ltr",function(e){return 5}]})},PqYM:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("HDdC"),r=n("D0XW"),o=n("Y7HM"),s=n("z+Ro");function a(e=0,t,n){let a=-1;return Object(o.a)(t)?a=Number(t)<1?1:Number(t):Object(s.a)(t)&&(n=t),Object(s.a)(n)||(n=r.a),new i.a(t=>{const i=Object(o.a)(e)?e:+e-n.now();return n.schedule(c,i,{index:0,period:a,subscriber:t})})}function c(e){const{index:t,period:n,subscriber:i}=e;if(i.next(t),!i.closed){if(-1===n)return i.complete();e.index=t+1,this.schedule(e,n)}}},Q8cG:function(e,t,n){"use strict";n.d(t,"a",function(){return K}),n.d(t,"b",function(){return X}),n.d(t,"c",function(){return oe}),n.d(t,"d",function(){return Z}),n.d(t,"e",function(){return le}),n.d(t,"f",function(){return ne});var i=n("mrSG"),r=n("cH1L"),o=n("fXoL"),s=n("/KA4"),a=n("XNiG"),c=n("2Vo4"),l=n("VRyK"),u=n("itXk"),d=n("lJxs"),h=n("5+tZ"),p=n("pLZG"),f=n("CqXF"),g=n("3UWI"),b=n("/uUt"),m=n("1G5W"),y=n("JX91"),v=n("eIep"),C=n("tyNb"),w=n("rDax"),S=n("nLfN"),_=n("YF2q"),O=n("JgHy"),x=n("GR68"),z=n("ofXK"),T=n("pdGh"),k=n("FwiY");const P=["nz-submenu",""];function E(e,t){1&e&&o.uc(0,0,["*ngIf","!nzTitle"])}function D(e,t){if(1&e&&o.Rb(0,"div",6),2&e){const e=o.oc(),t=o.Ec(7);o.wc("mode",e.mode)("nzOpen",e.nzOpen)("@.disabled",null==e.noAnimation?null:e.noAnimation.nzNoAnimation)("nzNoAnimation",null==e.noAnimation?null:e.noAnimation.nzNoAnimation)("menuClass",e.nzMenuClassName)("templateOutlet",t)}}function M(e,t){if(1&e){const e=o.Xb();o.Wb(0,"div",8),o.lc("subMenuMouseState",function(t){return o.Hc(e),o.oc(2).setMouseEnterState(t)}),o.Vb()}if(2&e){const e=o.oc(2),t=o.Ec(7);o.wc("theme",e.theme)("mode",e.mode)("nzOpen",e.nzOpen)("position",e.position)("nzDisabled",e.nzDisabled)("isMenuInsideDropDown",e.isMenuInsideDropDown)("templateOutlet",t)("menuClass",e.nzMenuClassName)("@.disabled",null==e.noAnimation?null:e.noAnimation.nzNoAnimation)("nzNoAnimation",null==e.noAnimation?null:e.noAnimation.nzNoAnimation)}}function I(e,t){if(1&e){const e=o.Xb();o.Qc(0,M,1,10,"ng-template",7),o.lc("positionChange",function(t){return o.Hc(e),o.oc().onPositionChange(t)})}if(2&e){const e=o.oc(),t=o.Ec(1);o.wc("cdkConnectedOverlayPositions",e.overlayPositions)("cdkConnectedOverlayOrigin",t)("cdkConnectedOverlayWidth",e.triggerWidth)("cdkConnectedOverlayOpen",e.nzOpen)("cdkConnectedOverlayTransformOriginOn",".ant-menu-submenu")}}function A(e,t){1&e&&o.uc(0,1)}const R=[[["","title",""]],"*"],j=["[title]","*"],V=["nz-submenu-title",""];function L(e,t){if(1&e&&o.Rb(0,"i",4),2&e){const e=o.oc();o.wc("nzType",e.nzIcon)}}function N(e,t){if(1&e&&(o.Ub(0),o.Wb(1,"span"),o.Sc(2),o.Vb(),o.Tb()),2&e){const e=o.oc();o.Cb(2),o.Tc(e.nzTitle)}}function F(e,t){1&e&&o.Rb(0,"i",8)}function B(e,t){1&e&&o.Rb(0,"i",9)}function W(e,t){if(1&e&&(o.Wb(0,"span",5),o.Qc(1,F,1,0,"i",6),o.Qc(2,B,1,0,"i",7),o.Vb()),2&e){const e=o.oc();o.wc("ngSwitch",e.dir),o.Cb(1),o.wc("ngSwitchCase","rtl")}}function H(e,t){1&e&&o.Rb(0,"i",10)}const U=["*"],$=["nz-submenu-inline-child",""];function Q(e,t){}const G=["nz-submenu-none-inline-child",""];function Y(e,t){}let K=(()=>{class e{constructor(){this.descendantMenuItemClick$=new a.a,this.childMenuItemClick$=new a.a,this.theme$=new c.a("light"),this.mode$=new c.a("vertical"),this.inlineIndent$=new c.a(24),this.isChildSubMenuOpen$=new c.a(!1)}onDescendantMenuItemClick(e){this.descendantMenuItemClick$.next(e)}onChildMenuItemClick(e){this.childMenuItemClick$.next(e)}setMode(e){this.mode$.next(e)}setTheme(e){this.theme$.next(e)}setInlineIndent(e){this.inlineIndent$.next(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=o.Mb({token:e,factory:e.\u0275fac}),e})();const X=new o.r("NzIsInDropDownMenuToken"),q=new o.r("NzMenuServiceLocalToken");let J=(()=>{class e{constructor(e,t,n){this.nzHostSubmenuService=e,this.nzMenuService=t,this.isMenuInsideDropDown=n,this.mode$=this.nzMenuService.mode$.pipe(Object(d.a)(e=>"inline"===e?"inline":"vertical"===e||this.nzHostSubmenuService?"vertical":"horizontal")),this.level=1,this.isCurrentSubMenuOpen$=new c.a(!1),this.isChildSubMenuOpen$=new c.a(!1),this.isMouseEnterTitleOrOverlay$=new a.a,this.childMenuItemClick$=new a.a,this.destroy$=new a.a,this.nzHostSubmenuService&&(this.level=this.nzHostSubmenuService.level+1);const i=this.childMenuItemClick$.pipe(Object(h.a)(()=>this.mode$),Object(p.a)(e=>"inline"!==e||this.isMenuInsideDropDown),Object(f.a)(!1)),r=Object(l.a)(this.isMouseEnterTitleOrOverlay$,i);Object(u.a)([this.isChildSubMenuOpen$,r]).pipe(Object(d.a)(([e,t])=>e||t),Object(g.a)(150),Object(b.a)(),Object(m.a)(this.destroy$)).pipe(Object(b.a)()).subscribe(e=>{this.setOpenStateWithoutDebounce(e),this.nzHostSubmenuService?this.nzHostSubmenuService.isChildSubMenuOpen$.next(e):this.nzMenuService.isChildSubMenuOpen$.next(e)})}onChildMenuItemClick(e){this.childMenuItemClick$.next(e)}setOpenStateWithoutDebounce(e){this.isCurrentSubMenuOpen$.next(e)}setMouseEnterTitleOrOverlayState(e){this.isMouseEnterTitleOrOverlay$.next(e)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(o.hc(e,12),o.hc(K),o.hc(X))},e.\u0275prov=o.Mb({token:e,factory:e.\u0275fac}),e})(),Z=(()=>{class e{constructor(e,t,n,i,r,o,s,c){this.nzMenuService=e,this.cdr=t,this.nzSubmenuService=n,this.isMenuInsideDropDown=i,this.directionality=r,this.routerLink=o,this.routerLinkWithHref=s,this.router=c,this.destroy$=new a.a,this.level=this.nzSubmenuService?this.nzSubmenuService.level+1:1,this.selected$=new a.a,this.inlinePaddingLeft=null,this.dir="ltr",this.nzDisabled=!1,this.nzSelected=!1,this.nzDanger=!1,this.nzMatchRouterExact=!1,this.nzMatchRouter=!1,c&&this.router.events.pipe(Object(m.a)(this.destroy$),Object(p.a)(e=>e instanceof C.c)).subscribe(()=>{this.updateRouterActive()})}clickMenuItem(e){this.nzDisabled?(e.preventDefault(),e.stopPropagation()):(this.nzMenuService.onDescendantMenuItemClick(this),this.nzSubmenuService?this.nzSubmenuService.onChildMenuItemClick(this):this.nzMenuService.onChildMenuItemClick(this))}setSelectedState(e){this.nzSelected=e,this.selected$.next(e)}updateRouterActive(){this.listOfRouterLink&&this.listOfRouterLinkWithHref&&this.router&&this.router.navigated&&this.nzMatchRouter&&Promise.resolve().then(()=>{const e=this.hasActiveLinks();this.nzSelected!==e&&(this.nzSelected=e,this.setSelectedState(this.nzSelected),this.cdr.markForCheck())})}hasActiveLinks(){const e=this.isLinkActive(this.router);return this.routerLink&&e(this.routerLink)||this.routerLinkWithHref&&e(this.routerLinkWithHref)||this.listOfRouterLink.some(e)||this.listOfRouterLinkWithHref.some(e)}isLinkActive(e){return t=>e.isActive(t.urlTree,this.nzMatchRouterExact)}ngOnInit(){var e;Object(u.a)([this.nzMenuService.mode$,this.nzMenuService.inlineIndent$]).pipe(Object(m.a)(this.destroy$)).subscribe(([e,t])=>{this.inlinePaddingLeft="inline"===e?this.level*t:null}),this.dir=this.directionality.value,null===(e=this.directionality.change)||void 0===e||e.pipe(Object(m.a)(this.destroy$)).subscribe(e=>{this.dir=e})}ngAfterContentInit(){this.listOfRouterLink.changes.pipe(Object(m.a)(this.destroy$)).subscribe(()=>this.updateRouterActive()),this.listOfRouterLinkWithHref.changes.pipe(Object(m.a)(this.destroy$)).subscribe(()=>this.updateRouterActive()),this.updateRouterActive()}ngOnChanges(e){e.nzSelected&&this.setSelectedState(this.nzSelected)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(o.Qb(K),o.Qb(o.h),o.Qb(J,8),o.Qb(X),o.Qb(r.c,8),o.Qb(C.h,8),o.Qb(C.j,8),o.Qb(C.g,8))},e.\u0275dir=o.Lb({type:e,selectors:[["","nz-menu-item",""]],contentQueries:function(e,t,n){if(1&e&&(o.Jb(n,C.h,1),o.Jb(n,C.j,1)),2&e){let e;o.Dc(e=o.mc())&&(t.listOfRouterLink=e),o.Dc(e=o.mc())&&(t.listOfRouterLinkWithHref=e)}},hostVars:20,hostBindings:function(e,t){1&e&&o.lc("click",function(e){return t.clickMenuItem(e)}),2&e&&(o.Nc("padding-left","rtl"===t.dir?null:t.nzPaddingLeft||t.inlinePaddingLeft,"px")("padding-right","rtl"===t.dir?t.nzPaddingLeft||t.inlinePaddingLeft:null,"px"),o.Ib("ant-dropdown-menu-item",t.isMenuInsideDropDown)("ant-dropdown-menu-item-selected",t.isMenuInsideDropDown&&t.nzSelected)("ant-dropdown-menu-item-danger",t.isMenuInsideDropDown&&t.nzDanger)("ant-dropdown-menu-item-disabled",t.isMenuInsideDropDown&&t.nzDisabled)("ant-menu-item",!t.isMenuInsideDropDown)("ant-menu-item-selected",!t.isMenuInsideDropDown&&t.nzSelected)("ant-menu-item-danger",!t.isMenuInsideDropDown&&t.nzDanger)("ant-menu-item-disabled",!t.isMenuInsideDropDown&&t.nzDisabled))},inputs:{nzDisabled:"nzDisabled",nzSelected:"nzSelected",nzDanger:"nzDanger",nzMatchRouterExact:"nzMatchRouterExact",nzMatchRouter:"nzMatchRouter",nzPaddingLeft:"nzPaddingLeft"},exportAs:["nzMenuItem"],features:[o.Ab]}),Object(i.b)([Object(s.a)(),Object(i.c)("design:type",Object)],e.prototype,"nzDisabled",void 0),Object(i.b)([Object(s.a)(),Object(i.c)("design:type",Object)],e.prototype,"nzSelected",void 0),Object(i.b)([Object(s.a)(),Object(i.c)("design:type",Object)],e.prototype,"nzDanger",void 0),Object(i.b)([Object(s.a)(),Object(i.c)("design:type",Object)],e.prototype,"nzMatchRouterExact",void 0),Object(i.b)([Object(s.a)(),Object(i.c)("design:type",Object)],e.prototype,"nzMatchRouter",void 0),e})();const ee=[O.d.rightTop,O.d.right,O.d.rightBottom,O.d.leftTop,O.d.left,O.d.leftBottom],te=[O.d.bottomLeft];let ne=(()=>{class e{constructor(e,t,n,i,r,s,c){this.nzMenuService=e,this.cdr=t,this.nzSubmenuService=n,this.platform=i,this.isMenuInsideDropDown=r,this.directionality=s,this.noAnimation=c,this.nzMenuClassName="",this.nzPaddingLeft=null,this.nzTitle=null,this.nzIcon=null,this.nzOpen=!1,this.nzDisabled=!1,this.nzOpenChange=new o.n,this.cdkOverlayOrigin=null,this.listOfNzSubMenuComponent=null,this.listOfNzMenuItemDirective=null,this.level=this.nzSubmenuService.level,this.destroy$=new a.a,this.position="right",this.triggerWidth=null,this.theme="light",this.mode="vertical",this.inlinePaddingLeft=null,this.overlayPositions=ee,this.isSelected=!1,this.isActive=!1,this.dir="ltr"}setOpenStateWithoutDebounce(e){this.nzSubmenuService.setOpenStateWithoutDebounce(e)}toggleSubMenu(){this.setOpenStateWithoutDebounce(!this.nzOpen)}setMouseEnterState(e){this.isActive=e,"inline"!==this.mode&&this.nzSubmenuService.setMouseEnterTitleOrOverlayState(e)}setTriggerWidth(){"horizontal"===this.mode&&this.platform.isBrowser&&this.cdkOverlayOrigin&&(this.triggerWidth=this.cdkOverlayOrigin.nativeElement.getBoundingClientRect().width)}onPositionChange(e){const t=Object(O.e)(e);"rightTop"===t||"rightBottom"===t||"right"===t?this.position="right":"leftTop"!==t&&"leftBottom"!==t&&"left"!==t||(this.position="left"),this.cdr.markForCheck()}ngOnInit(){var e;this.nzMenuService.theme$.pipe(Object(m.a)(this.destroy$)).subscribe(e=>{this.theme=e,this.cdr.markForCheck()}),this.nzSubmenuService.mode$.pipe(Object(m.a)(this.destroy$)).subscribe(e=>{this.mode=e,"horizontal"===e?this.overlayPositions=te:"vertical"===e&&(this.overlayPositions=ee),this.cdr.markForCheck()}),Object(u.a)([this.nzSubmenuService.mode$,this.nzMenuService.inlineIndent$]).pipe(Object(m.a)(this.destroy$)).subscribe(([e,t])=>{this.inlinePaddingLeft="inline"===e?this.level*t:null,this.cdr.markForCheck()}),this.nzSubmenuService.isCurrentSubMenuOpen$.pipe(Object(m.a)(this.destroy$)).subscribe(e=>{this.isActive=e,e!==this.nzOpen&&(this.setTriggerWidth(),this.nzOpen=e,this.nzOpenChange.emit(this.nzOpen),this.cdr.markForCheck())}),this.dir=this.directionality.value,null===(e=this.directionality.change)||void 0===e||e.pipe(Object(m.a)(this.destroy$)).subscribe(e=>{this.dir=e,this.cdr.markForCheck()})}ngAfterContentInit(){this.setTriggerWidth();const e=this.listOfNzMenuItemDirective,t=e.changes,n=Object(l.a)(t,...e.map(e=>e.selected$));t.pipe(Object(y.a)(e),Object(v.a)(()=>n),Object(y.a)(!0),Object(d.a)(()=>e.some(e=>e.nzSelected)),Object(m.a)(this.destroy$)).subscribe(e=>{this.isSelected=e,this.cdr.markForCheck()})}ngOnChanges(e){const{nzOpen:t}=e;t&&(this.nzSubmenuService.setOpenStateWithoutDebounce(this.nzOpen),this.setTriggerWidth())}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(o.Qb(K),o.Qb(o.h),o.Qb(J),o.Qb(S.a),o.Qb(X),o.Qb(r.c,8),o.Qb(_.a,9))},e.\u0275cmp=o.Kb({type:e,selectors:[["","nz-submenu",""]],contentQueries:function(t,n,i){if(1&t&&(o.Jb(i,e,1),o.Jb(i,Z,1)),2&t){let e;o.Dc(e=o.mc())&&(n.listOfNzSubMenuComponent=e),o.Dc(e=o.mc())&&(n.listOfNzMenuItemDirective=e)}},viewQuery:function(e,t){if(1&e&&o.Xc(w.b,3,o.l),2&e){let e;o.Dc(e=o.mc())&&(t.cdkOverlayOrigin=e.first)}},hostVars:34,hostBindings:function(e,t){2&e&&o.Ib("ant-dropdown-menu-submenu",t.isMenuInsideDropDown)("ant-dropdown-menu-submenu-disabled",t.isMenuInsideDropDown&&t.nzDisabled)("ant-dropdown-menu-submenu-open",t.isMenuInsideDropDown&&t.nzOpen)("ant-dropdown-menu-submenu-selected",t.isMenuInsideDropDown&&t.isSelected)("ant-dropdown-menu-submenu-vertical",t.isMenuInsideDropDown&&"vertical"===t.mode)("ant-dropdown-menu-submenu-horizontal",t.isMenuInsideDropDown&&"horizontal"===t.mode)("ant-dropdown-menu-submenu-inline",t.isMenuInsideDropDown&&"inline"===t.mode)("ant-dropdown-menu-submenu-active",t.isMenuInsideDropDown&&t.isActive)("ant-menu-submenu",!t.isMenuInsideDropDown)("ant-menu-submenu-disabled",!t.isMenuInsideDropDown&&t.nzDisabled)("ant-menu-submenu-open",!t.isMenuInsideDropDown&&t.nzOpen)("ant-menu-submenu-selected",!t.isMenuInsideDropDown&&t.isSelected)("ant-menu-submenu-vertical",!t.isMenuInsideDropDown&&"vertical"===t.mode)("ant-menu-submenu-horizontal",!t.isMenuInsideDropDown&&"horizontal"===t.mode)("ant-menu-submenu-inline",!t.isMenuInsideDropDown&&"inline"===t.mode)("ant-menu-submenu-active",!t.isMenuInsideDropDown&&t.isActive)("ant-menu-submenu-rtl","rtl"===t.dir)},inputs:{nzMenuClassName:"nzMenuClassName",nzPaddingLeft:"nzPaddingLeft",nzTitle:"nzTitle",nzIcon:"nzIcon",nzOpen:"nzOpen",nzDisabled:"nzDisabled"},outputs:{nzOpenChange:"nzOpenChange"},exportAs:["nzSubmenu"],features:[o.Bb([J]),o.Ab],attrs:P,ngContentSelectors:j,decls:8,vars:9,consts:[["nz-submenu-title","","cdkOverlayOrigin","",3,"nzIcon","nzTitle","mode","nzDisabled","isMenuInsideDropDown","paddingLeft","subMenuMouseState","toggleSubMenu"],["origin","cdkOverlayOrigin"],[4,"ngIf"],["nz-submenu-inline-child","",3,"mode","nzOpen","nzNoAnimation","menuClass","templateOutlet",4,"ngIf","ngIfElse"],["nonInlineTemplate",""],["subMenuTemplate",""],["nz-submenu-inline-child","",3,"mode","nzOpen","nzNoAnimation","menuClass","templateOutlet"],["cdkConnectedOverlay","",3,"cdkConnectedOverlayPositions","cdkConnectedOverlayOrigin","cdkConnectedOverlayWidth","cdkConnectedOverlayOpen","cdkConnectedOverlayTransformOriginOn","positionChange"],["nz-submenu-none-inline-child","",3,"theme","mode","nzOpen","position","nzDisabled","isMenuInsideDropDown","templateOutlet","menuClass","nzNoAnimation","subMenuMouseState"]],template:function(e,t){if(1&e&&(o.vc(R),o.Wb(0,"div",0,1),o.lc("subMenuMouseState",function(e){return t.setMouseEnterState(e)})("toggleSubMenu",function(){return t.toggleSubMenu()}),o.Qc(2,E,1,0,"ng-content",2),o.Vb(),o.Qc(3,D,1,6,"div",3),o.Qc(4,I,1,5,"ng-template",null,4,o.Rc),o.Qc(6,A,1,0,"ng-template",null,5,o.Rc)),2&e){const e=o.Ec(5);o.wc("nzIcon",t.nzIcon)("nzTitle",t.nzTitle)("mode",t.mode)("nzDisabled",t.nzDisabled)("isMenuInsideDropDown",t.isMenuInsideDropDown)("paddingLeft",t.nzPaddingLeft||t.inlinePaddingLeft),o.Cb(2),o.wc("ngIf",!t.nzTitle),o.Cb(1),o.wc("ngIf","inline"===t.mode)("ngIfElse",e)}},directives:function(){return[se,w.b,z.o,ae,_.a,w.a,ce]},encapsulation:2,changeDetection:0}),Object(i.b)([Object(s.a)(),Object(i.c)("design:type",Object)],e.prototype,"nzOpen",void 0),Object(i.b)([Object(s.a)(),Object(i.c)("design:type",Object)],e.prototype,"nzDisabled",void 0),e})();function ie(e,t){return e||t}function re(e){return e||!1}let oe=(()=>{class e{constructor(e,t,n,i){this.nzMenuService=e,this.isMenuInsideDropDown=t,this.cdr=n,this.directionality=i,this.nzInlineIndent=24,this.nzTheme="light",this.nzMode="vertical",this.nzInlineCollapsed=!1,this.nzSelectable=!this.isMenuInsideDropDown,this.nzClick=new o.n,this.actualMode="vertical",this.dir="ltr",this.inlineCollapsed$=new c.a(this.nzInlineCollapsed),this.mode$=new c.a(this.nzMode),this.destroy$=new a.a,this.listOfOpenedNzSubMenuComponent=[]}setInlineCollapsed(e){this.nzInlineCollapsed=e,this.inlineCollapsed$.next(e)}updateInlineCollapse(){this.listOfNzMenuItemDirective&&(this.nzInlineCollapsed?(this.listOfOpenedNzSubMenuComponent=this.listOfNzSubMenuComponent.filter(e=>e.nzOpen),this.listOfNzSubMenuComponent.forEach(e=>e.setOpenStateWithoutDebounce(!1))):(this.listOfOpenedNzSubMenuComponent.forEach(e=>e.setOpenStateWithoutDebounce(!0)),this.listOfOpenedNzSubMenuComponent=[]))}ngOnInit(){var e;Object(u.a)([this.inlineCollapsed$,this.mode$]).pipe(Object(m.a)(this.destroy$)).subscribe(([e,t])=>{this.actualMode=e?"vertical":t,this.nzMenuService.setMode(this.actualMode),this.cdr.markForCheck()}),this.nzMenuService.descendantMenuItemClick$.pipe(Object(m.a)(this.destroy$)).subscribe(e=>{this.nzClick.emit(e),this.nzSelectable&&!e.nzMatchRouter&&this.listOfNzMenuItemDirective.forEach(t=>t.setSelectedState(t===e))}),this.dir=this.directionality.value,null===(e=this.directionality.change)||void 0===e||e.pipe(Object(m.a)(this.destroy$)).subscribe(e=>{this.dir=e,this.nzMenuService.setMode(this.actualMode),this.cdr.markForCheck()})}ngAfterContentInit(){this.inlineCollapsed$.pipe(Object(m.a)(this.destroy$)).subscribe(()=>{this.updateInlineCollapse(),this.cdr.markForCheck()})}ngOnChanges(e){const{nzInlineCollapsed:t,nzInlineIndent:n,nzTheme:i,nzMode:r}=e;t&&this.inlineCollapsed$.next(this.nzInlineCollapsed),n&&this.nzMenuService.setInlineIndent(this.nzInlineIndent),i&&this.nzMenuService.setTheme(this.nzTheme),r&&(this.mode$.next(this.nzMode),!e.nzMode.isFirstChange()&&this.listOfNzSubMenuComponent&&this.listOfNzSubMenuComponent.forEach(e=>e.setOpenStateWithoutDebounce(!1)))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(o.Qb(K),o.Qb(X),o.Qb(o.h),o.Qb(r.c,8))},e.\u0275dir=o.Lb({type:e,selectors:[["","nz-menu",""]],contentQueries:function(e,t,n){if(1&e&&(o.Jb(n,Z,1),o.Jb(n,ne,1)),2&e){let e;o.Dc(e=o.mc())&&(t.listOfNzMenuItemDirective=e),o.Dc(e=o.mc())&&(t.listOfNzSubMenuComponent=e)}},hostVars:34,hostBindings:function(e,t){2&e&&o.Ib("ant-dropdown-menu",t.isMenuInsideDropDown)("ant-dropdown-menu-root",t.isMenuInsideDropDown)("ant-dropdown-menu-light",t.isMenuInsideDropDown&&"light"===t.nzTheme)("ant-dropdown-menu-dark",t.isMenuInsideDropDown&&"dark"===t.nzTheme)("ant-dropdown-menu-vertical",t.isMenuInsideDropDown&&"vertical"===t.actualMode)("ant-dropdown-menu-horizontal",t.isMenuInsideDropDown&&"horizontal"===t.actualMode)("ant-dropdown-menu-inline",t.isMenuInsideDropDown&&"inline"===t.actualMode)("ant-dropdown-menu-inline-collapsed",t.isMenuInsideDropDown&&t.nzInlineCollapsed)("ant-menu",!t.isMenuInsideDropDown)("ant-menu-root",!t.isMenuInsideDropDown)("ant-menu-light",!t.isMenuInsideDropDown&&"light"===t.nzTheme)("ant-menu-dark",!t.isMenuInsideDropDown&&"dark"===t.nzTheme)("ant-menu-vertical",!t.isMenuInsideDropDown&&"vertical"===t.actualMode)("ant-menu-horizontal",!t.isMenuInsideDropDown&&"horizontal"===t.actualMode)("ant-menu-inline",!t.isMenuInsideDropDown&&"inline"===t.actualMode)("ant-menu-inline-collapsed",!t.isMenuInsideDropDown&&t.nzInlineCollapsed)("ant-menu-rtl","rtl"===t.dir)},inputs:{nzInlineIndent:"nzInlineIndent",nzTheme:"nzTheme",nzMode:"nzMode",nzInlineCollapsed:"nzInlineCollapsed",nzSelectable:"nzSelectable"},outputs:{nzClick:"nzClick"},exportAs:["nzMenu"],features:[o.Bb([{provide:q,useClass:K},{provide:K,useFactory:ie,deps:[[new o.L,new o.C,K],q]},{provide:X,useFactory:re,deps:[[new o.L,new o.C,X]]}]),o.Ab]}),Object(i.b)([Object(s.a)(),Object(i.c)("design:type",Object)],e.prototype,"nzInlineCollapsed",void 0),Object(i.b)([Object(s.a)(),Object(i.c)("design:type",Object)],e.prototype,"nzSelectable",void 0),e})(),se=(()=>{class e{constructor(e,t){this.cdr=e,this.directionality=t,this.nzIcon=null,this.nzTitle=null,this.isMenuInsideDropDown=!1,this.nzDisabled=!1,this.paddingLeft=null,this.mode="vertical",this.toggleSubMenu=new o.n,this.subMenuMouseState=new o.n,this.dir="ltr",this.destroy$=new a.a}ngOnInit(){var e;this.dir=this.directionality.value,null===(e=this.directionality.change)||void 0===e||e.pipe(Object(m.a)(this.destroy$)).subscribe(e=>{this.dir=e,this.cdr.detectChanges()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}setMouseState(e){this.nzDisabled||this.subMenuMouseState.next(e)}clickTitle(){"inline"!==this.mode||this.nzDisabled||this.toggleSubMenu.emit()}}return e.\u0275fac=function(t){return new(t||e)(o.Qb(o.h),o.Qb(r.c,8))},e.\u0275cmp=o.Kb({type:e,selectors:[["","nz-submenu-title",""]],hostVars:8,hostBindings:function(e,t){1&e&&o.lc("click",function(){return t.clickTitle()})("mouseenter",function(){return t.setMouseState(!0)})("mouseleave",function(){return t.setMouseState(!1)}),2&e&&(o.Nc("padding-left","rtl"===t.dir?null:t.paddingLeft,"px")("padding-right","rtl"===t.dir?t.paddingLeft:null,"px"),o.Ib("ant-dropdown-menu-submenu-title",t.isMenuInsideDropDown)("ant-menu-submenu-title",!t.isMenuInsideDropDown))},inputs:{nzIcon:"nzIcon",nzTitle:"nzTitle",isMenuInsideDropDown:"isMenuInsideDropDown",nzDisabled:"nzDisabled",paddingLeft:"paddingLeft",mode:"mode"},outputs:{toggleSubMenu:"toggleSubMenu",subMenuMouseState:"subMenuMouseState"},exportAs:["nzSubmenuTitle"],attrs:V,ngContentSelectors:U,decls:6,vars:4,consts:[["nz-icon","",3,"nzType",4,"ngIf"],[4,"nzStringTemplateOutlet"],["class","ant-dropdown-menu-submenu-expand-icon",3,"ngSwitch",4,"ngIf","ngIfElse"],["notDropdownTpl",""],["nz-icon","",3,"nzType"],[1,"ant-dropdown-menu-submenu-expand-icon",3,"ngSwitch"],["nz-icon","","nzType","left","class","ant-dropdown-menu-submenu-arrow-icon",4,"ngSwitchCase"],["nz-icon","","nzType","right","class","ant-dropdown-menu-submenu-arrow-icon",4,"ngSwitchDefault"],["nz-icon","","nzType","left",1,"ant-dropdown-menu-submenu-arrow-icon"],["nz-icon","","nzType","right",1,"ant-dropdown-menu-submenu-arrow-icon"],[1,"ant-menu-submenu-arrow"]],template:function(e,t){if(1&e&&(o.vc(),o.Qc(0,L,1,1,"i",0),o.Qc(1,N,3,1,"ng-container",1),o.uc(2),o.Qc(3,W,3,2,"span",2),o.Qc(4,H,1,0,"ng-template",null,3,o.Rc)),2&e){const e=o.Ec(5);o.wc("ngIf",t.nzIcon),o.Cb(1),o.wc("nzStringTemplateOutlet",t.nzTitle),o.Cb(2),o.wc("ngIf",t.isMenuInsideDropDown)("ngIfElse",e)}},directives:[z.o,T.b,k.a,z.q,z.r,z.s],encapsulation:2,changeDetection:0}),e})(),ae=(()=>{class e{constructor(e,t,n){this.elementRef=e,this.renderer=t,this.directionality=n,this.templateOutlet=null,this.menuClass="",this.mode="vertical",this.nzOpen=!1,this.listOfCacheClassName=[],this.expandState="collapsed",this.dir="ltr",this.destroy$=new a.a,this.elementRef.nativeElement.classList.add("ant-menu","ant-menu-inline","ant-menu-sub")}calcMotionState(){this.expandState=this.nzOpen?"expanded":"collapsed"}ngOnInit(){var e;this.calcMotionState(),this.dir=this.directionality.value,null===(e=this.directionality.change)||void 0===e||e.pipe(Object(m.a)(this.destroy$)).subscribe(e=>{this.dir=e})}ngOnChanges(e){const{mode:t,nzOpen:n,menuClass:i}=e;(t||n)&&this.calcMotionState(),i&&(this.listOfCacheClassName.length&&this.listOfCacheClassName.filter(e=>!!e).forEach(e=>{this.renderer.removeClass(this.elementRef.nativeElement,e)}),this.menuClass&&(this.listOfCacheClassName=this.menuClass.split(" "),this.listOfCacheClassName.filter(e=>!!e).forEach(e=>{this.renderer.addClass(this.elementRef.nativeElement,e)})))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(o.Qb(o.l),o.Qb(o.G),o.Qb(r.c,8))},e.\u0275cmp=o.Kb({type:e,selectors:[["","nz-submenu-inline-child",""]],hostVars:3,hostBindings:function(e,t){2&e&&(o.Pc("@collapseMotion",t.expandState),o.Ib("ant-menu-rtl","rtl"===t.dir))},inputs:{templateOutlet:"templateOutlet",menuClass:"menuClass",mode:"mode",nzOpen:"nzOpen"},exportAs:["nzSubmenuInlineChild"],features:[o.Ab],attrs:$,decls:1,vars:1,consts:[[3,"ngTemplateOutlet"]],template:function(e,t){1&e&&o.Qc(0,Q,0,0,"ng-template",0),2&e&&o.wc("ngTemplateOutlet",t.templateOutlet)},directives:[z.t],encapsulation:2,data:{animation:[x.a]},changeDetection:0}),e})(),ce=(()=>{class e{constructor(e,t){this.elementRef=e,this.directionality=t,this.menuClass="",this.theme="light",this.templateOutlet=null,this.isMenuInsideDropDown=!1,this.mode="vertical",this.position="right",this.nzDisabled=!1,this.nzOpen=!1,this.subMenuMouseState=new o.n,this.expandState="collapsed",this.dir="ltr",this.destroy$=new a.a,this.elementRef.nativeElement.classList.add("ant-menu-submenu","ant-menu-submenu-popup")}setMouseState(e){this.nzDisabled||this.subMenuMouseState.next(e)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}calcMotionState(){this.nzOpen?"horizontal"===this.mode?this.expandState="bottom":"vertical"===this.mode&&(this.expandState="active"):this.expandState="collapsed"}ngOnInit(){var e;this.calcMotionState(),this.dir=this.directionality.value,null===(e=this.directionality.change)||void 0===e||e.pipe(Object(m.a)(this.destroy$)).subscribe(e=>{this.dir=e})}ngOnChanges(e){const{mode:t,nzOpen:n}=e;(t||n)&&this.calcMotionState()}}return e.\u0275fac=function(t){return new(t||e)(o.Qb(o.l),o.Qb(r.c,8))},e.\u0275cmp=o.Kb({type:e,selectors:[["","nz-submenu-none-inline-child",""]],hostVars:14,hostBindings:function(e,t){1&e&&o.lc("mouseenter",function(){return t.setMouseState(!0)})("mouseleave",function(){return t.setMouseState(!1)}),2&e&&(o.Pc("@slideMotion",t.expandState)("@zoomBigMotion",t.expandState),o.Ib("ant-menu-light","light"===t.theme)("ant-menu-dark","dark"===t.theme)("ant-menu-submenu-placement-bottom","horizontal"===t.mode)("ant-menu-submenu-placement-right","vertical"===t.mode&&"right"===t.position)("ant-menu-submenu-placement-left","vertical"===t.mode&&"left"===t.position)("ant-menu-submenu-rtl","rtl"===t.dir))},inputs:{menuClass:"menuClass",theme:"theme",templateOutlet:"templateOutlet",isMenuInsideDropDown:"isMenuInsideDropDown",mode:"mode",position:"position",nzDisabled:"nzDisabled",nzOpen:"nzOpen"},outputs:{subMenuMouseState:"subMenuMouseState"},exportAs:["nzSubmenuNoneInlineChild"],features:[o.Ab],attrs:G,decls:2,vars:16,consts:[[3,"ngClass"],[3,"ngTemplateOutlet"]],template:function(e,t){1&e&&(o.Wb(0,"div",0),o.Qc(1,Y,0,0,"ng-template",1),o.Vb()),2&e&&(o.Ib("ant-dropdown-menu",t.isMenuInsideDropDown)("ant-menu",!t.isMenuInsideDropDown)("ant-dropdown-menu-vertical",t.isMenuInsideDropDown)("ant-menu-vertical",!t.isMenuInsideDropDown)("ant-dropdown-menu-sub",t.isMenuInsideDropDown)("ant-menu-sub",!t.isMenuInsideDropDown)("ant-menu-rtl","rtl"===t.dir),o.wc("ngClass",t.menuClass),o.Cb(1),o.wc("ngTemplateOutlet",t.templateOutlet))},directives:[z.m,z.t],encapsulation:2,data:{animation:[x.h,x.f]},changeDetection:0}),e})(),le=(()=>{class e{}return e.\u0275mod=o.Ob({type:e}),e.\u0275inj=o.Nb({factory:function(t){return new(t||e)},imports:[[r.a,z.c,S.b,w.f,k.b,_.b,T.a]]}),e})()},QlLE:function(e,t,n){"use strict";n.d(t,"a",function(){return E}),n.d(t,"b",function(){return M}),n.d(t,"c",function(){return R});var i=n("+rOU"),r=n("fXoL"),o=n("XNiG"),s=n("JX91"),a=n("1G5W"),c=n("Rm4T"),l=n("cH1L"),u=n("ofXK"),d=n("pdGh"),h=n("2Suw");function p(e,t){1&e&&r.Rb(0,"nz-empty",6),2&e&&r.wc("nzNotFoundImage","simple")}function f(e,t){1&e&&r.Rb(0,"nz-empty",7),2&e&&r.wc("nzNotFoundImage","simple")}function g(e,t){1&e&&r.Rb(0,"nz-empty")}function b(e,t){if(1&e&&(r.Ub(0,2),r.Qc(1,p,1,1,"nz-empty",3),r.Qc(2,f,1,1,"nz-empty",4),r.Qc(3,g,1,0,"nz-empty",5),r.Tb()),2&e){const e=r.oc();r.wc("ngSwitch",e.size),r.Cb(1),r.wc("ngSwitchCase","normal"),r.Cb(1),r.wc("ngSwitchCase","small")}}function m(e,t){}function y(e,t){if(1&e&&r.Qc(0,m,0,0,"ng-template",8),2&e){const e=r.oc(2);r.wc("cdkPortalOutlet",e.contentPortal)}}function v(e,t){if(1&e&&(r.Ub(0),r.Sc(1),r.Tb()),2&e){const e=r.oc(2);r.Cb(1),r.Uc(" ",e.content," ")}}function C(e,t){if(1&e&&(r.Ub(0),r.Qc(1,y,1,1,void 0,1),r.Qc(2,v,2,1,"ng-container",1),r.Tb()),2&e){const e=r.oc();r.Cb(1),r.wc("ngIf","string"!==e.contentType),r.Cb(1),r.wc("ngIf","string"===e.contentType)}}function w(e,t){if(1&e&&(r.Ub(0),r.Rb(1,"img",5),r.Tb()),2&e){const e=r.oc(2);r.Cb(1),r.wc("src",e.nzNotFoundImage,r.Kc)("alt",e.isContentString?e.nzNotFoundContent:"empty")}}function S(e,t){if(1&e&&(r.Ub(0),r.Qc(1,w,2,2,"ng-container",4),r.Tb()),2&e){const e=r.oc();r.Cb(1),r.wc("nzStringTemplateOutlet",e.nzNotFoundImage)}}function _(e,t){1&e&&r.Rb(0,"nz-empty-default")}function O(e,t){1&e&&r.Rb(0,"nz-empty-simple")}function x(e,t){if(1&e&&(r.Ub(0),r.Sc(1),r.Tb()),2&e){const e=r.oc(2);r.Cb(1),r.Uc(" ",e.isContentString?e.nzNotFoundContent:e.locale.description," ")}}function z(e,t){if(1&e&&(r.Wb(0,"p",6),r.Qc(1,x,2,1,"ng-container",4),r.Vb()),2&e){const e=r.oc();r.Cb(1),r.wc("nzStringTemplateOutlet",e.nzNotFoundContent)}}function T(e,t){if(1&e&&(r.Ub(0),r.Sc(1),r.Tb()),2&e){const e=r.oc(2);r.Cb(1),r.Uc(" ",e.nzNotFoundFooter," ")}}function k(e,t){if(1&e&&(r.Wb(0,"div",7),r.Qc(1,T,2,1,"ng-container",4),r.Vb()),2&e){const e=r.oc();r.Cb(1),r.wc("nzStringTemplateOutlet",e.nzNotFoundFooter)}}const P=new r.r("nz-empty-component-name");let E=(()=>{class e{constructor(e,t,n,i){this.configService=e,this.viewContainerRef=t,this.cdr=n,this.injector=i,this.contentType="string",this.size="",this.destroy$=new o.a}ngOnChanges(e){e.nzComponentName&&(this.size=function(e){switch(e){case"table":case"list":return"normal";case"select":case"tree-select":case"cascader":case"transfer":return"small";default:return""}}(e.nzComponentName.currentValue)),e.specificContent&&!e.specificContent.isFirstChange()&&(this.content=e.specificContent.currentValue,this.renderEmpty())}ngOnInit(){this.subscribeDefaultEmptyContentChange()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}renderEmpty(){const e=this.content;if("string"==typeof e)this.contentType="string";else if(e instanceof r.N){const t={$implicit:this.nzComponentName};this.contentType="template",this.contentPortal=new i.f(e,this.viewContainerRef,t)}else if(e instanceof r.P){const t=r.s.create({parent:this.injector,providers:[{provide:P,useValue:this.nzComponentName}]});this.contentType="component",this.contentPortal=new i.c(e,this.viewContainerRef,t)}else this.contentType="string",this.contentPortal=void 0;this.cdr.detectChanges()}subscribeDefaultEmptyContentChange(){this.configService.getConfigChangeEventForComponent("empty").pipe(Object(s.a)(!0),Object(a.a)(this.destroy$)).subscribe(()=>{this.content=this.specificContent||this.getUserDefaultEmptyContent(),this.renderEmpty()})}getUserDefaultEmptyContent(){return(this.configService.getConfigForComponent("empty")||{}).nzDefaultEmptyContent}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(h.b),r.Qb(r.R),r.Qb(r.h),r.Qb(r.s))},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-embed-empty"]],inputs:{nzComponentName:"nzComponentName",specificContent:"specificContent"},exportAs:["nzEmbedEmpty"],features:[r.Ab],decls:2,vars:2,consts:[[3,"ngSwitch",4,"ngIf"],[4,"ngIf"],[3,"ngSwitch"],["class","ant-empty-normal",3,"nzNotFoundImage",4,"ngSwitchCase"],["class","ant-empty-small",3,"nzNotFoundImage",4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"ant-empty-normal",3,"nzNotFoundImage"],[1,"ant-empty-small",3,"nzNotFoundImage"],[3,"cdkPortalOutlet"]],template:function(e,t){1&e&&(r.Qc(0,b,4,3,"ng-container",0),r.Qc(1,C,3,2,"ng-container",1)),2&e&&(r.wc("ngIf",!t.content&&null!==t.specificContent),r.Cb(1),r.wc("ngIf",t.content))},directives:function(){return[u.o,u.q,u.r,u.s,M,i.b]},encapsulation:2,changeDetection:0}),e})();const D=["default","simple"];let M=(()=>{class e{constructor(e,t){this.i18n=e,this.cdr=t,this.nzNotFoundImage="default",this.isContentString=!1,this.isImageBuildIn=!0,this.destroy$=new o.a}ngOnChanges(e){const{nzNotFoundContent:t,nzNotFoundImage:n}=e;if(t&&(this.isContentString="string"==typeof t.currentValue),n){const e=n.currentValue||"default";this.isImageBuildIn=D.findIndex(t=>t===e)>-1}}ngOnInit(){this.i18n.localeChange.pipe(Object(a.a)(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Empty"),this.cdr.markForCheck()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(c.d),r.Qb(r.h))},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-empty"]],hostAttrs:[1,"ant-empty"],inputs:{nzNotFoundImage:"nzNotFoundImage",nzNotFoundContent:"nzNotFoundContent",nzNotFoundFooter:"nzNotFoundFooter"},exportAs:["nzEmpty"],features:[r.Ab],decls:6,vars:5,consts:[[1,"ant-empty-image"],[4,"ngIf"],["class","ant-empty-description",4,"ngIf"],["class","ant-empty-footer",4,"ngIf"],[4,"nzStringTemplateOutlet"],[3,"src","alt"],[1,"ant-empty-description"],[1,"ant-empty-footer"]],template:function(e,t){1&e&&(r.Wb(0,"div",0),r.Qc(1,S,2,1,"ng-container",1),r.Qc(2,_,1,0,"nz-empty-default",1),r.Qc(3,O,1,0,"nz-empty-simple",1),r.Vb(),r.Qc(4,z,2,1,"p",2),r.Qc(5,k,2,1,"div",3)),2&e&&(r.Cb(1),r.wc("ngIf",!t.isImageBuildIn),r.Cb(1),r.wc("ngIf",t.isImageBuildIn&&"simple"!==t.nzNotFoundImage),r.Cb(1),r.wc("ngIf",t.isImageBuildIn&&"simple"===t.nzNotFoundImage),r.Cb(1),r.wc("ngIf",null!==t.nzNotFoundContent),r.Cb(1),r.wc("ngIf",t.nzNotFoundFooter))},directives:function(){return[u.o,d.b,I,A]},encapsulation:2,changeDetection:0}),e})(),I=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-empty-default"]],exportAs:["nzEmptyDefault"],decls:12,vars:0,consts:[["width","184","height","152","viewBox","0 0 184 152","xmlns","http://www.w3.org/2000/svg",1,"ant-empty-img-default"],["fill","none","fill-rule","evenodd"],["transform","translate(24 31.67)"],["cx","67.797","cy","106.89","rx","67.797","ry","12.668",1,"ant-empty-img-default-ellipse"],["d","M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",1,"ant-empty-img-default-path-1"],["d","M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z","transform","translate(13.56)",1,"ant-empty-img-default-path-2"],["d","M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",1,"ant-empty-img-default-path-3"],["d","M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",1,"ant-empty-img-default-path-4"],["d","M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",1,"ant-empty-img-default-path-5"],["transform","translate(149.65 15.383)",1,"ant-empty-img-default-g"],["cx","20.654","cy","3.167","rx","2.849","ry","2.815"],["d","M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"]],template:function(e,t){1&e&&(r.nc(),r.Wb(0,"svg",0),r.Wb(1,"g",1),r.Wb(2,"g",2),r.Rb(3,"ellipse",3),r.Rb(4,"path",4),r.Rb(5,"path",5),r.Rb(6,"path",6),r.Rb(7,"path",7),r.Vb(),r.Rb(8,"path",8),r.Wb(9,"g",9),r.Rb(10,"ellipse",10),r.Rb(11,"path",11),r.Vb(),r.Vb(),r.Vb())},encapsulation:2,changeDetection:0}),e})(),A=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Kb({type:e,selectors:[["nz-empty-simple"]],exportAs:["nzEmptySimple"],decls:6,vars:0,consts:[["width","64","height","41","viewBox","0 0 64 41","xmlns","http://www.w3.org/2000/svg",1,"ant-empty-img-simple"],["transform","translate(0 1)","fill","none","fill-rule","evenodd"],["cx","32","cy","33","rx","32","ry","7",1,"ant-empty-img-simple-ellipse"],["fill-rule","nonzero",1,"ant-empty-img-simple-g"],["d","M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"],["d","M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",1,"ant-empty-img-simple-path"]],template:function(e,t){1&e&&(r.nc(),r.Wb(0,"svg",0),r.Wb(1,"g",1),r.Rb(2,"ellipse",2),r.Wb(3,"g",3),r.Rb(4,"path",4),r.Rb(5,"path",5),r.Vb(),r.Vb(),r.Vb())},encapsulation:2,changeDetection:0}),e})(),R=(()=>{class e{}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)},imports:[[l.a,u.c,i.e,d.a,c.b]]}),e})()},R0Ic:function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return i}),n.d(t,"c",function(){return r}),n.d(t,"d",function(){return g}),n.d(t,"e",function(){return a}),n.d(t,"f",function(){return h}),n.d(t,"g",function(){return c}),n.d(t,"h",function(){return p}),n.d(t,"i",function(){return u}),n.d(t,"j",function(){return l}),n.d(t,"k",function(){return d}),n.d(t,"l",function(){return s}),n.d(t,"m",function(){return b}),n.d(t,"n",function(){return m});class i{}class r{}const o="*";function s(e,t){return{type:7,name:e,definitions:t,options:{}}}function a(e,t=null){return{type:4,styles:t,timings:e}}function c(e,t=null){return{type:2,steps:e,options:t}}function l(e){return{type:6,styles:e,offset:null}}function u(e,t,n){return{type:0,name:e,styles:t,options:n}}function d(e,t,n=null){return{type:1,expr:e,animation:t,options:n}}function h(e,t,n=null){return{type:11,selector:e,animation:t,options:n}}function p(e,t){return{type:12,timings:e,animation:t}}function f(e){Promise.resolve(null).then(e)}class g{constructor(e=0,t=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){f(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}class b{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let t=0,n=0,i=0;const r=this.players.length;0==r?f(()=>this._onFinish()):this.players.forEach(e=>{e.onDone(()=>{++t==r&&this._onFinish()}),e.onDestroy(()=>{++n==r&&this._onDestroy()}),e.onStart(()=>{++i==r&&this._onStart()})}),this.totalTime=this.players.reduce((e,t)=>Math.max(e,t.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){const t=e*this.totalTime;this.players.forEach(e=>{const n=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(n)})}getPosition(){const e=this.players.reduce((e,t)=>null===e||t.totalTime>e.totalTime?t:e,null);return null!=e?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}const m="!"},R1ws:function(e,t,n){"use strict";n.d(t,"a",function(){return Dt}),n.d(t,"b",function(){return It});var i=n("fXoL"),r=n("jhN1"),o=n("R0Ic");function s(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function a(e){switch(e.length){case 0:return new o.d;case 1:return e[0];default:return new o.m(e)}}function c(e,t,n,i,r={},s={}){const a=[],c=[];let l=-1,u=null;if(i.forEach(e=>{const n=e.offset,i=n==l,d=i&&u||{};Object.keys(e).forEach(n=>{let i=n,c=e[n];if("offset"!==n)switch(i=t.normalizePropertyName(i,a),c){case o.n:c=r[n];break;case o.a:c=s[n];break;default:c=t.normalizeStyleValue(n,i,c,a)}d[i]=c}),i||c.push(d),u=d,l=n}),a.length){const e="\n - ";throw new Error(`Unable to animate due to the following errors:${e}${a.join(e)}`)}return c}function l(e,t,n,i){switch(t){case"start":e.onStart(()=>i(n&&u(n,"start",e)));break;case"done":e.onDone(()=>i(n&&u(n,"done",e)));break;case"destroy":e.onDestroy(()=>i(n&&u(n,"destroy",e)))}}function u(e,t,n){const i=n.totalTime,r=d(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==i?e.totalTime:i,!!n.disabled),o=e._data;return null!=o&&(r._data=o),r}function d(e,t,n,i,r="",o=0,s){return{element:e,triggerName:t,fromState:n,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function h(e,t,n){let i;return e instanceof Map?(i=e.get(t),i||e.set(t,i=n)):(i=e[t],i||(i=e[t]=n)),i}function p(e){const t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}let f=(e,t)=>!1,g=(e,t)=>!1,b=(e,t,n)=>[];const m=s();(m||"undefined"!=typeof Element)&&(f=(e,t)=>e.contains(t),g=(()=>{if(m||Element.prototype.matches)return(e,t)=>e.matches(t);{const e=Element.prototype,t=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return t?(e,n)=>t.apply(e,[n]):g}})(),b=(e,t,n)=>{let i=[];if(n){const n=e.querySelectorAll(t);for(let e=0;e{const i=n.replace(/([a-z])([A-Z])/g,"$1-$2");t[i]=e[n]}),t}let x=(()=>{class e{validateStyleProperty(e){return C(e)}matchesElement(e,t){return w(e,t)}containsElement(e,t){return S(e,t)}query(e,t,n){return _(e,t,n)}computeStyle(e,t,n){return n||""}animate(e,t,n,i,r,s=[],a){return new o.d(n,i)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.Mb({token:e,factory:e.\u0275fac}),e})(),z=(()=>{class e{}return e.NOOP=new x,e})();const T="ng-enter",k="ng-leave",P="ng-trigger",E=".ng-trigger",D="ng-animating",M=".ng-animating";function I(e){if("number"==typeof e)return e;const t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:A(parseFloat(t[1]),t[2])}function A(e,t){return"s"===t?1e3*e:e}function R(e,t,n){return e.hasOwnProperty("duration")?e:function(e,t,n){let i,r=0,o="";if("string"==typeof e){const n=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===n)return t.push(`The provided timing value "${e}" is invalid.`),{duration:0,delay:0,easing:""};i=A(parseFloat(n[1]),n[2]);const s=n[3];null!=s&&(r=A(parseFloat(s),n[4]));const a=n[5];a&&(o=a)}else i=e;if(!n){let n=!1,o=t.length;i<0&&(t.push("Duration values below 0 are not allowed for this animation step."),n=!0),r<0&&(t.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&t.splice(o,0,`The provided timing value "${e}" is invalid.`)}return{duration:i,delay:r,easing:o}}(e,t,n)}function j(e,t={}){return Object.keys(e).forEach(n=>{t[n]=e[n]}),t}function V(e,t,n={}){if(t)for(let i in e)n[i]=e[i];else j(e,n);return n}function L(e,t,n){return n?t+":"+n+";":""}function N(e){let t="";for(let n=0;n{const r=Y(i);n&&!n.hasOwnProperty(i)&&(n[i]=e.style[r]),e.style[r]=t[i]}),s()&&N(e))}function B(e,t){e.style&&(Object.keys(t).forEach(t=>{const n=Y(t);e.style[n]=""}),s()&&N(e))}function W(e){return Array.isArray(e)?1==e.length?e[0]:Object(o.g)(e):e}const H=new RegExp("{{\\s*(.+?)\\s*}}","g");function U(e){let t=[];if("string"==typeof e){let n;for(;n=H.exec(e);)t.push(n[1]);H.lastIndex=0}return t}function $(e,t,n){const i=e.toString(),r=i.replace(H,(e,i)=>{let r=t[i];return t.hasOwnProperty(i)||(n.push(`Please provide a value for the animation param ${i}`),r=""),r.toString()});return r==i?e:r}function Q(e){const t=[];let n=e.next();for(;!n.done;)t.push(n.value),n=e.next();return t}const G=/-+([a-z0-9])/g;function Y(e){return e.replace(G,(...e)=>e[1].toUpperCase())}function K(e,t){return 0===e||0===t}function X(e,t,n){const i=Object.keys(n);if(i.length&&t.length){let o=t[0],s=[];if(i.forEach(e=>{o.hasOwnProperty(e)||s.push(e),o[e]=n[e]}),s.length)for(var r=1;rfunction(e,t,n){if(":"==e[0]){const i=function(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,t)=>parseFloat(t)>parseFloat(e);case":decrement":return(e,t)=>parseFloat(t) *"}}(e,n);if("function"==typeof i)return void t.push(i);e=i}const i=e.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push(`The provided transition expression "${e}" is not supported`),t;const r=i[1],o=i[2],s=i[3];t.push(ie(r,s)),"<"!=o[0]||r==Z&&s==Z||t.push(ie(s,r))}(e,n,t)):n.push(e),n}const te=new Set(["true","1"]),ne=new Set(["false","0"]);function ie(e,t){const n=te.has(e)||ne.has(e),i=te.has(t)||ne.has(t);return(r,o)=>{let s=e==Z||e==r,a=t==Z||t==o;return!s&&n&&"boolean"==typeof r&&(s=r?te.has(e):ne.has(e)),!a&&i&&"boolean"==typeof o&&(a=o?te.has(t):ne.has(t)),s&&a}}const re=new RegExp("s*:selfs*,?","g");function oe(e,t,n){return new se(e).build(t,n)}class se{constructor(e){this._driver=e}build(e,t){const n=new ae(t);return this._resetContextStyleTimingState(n),q(this,W(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0}visitTrigger(e,t){let n=t.queryCount=0,i=t.depCount=0;const r=[],o=[];return"@"==e.name.charAt(0)&&t.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),e.definitions.forEach(e=>{if(this._resetContextStyleTimingState(t),0==e.type){const n=e,i=n.name;i.toString().split(/\s*,\s*/).forEach(e=>{n.name=e,r.push(this.visitState(n,t))}),n.name=i}else if(1==e.type){const r=this.visitTransition(e,t);n+=r.queryCount,i+=r.depCount,o.push(r)}else t.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:e.name,states:r,transitions:o,queryCount:n,depCount:i,options:null}}visitState(e,t){const n=this.visitStyle(e.styles,t),i=e.options&&e.options.params||null;if(n.containsDynamicStyles){const r=new Set,o=i||{};if(n.styles.forEach(e=>{if(ce(e)){const t=e;Object.keys(t).forEach(e=>{U(t[e]).forEach(e=>{o.hasOwnProperty(e)||r.add(e)})})}}),r.size){const n=Q(r.values());t.errors.push(`state("${e.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:e.name,style:n,options:i?{params:i}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;const n=q(this,W(e.animation),t);return{type:1,matchers:ee(e.expr,t.errors),animation:n,queryCount:t.queryCount,depCount:t.depCount,options:le(e.options)}}visitSequence(e,t){return{type:2,steps:e.steps.map(e=>q(this,e,t)),options:le(e.options)}}visitGroup(e,t){const n=t.currentTime;let i=0;const r=e.steps.map(e=>{t.currentTime=n;const r=q(this,e,t);return i=Math.max(i,t.currentTime),r});return t.currentTime=i,{type:3,steps:r,options:le(e.options)}}visitAnimate(e,t){const n=function(e,t){let n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e)return ue(R(e,t).duration,0,"");const i=e;if(i.split(/\s+/).some(e=>"{"==e.charAt(0)&&"{"==e.charAt(1))){const e=ue(0,0,"");return e.dynamic=!0,e.strValue=i,e}return n=n||R(i,t),ue(n.duration,n.delay,n.easing)}(e.timings,t.errors);let i;t.currentAnimateTimings=n;let r=e.styles?e.styles:Object(o.j)({});if(5==r.type)i=this.visitKeyframes(r,t);else{let r=e.styles,s=!1;if(!r){s=!0;const e={};n.easing&&(e.easing=n.easing),r=Object(o.j)(e)}t.currentTime+=n.duration+n.delay;const a=this.visitStyle(r,t);a.isEmptyStep=s,i=a}return t.currentAnimateTimings=null,{type:4,timings:n,style:i,options:null}}visitStyle(e,t){const n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n}_makeStyleAst(e,t){const n=[];Array.isArray(e.styles)?e.styles.forEach(e=>{"string"==typeof e?e==o.a?n.push(e):t.errors.push(`The provided style string value ${e} is not allowed.`):n.push(e)}):n.push(e.styles);let i=!1,r=null;return n.forEach(e=>{if(ce(e)){const t=e,n=t.easing;if(n&&(r=n,delete t.easing),!i)for(let e in t)if(t[e].toString().indexOf("{{")>=0){i=!0;break}}}),{type:6,styles:n,easing:r,offset:e.offset,containsDynamicStyles:i,options:null}}_validateStyleAst(e,t){const n=t.currentAnimateTimings;let i=t.currentTime,r=t.currentTime;n&&r>0&&(r-=n.duration+n.delay),e.styles.forEach(e=>{"string"!=typeof e&&Object.keys(e).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void t.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const o=t.collectedStyles[t.currentQuerySelector],s=o[n];let a=!0;s&&(r!=i&&r>=s.startTime&&i<=s.endTime&&(t.errors.push(`The CSS property "${n}" that exists between the times of "${s.startTime}ms" and "${s.endTime}ms" is also being animated in a parallel animation between the times of "${r}ms" and "${i}ms"`),a=!1),r=s.startTime),a&&(o[n]={startTime:r,endTime:i}),t.options&&function(e,t,n){const i=t.params||{},r=U(e);r.length&&r.forEach(e=>{i.hasOwnProperty(e)||n.push(`Unable to resolve the local animation param ${e} in the given list of values`)})}(e[n],t.options,t.errors)})})}visitKeyframes(e,t){const n={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),n;let i=0;const r=[];let o=!1,s=!1,a=0;const c=e.steps.map(e=>{const n=this._makeStyleAst(e,t);let c=null!=n.offset?n.offset:function(e){if("string"==typeof e)return null;let t=null;if(Array.isArray(e))e.forEach(e=>{if(ce(e)&&e.hasOwnProperty("offset")){const n=e;t=parseFloat(n.offset),delete n.offset}});else if(ce(e)&&e.hasOwnProperty("offset")){const n=e;t=parseFloat(n.offset),delete n.offset}return t}(n.styles),l=0;return null!=c&&(i++,l=n.offset=c),s=s||l<0||l>1,o=o||l0&&i{const o=u>0?i==d?1:u*i:r[i],s=o*f;t.currentTime=h+p.delay+s,p.duration=s,this._validateStyleAst(e,t),e.offset=o,n.styles.push(e)}),n}visitReference(e,t){return{type:8,animation:q(this,W(e.animation),t),options:le(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:9,options:le(e.options)}}visitAnimateRef(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:le(e.options)}}visitQuery(e,t){const n=t.currentQuerySelector,i=e.options||{};t.queryCount++,t.currentQuery=e;const[r,o]=function(e){const t=!!e.split(/\s*,\s*/).find(e=>":self"==e);return t&&(e=e.replace(re,"")),[e=e.replace(/@\*/g,E).replace(/@\w+/g,e=>".ng-trigger-"+e.substr(1)).replace(/:animating/g,M),t]}(e.selector);t.currentQuerySelector=n.length?n+" "+r:r,h(t.collectedStyles,t.currentQuerySelector,{});const s=q(this,W(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:r,limit:i.limit||0,optional:!!i.optional,includeSelf:o,animation:s,originalSelector:e.selector,options:le(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");const n="full"===e.timings?{duration:0,delay:0,easing:"full"}:R(e.timings,t.errors,!0);return{type:12,animation:q(this,W(e.animation),t),timings:n,options:null}}}class ae{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function ce(e){return!Array.isArray(e)&&"object"==typeof e}function le(e){var t;return e?(e=j(e)).params&&(e.params=(t=e.params)?j(t):null):e={},e}function ue(e,t,n){return{duration:e,delay:t,easing:n}}function de(e,t,n,i,r,o,s=null,a=!1){return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}class he{constructor(){this._map=new Map}consume(e){let t=this._map.get(e);return t?this._map.delete(e):t=[],t}append(e,t){let n=this._map.get(e);n||this._map.set(e,n=[]),n.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}}const pe=new RegExp(":enter","g"),fe=new RegExp(":leave","g");function ge(e,t,n,i,r,o={},s={},a,c,l=[]){return(new be).buildKeyframes(e,t,n,i,r,o,s,a,c,l)}class be{buildKeyframes(e,t,n,i,r,o,s,a,c,l=[]){c=c||new he;const u=new ye(e,t,c,i,r,l,[]);u.options=a,u.currentTimeline.setStyles([o],null,u.errors,a),q(this,n,u);const d=u.timelines.filter(e=>e.containsAnimation());if(d.length&&Object.keys(s).length){const e=d[d.length-1];e.allowOnlyTimelineStyles()||e.setStyles([s],null,u.errors,a)}return d.length?d.map(e=>e.buildKeyframes()):[de(t,[],[],[],0,0,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){const n=t.subInstructions.consume(t.element);if(n){const i=t.createSubContext(e.options),r=t.currentTimeline.currentTime,o=this._visitSubInstructions(n,i,i.options);r!=o&&t.transformIntoNewTimeline(o)}t.previousNode=e}visitAnimateRef(e,t){const n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e}_visitSubInstructions(e,t,n){let i=t.currentTimeline.currentTime;const r=null!=n.duration?I(n.duration):null,o=null!=n.delay?I(n.delay):null;return 0!==r&&e.forEach(e=>{const n=t.appendInstructionToTimeline(e,r,o);i=Math.max(i,n.duration+n.delay)}),i}visitReference(e,t){t.updateOptions(e.options,!0),q(this,e.animation,t),t.previousNode=e}visitSequence(e,t){const n=t.subContextCount;let i=t;const r=e.options;if(r&&(r.params||r.delay)&&(i=t.createSubContext(r),i.transformIntoNewTimeline(),null!=r.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=me);const e=I(r.delay);i.delayNextStep(e)}e.steps.length&&(e.steps.forEach(e=>q(this,e,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>n&&i.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){const n=[];let i=t.currentTimeline.currentTime;const r=e.options&&e.options.delay?I(e.options.delay):0;e.steps.forEach(o=>{const s=t.createSubContext(e.options);r&&s.delayNextStep(r),q(this,o,s),i=Math.max(i,s.currentTimeline.currentTime),n.push(s.currentTimeline)}),n.forEach(e=>t.currentTimeline.mergeTimelineCollectedStyles(e)),t.transformIntoNewTimeline(i),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){const n=e.strValue;return R(t.params?$(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){const n=t.currentAnimateTimings=this._visitTiming(e.timings,t),i=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),i.snapshotCurrentStyles());const r=e.style;5==r.type?this.visitKeyframes(r,t):(t.incrementTime(n.duration),this.visitStyle(r,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){const n=t.currentTimeline,i=t.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();const r=i&&i.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(r):n.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){const n=t.currentAnimateTimings,i=t.currentTimeline.duration,r=n.duration,o=t.createSubContext().currentTimeline;o.easing=n.easing,e.styles.forEach(e=>{o.forwardTime((e.offset||0)*r),o.setStyles(e.styles,e.easing,t.errors,t.options),o.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(i+r),t.previousNode=e}visitQuery(e,t){const n=t.currentTimeline.currentTime,i=e.options||{},r=i.delay?I(i.delay):0;r&&(6===t.previousNode.type||0==n&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=me);let o=n;const s=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=s.length;let a=null;s.forEach((n,i)=>{t.currentQueryIndex=i;const s=t.createSubContext(e.options,n);r&&s.delayNextStep(r),n===t.element&&(a=s.currentTimeline),q(this,e.animation,s),s.currentTimeline.applyStylesToKeyframe(),o=Math.max(o,s.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(o),a&&(t.currentTimeline.mergeTimelineCollectedStyles(a),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){const n=t.parentContext,i=t.currentTimeline,r=e.timings,o=Math.abs(r.duration),s=o*(t.currentQueryTotal-1);let a=o*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":a=s-a;break;case"full":a=n.currentStaggerTime}const c=t.currentTimeline;a&&c.delayNextStep(a);const l=c.currentTime;q(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=i.currentTime-l+(i.startTime-n.currentTimeline.startTime)}}const me={};class ye{constructor(e,t,n,i,r,o,s,a){this._driver=e,this.element=t,this.subInstructions=n,this._enterClassName=i,this._leaveClassName=r,this.errors=o,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=me,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new ve(this._driver,t,0),s.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;const n=e;let i=this.options;null!=n.duration&&(i.duration=I(n.duration)),null!=n.delay&&(i.delay=I(n.delay));const r=n.params;if(r){let e=i.params;e||(e=this.options.params={}),Object.keys(r).forEach(n=>{t&&e.hasOwnProperty(n)||(e[n]=$(r[n],e,this.errors))})}}_copyOptions(){const e={};if(this.options){const t=this.options.params;if(t){const n=e.params={};Object.keys(t).forEach(e=>{n[e]=t[e]})}}return e}createSubContext(e=null,t,n){const i=t||this.element,r=new ye(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,n||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(e),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(e){return this.previousNode=me,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,n){const i={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},r=new Ce(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(r),i}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,n,i,r,o){let s=[];if(i&&s.push(this.element),e.length>0){e=(e=e.replace(pe,"."+this._enterClassName)).replace(fe,"."+this._leaveClassName);let t=this._driver.query(this.element,e,1!=n);0!==n&&(t=n<0?t.slice(t.length+n,t.length):t.slice(0,n)),s.push(...t)}return r||0!=s.length||o.push(`\`query("${t}")\` returned zero elements. (Use \`query("${t}", { optional: true })\` if you wish to allow this.)`),s}}class ve{constructor(e,t,n,i){this._driver=e,this.element=t,this.startTime=n,this._elementTimelineStylesLookup=i,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(e){const t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new ve(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach(e=>{this._backFill[e]=this._globalTimelineStyles[e]||o.a,this._currentKeyframe[e]=o.a}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,n,i){t&&(this._previousKeyframe.easing=t);const r=i&&i.params||{},s=function(e,t){const n={};let i;return e.forEach(e=>{"*"===e?(i=i||Object.keys(t),i.forEach(e=>{n[e]=o.a})):V(e,!1,n)}),n}(e,this._globalTimelineStyles);Object.keys(s).forEach(e=>{const t=$(s[e],r,n);this._pendingStyles[e]=t,this._localTimelineStyles.hasOwnProperty(e)||(this._backFill[e]=this._globalTimelineStyles.hasOwnProperty(e)?this._globalTimelineStyles[e]:o.a),this._updateStyle(e,t)})}applyStylesToKeyframe(){const e=this._pendingStyles,t=Object.keys(e);0!=t.length&&(this._pendingStyles={},t.forEach(t=>{this._currentKeyframe[t]=e[t]}),Object.keys(this._localTimelineStyles).forEach(e=>{this._currentKeyframe.hasOwnProperty(e)||(this._currentKeyframe[e]=this._localTimelineStyles[e])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(e=>{const t=this._localTimelineStyles[e];this._pendingStyles[e]=t,this._updateStyle(e,t)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){Object.keys(e._styleSummary).forEach(t=>{const n=this._styleSummary[t],i=e._styleSummary[t];(!n||i.time>n.time)&&this._updateStyle(t,i.value)})}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,t=new Set,n=1===this._keyframes.size&&0===this.duration;let i=[];this._keyframes.forEach((r,s)=>{const a=V(r,!0);Object.keys(a).forEach(n=>{const i=a[n];i==o.n?e.add(n):i==o.a&&t.add(n)}),n||(a.offset=s/this.duration),i.push(a)});const r=e.size?Q(e.values()):[],s=t.size?Q(t.values()):[];if(n){const e=i[0],t=j(e);e.offset=0,t.offset=1,i=[e,t]}return de(this.element,i,r,s,this.duration,this.startTime,this.easing,!1)}}class Ce extends ve{constructor(e,t,n,i,r,o,s=!1){super(e,t,o.delay),this.element=t,this.keyframes=n,this.preStyleProps=i,this.postStyleProps=r,this._stretchStartingKeyframe=s,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:n,easing:i}=this.timings;if(this._stretchStartingKeyframe&&t){const r=[],o=n+t,s=t/o,a=V(e[0],!1);a.offset=0,r.push(a);const c=V(e[0],!1);c.offset=we(s),r.push(c);const l=e.length-1;for(let i=1;i<=l;i++){let s=V(e[i],!1);s.offset=we((t+s.offset*n)/o),r.push(s)}n=o,t=0,i="",e=r}return de(this.element,e,this.preStyleProps,this.postStyleProps,n,t,i,!0)}}function we(e,t=3){const n=Math.pow(10,t-1);return Math.round(e*n)/n}class Se{}class _e extends Se{normalizePropertyName(e,t){return Y(e)}normalizeStyleValue(e,t,n,i){let r="";const o=n.toString().trim();if(Oe[t]&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{const t=n.match(/^[+-]?[\d\.]+([a-z]*)$/);t&&0==t[1].length&&i.push(`Please provide a CSS unit value for ${e}:${n}`)}return o+r}}const Oe=(()=>function(e){const t={};return e.forEach(e=>t[e]=!0),t}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function xe(e,t,n,i,r,o,s,a,c,l,u,d,h){return{type:0,element:e,triggerName:t,isRemovalTransition:r,fromState:n,fromStyles:o,toState:i,toStyles:s,timelines:a,queriedElements:c,preStyleProps:l,postStyleProps:u,totalTime:d,errors:h}}const ze={};class Te{constructor(e,t,n){this._triggerName=e,this.ast=t,this._stateStyles=n}match(e,t,n,i){return function(e,t,n,i,r){return e.some(e=>e(t,n,i,r))}(this.ast.matchers,e,t,n,i)}buildStyles(e,t,n){const i=this._stateStyles["*"],r=this._stateStyles[e],o=i?i.buildStyles(t,n):{};return r?r.buildStyles(t,n):o}build(e,t,n,i,r,o,s,a,c,l){const u=[],d=this.ast.options&&this.ast.options.params||ze,p=this.buildStyles(n,s&&s.params||ze,u),f=a&&a.params||ze,g=this.buildStyles(i,f,u),b=new Set,m=new Map,y=new Map,v="void"===i,C={params:Object.assign(Object.assign({},d),f)},w=l?[]:ge(e,t,this.ast.animation,r,o,p,g,C,c,u);let S=0;if(w.forEach(e=>{S=Math.max(e.duration+e.delay,S)}),u.length)return xe(t,this._triggerName,n,i,v,p,g,[],[],m,y,S,u);w.forEach(e=>{const n=e.element,i=h(m,n,{});e.preStyleProps.forEach(e=>i[e]=!0);const r=h(y,n,{});e.postStyleProps.forEach(e=>r[e]=!0),n!==t&&b.add(n)});const _=Q(b.values());return xe(t,this._triggerName,n,i,v,p,g,w,_,m,y,S)}}class ke{constructor(e,t){this.styles=e,this.defaultParams=t}buildStyles(e,t){const n={},i=j(this.defaultParams);return Object.keys(e).forEach(t=>{const n=e[t];null!=n&&(i[t]=n)}),this.styles.styles.forEach(e=>{if("string"!=typeof e){const r=e;Object.keys(r).forEach(e=>{let o=r[e];o.length>1&&(o=$(o,i,t)),n[e]=o})}}),n}}class Pe{constructor(e,t){this.name=e,this.ast=t,this.transitionFactories=[],this.states={},t.states.forEach(e=>{this.states[e.name]=new ke(e.style,e.options&&e.options.params||{})}),Ee(this.states,"true","1"),Ee(this.states,"false","0"),t.transitions.forEach(t=>{this.transitionFactories.push(new Te(e,t,this.states))}),this.fallbackTransition=new Te(e,{type:1,animation:{type:2,steps:[],options:null},matchers:[(e,t)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,n,i){return this.transitionFactories.find(r=>r.match(e,t,n,i))||null}matchStyles(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}}function Ee(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}const De=new he;class Me{constructor(e,t,n){this.bodyNode=e,this._driver=t,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(e,t){const n=[],i=oe(this._driver,t,n);if(n.length)throw new Error(`Unable to build the animation due to the following errors: ${n.join("\n")}`);this._animations[e]=i}_buildPlayer(e,t,n){const i=e.element,r=c(0,this._normalizer,0,e.keyframes,t,n);return this._driver.animate(i,r,e.duration,e.delay,e.easing,[],!0)}create(e,t,n={}){const i=[],r=this._animations[e];let s;const c=new Map;if(r?(s=ge(this._driver,t,r,T,k,{},{},n,De,i),s.forEach(e=>{const t=h(c,e.element,{});e.postStyleProps.forEach(e=>t[e]=null)})):(i.push("The requested animation doesn't exist or has already been destroyed"),s=[]),i.length)throw new Error(`Unable to create the animation due to the following errors: ${i.join("\n")}`);c.forEach((e,t)=>{Object.keys(e).forEach(n=>{e[n]=this._driver.computeStyle(t,n,o.a)})});const l=a(s.map(e=>{const t=c.get(e.element);return this._buildPlayer(e,{},t)}));return this._playersById[e]=l,l.onDestroy(()=>this.destroy(e)),this.players.push(l),l}destroy(e){const t=this._getPlayer(e);t.destroy(),delete this._playersById[e];const n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)}_getPlayer(e){const t=this._playersById[e];if(!t)throw new Error(`Unable to find the timeline player referenced by ${e}`);return t}listen(e,t,n,i){const r=d(t,"","","");return l(this._getPlayer(e),n,r,i),()=>{}}command(e,t,n,i){if("register"==n)return void this.register(e,i[0]);if("create"==n)return void this.create(e,t,i[0]||{});const r=this._getPlayer(e);switch(n){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e)}}}const Ie="ng-animate-queued",Ae="ng-animate-disabled",Re=".ng-animate-disabled",je=[],Ve={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Le={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class Ne{constructor(e,t=""){this.namespaceId=t;const n=e&&e.hasOwnProperty("value");if(this.value=null!=(i=n?e.value:e)?i:null,n){const t=j(e);delete t.value,this.options=t}else this.options={};var i;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(e){const t=e.params;if(t){const e=this.options.params;Object.keys(t).forEach(n=>{null==e[n]&&(e[n]=t[n])})}}}const Fe="void",Be=new Ne(Fe);class We{constructor(e,t,n){this.id=e,this.hostElement=t,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,Ke(t,this._hostClassName)}listen(e,t,n,i){if(!this._triggers.hasOwnProperty(t))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${t}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${t}" because the provided event is undefined!`);if("start"!=(r=n)&&"done"!=r)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${t}" is not supported!`);var r;const o=h(this._elementListeners,e,[]),s={name:t,phase:n,callback:i};o.push(s);const a=h(this._engine.statesByElement,e,{});return a.hasOwnProperty(t)||(Ke(e,P),Ke(e,"ng-trigger-"+t),a[t]=Be),()=>{this._engine.afterFlush(()=>{const e=o.indexOf(s);e>=0&&o.splice(e,1),this._triggers[t]||delete a[t]})}}register(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)}_getTrigger(e){const t=this._triggers[e];if(!t)throw new Error(`The provided animation trigger "${e}" has not been registered!`);return t}trigger(e,t,n,i=!0){const r=this._getTrigger(t),o=new Ue(this.id,t,e);let s=this._engine.statesByElement.get(e);s||(Ke(e,P),Ke(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,s={}));let a=s[t];const c=new Ne(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&a&&c.absorbOptions(a.options),s[t]=c,a||(a=Be),c.value!==Fe&&a.value===c.value){if(!function(e,t){const n=Object.keys(e),i=Object.keys(t);if(n.length!=i.length)return!1;for(let r=0;r{B(e,n),F(e,i)})}return}const l=h(this._engine.playersByElement,e,[]);l.forEach(e=>{e.namespaceId==this.id&&e.triggerName==t&&e.queued&&e.destroy()});let u=r.matchTransition(a.value,c.value,e,c.params),d=!1;if(!u){if(!i)return;u=r.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:u,fromState:a,toState:c,player:o,isFallbackTransition:d}),d||(Ke(e,Ie),o.onStart(()=>{Xe(e,Ie)})),o.onDone(()=>{let t=this.players.indexOf(o);t>=0&&this.players.splice(t,1);const n=this._engine.playersByElement.get(e);if(n){let e=n.indexOf(o);e>=0&&n.splice(e,1)}}),this.players.push(o),l.push(o),o}deregister(e){delete this._triggers[e],this._engine.statesByElement.forEach((t,n)=>{delete t[e]}),this._elementListeners.forEach((t,n)=>{this._elementListeners.set(n,t.filter(t=>t.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);const t=this._engine.playersByElement.get(e);t&&(t.forEach(e=>e.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){const n=this._engine.driver.query(e,E,!0);n.forEach(e=>{if(e.__ng_removed)return;const n=this._engine.fetchNamespacesByElement(e);n.size?n.forEach(n=>n.triggerLeaveAnimation(e,t,!1,!0)):this.clearElementCache(e)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(e=>this.clearElementCache(e)))}triggerLeaveAnimation(e,t,n,i){const r=this._engine.statesByElement.get(e);if(r){const o=[];if(Object.keys(r).forEach(t=>{if(this._triggers[t]){const n=this.trigger(e,t,Fe,i);n&&o.push(n)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t),n&&a(o).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){const t=this._elementListeners.get(e),n=this._engine.statesByElement.get(e);if(t&&n){const i=new Set;t.forEach(t=>{const r=t.name;if(i.has(r))return;i.add(r);const o=this._triggers[r].fallbackTransition,s=n[r]||Be,a=new Ne(Fe),c=new Ue(this.id,r,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:r,transition:o,fromState:s,toState:a,player:c,isFallbackTransition:!0})})}}removeNode(e,t){const n=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let i=!1;if(n.totalAnimations){const t=n.players.length?n.playersByQueriedElement.get(e):[];if(t&&t.length)i=!0;else{let t=e;for(;t=t.parentNode;)if(n.statesByElement.get(t)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)n.markElementAsRemoved(this.id,e,!1,t);else{const i=e.__ng_removed;i&&i!==Ve||(n.afterFlush(()=>this.clearElementCache(e)),n.destroyInnerAnimations(e),n._onRemovalComplete(e,t))}}insertNode(e,t){Ke(e,this._hostClassName)}drainQueuedTransitions(e){const t=[];return this._queue.forEach(n=>{const i=n.player;if(i.destroyed)return;const r=n.element,o=this._elementListeners.get(r);o&&o.forEach(t=>{if(t.name==n.triggerName){const i=d(r,n.triggerName,n.fromState.value,n.toState.value);i._data=e,l(n.player,t.phase,i,t.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):t.push(n)}),this._queue=[],t.sort((e,t)=>{const n=e.transition.ast.depCount,i=t.transition.ast.depCount;return 0==n||0==i?n-i:this._engine.driver.containsElement(e.element,t.element)?1:-1})}destroy(e){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}elementContainsData(e){let t=!1;return this._elementListeners.has(e)&&(t=!0),t=!!this._queue.find(t=>t.element===e)||t,t}}class He{constructor(e,t,n){this.bodyNode=e,this.driver=t,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(e,t)=>{}}_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}get queuedPlayers(){const e=[];return this._namespaceList.forEach(t=>{t.players.forEach(t=>{t.queued&&e.push(t)})}),e}createNamespace(e,t){const n=new We(e,t,this);return t.parentNode?this._balanceNamespaceList(n,t):(this.newHostElements.set(t,n),this.collectEnterElement(t)),this._namespaceLookup[e]=n}_balanceNamespaceList(e,t){const n=this._namespaceList.length-1;if(n>=0){let i=!1;for(let r=n;r>=0;r--)if(this.driver.containsElement(this._namespaceList[r].hostElement,t)){this._namespaceList.splice(r+1,0,e),i=!0;break}i||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e}register(e,t){let n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n}registerTrigger(e,t,n){let i=this._namespaceLookup[e];i&&i.register(t,n)&&this.totalAnimations++}destroy(e,t){if(!e)return;const n=this._fetchNamespace(e);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[e];const t=this._namespaceList.indexOf(n);t>=0&&this._namespaceList.splice(t,1)}),this.afterFlushAnimationsDone(()=>n.destroy(t))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){const t=new Set,n=this.statesByElement.get(e);if(n){const e=Object.keys(n);for(let i=0;i=0&&this.collectedLeaveElements.splice(e,1)}if(e){const i=this._fetchNamespace(e);i&&i.insertNode(t,n)}i&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Ke(e,Ae)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Xe(e,Ae))}removeNode(e,t,n,i){if($e(t)){const r=e?this._fetchNamespace(e):null;if(r?r.removeNode(t,i):this.markElementAsRemoved(e,t,!1,i),n){const n=this.namespacesByHostElement.get(t);n&&n.id!==e&&n.removeNode(t,i)}}else this._onRemovalComplete(t,i)}markElementAsRemoved(e,t,n,i){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}}listen(e,t,n,i,r){return $e(t)?this._fetchNamespace(e).listen(t,n,i,r):()=>{}}_buildInstruction(e,t,n,i,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,i,e.fromState.options,e.toState.options,t,r)}destroyInnerAnimations(e){let t=this.driver.query(e,E,!0);t.forEach(e=>this.destroyActiveAnimationsForElement(e)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,M,!0),t.forEach(e=>this.finishActiveQueriedAnimationOnElement(e)))}destroyActiveAnimationsForElement(e){const t=this.playersByElement.get(e);t&&t.forEach(e=>{e.queued?e.markedForDestroy=!0:e.destroy()})}finishActiveQueriedAnimationOnElement(e){const t=this.playersByQueriedElement.get(e);t&&t.forEach(e=>e.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return a(this.players).onDone(()=>e());e()})}processLeaveNode(e){const t=e.__ng_removed;if(t&&t.setForRemoval){if(e.__ng_removed=Ve,t.namespaceId){this.destroyInnerAnimations(e);const n=this._fetchNamespace(t.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}this.driver.matchesElement(e,Re)&&this.markElementAsDisabled(e,!1),this.driver.query(e,Re,!0).forEach(e=>{this.markElementAsDisabled(e,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((e,t)=>this._balanceNamespaceList(e,t)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;ne()),this._flushFns=[],this._whenQuietFns.length){const e=this._whenQuietFns;this._whenQuietFns=[],t.length?a(t).onDone(()=>{e.forEach(e=>e())}):e.forEach(e=>e())}}reportError(e){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${e.join("\n")}`)}_flushAnimations(e,t){const n=new he,i=[],r=new Map,s=[],c=new Map,l=new Map,u=new Map,d=new Set;this.disabledNodes.forEach(e=>{d.add(e);const t=this.driver.query(e,".ng-animate-queued",!0);for(let n=0;n{const n=T+m++;b.set(t,n),e.forEach(e=>Ke(e,n))});const y=[],v=new Set,C=new Set;for(let o=0;ov.add(e)):C.add(e))}const w=new Map,S=Ye(f,Array.from(v));S.forEach((e,t)=>{const n=k+m++;w.set(t,n),e.forEach(e=>Ke(e,n))}),e.push(()=>{g.forEach((e,t)=>{const n=b.get(t);e.forEach(e=>Xe(e,n))}),S.forEach((e,t)=>{const n=w.get(t);e.forEach(e=>Xe(e,n))}),y.forEach(e=>{this.processLeaveNode(e)})});const _=[],O=[];for(let o=this._namespaceList.length-1;o>=0;o--)this._namespaceList[o].drainQueuedTransitions(t).forEach(e=>{const t=e.player,r=e.element;if(_.push(t),this.collectedEnterElements.length){const e=r.__ng_removed;if(e&&e.setForMove)return void t.destroy()}const o=!p||!this.driver.containsElement(p,r),a=w.get(r),d=b.get(r),f=this._buildInstruction(e,n,d,a,o);if(f.errors&&f.errors.length)O.push(f);else{if(o)return t.onStart(()=>B(r,f.fromStyles)),t.onDestroy(()=>F(r,f.toStyles)),void i.push(t);if(e.isFallbackTransition)return t.onStart(()=>B(r,f.fromStyles)),t.onDestroy(()=>F(r,f.toStyles)),void i.push(t);f.timelines.forEach(e=>e.stretchStartingKeyframe=!0),n.append(r,f.timelines),s.push({instruction:f,player:t,element:r}),f.queriedElements.forEach(e=>h(c,e,[]).push(t)),f.preStyleProps.forEach((e,t)=>{const n=Object.keys(e);if(n.length){let e=l.get(t);e||l.set(t,e=new Set),n.forEach(t=>e.add(t))}}),f.postStyleProps.forEach((e,t)=>{const n=Object.keys(e);let i=u.get(t);i||u.set(t,i=new Set),n.forEach(e=>i.add(e))})}});if(O.length){const e=[];O.forEach(t=>{e.push(`@${t.triggerName} has failed due to:\n`),t.errors.forEach(t=>e.push(`- ${t}\n`))}),_.forEach(e=>e.destroy()),this.reportError(e)}const x=new Map,z=new Map;s.forEach(e=>{const t=e.element;n.has(t)&&(z.set(t,t),this._beforeAnimationBuild(e.player.namespaceId,e.instruction,x))}),i.forEach(e=>{const t=e.element;this._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach(e=>{h(x,t,[]).push(e),e.destroy()})});const P=y.filter(e=>Ze(e,l,u)),E=new Map;Ge(E,this.driver,C,u,o.a).forEach(e=>{Ze(e,l,u)&&P.push(e)});const D=new Map;g.forEach((e,t)=>{Ge(D,this.driver,new Set(e),l,o.n)}),P.forEach(e=>{const t=E.get(e),n=D.get(e);E.set(e,Object.assign(Object.assign({},t),n))});const I=[],A=[],R={};s.forEach(e=>{const{element:t,player:o,instruction:s}=e;if(n.has(t)){if(d.has(t))return o.onDestroy(()=>F(t,s.toStyles)),o.disabled=!0,o.overrideTotalTime(s.totalTime),void i.push(o);let e=R;if(z.size>1){let n=t;const i=[];for(;n=n.parentNode;){const t=z.get(n);if(t){e=t;break}i.push(n)}i.forEach(t=>z.set(t,e))}const n=this._buildAnimation(o.namespaceId,s,x,r,D,E);if(o.setRealPlayer(n),e===R)I.push(o);else{const t=this.playersByElement.get(e);t&&t.length&&(o.parentPlayer=a(t)),i.push(o)}}else B(t,s.fromStyles),o.onDestroy(()=>F(t,s.toStyles)),A.push(o),d.has(t)&&i.push(o)}),A.forEach(e=>{const t=r.get(e.element);if(t&&t.length){const n=a(t);e.setRealPlayer(n)}}),i.forEach(e=>{e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(let o=0;o!e.destroyed);i.length?qe(this,e,i):this.processLeaveNode(e)}return y.length=0,I.forEach(e=>{this.players.push(e),e.onDone(()=>{e.destroy();const t=this.players.indexOf(e);this.players.splice(t,1)}),e.play()}),I}elementContainsData(e,t){let n=!1;const i=t.__ng_removed;return i&&i.setForRemoval&&(n=!0),this.playersByElement.has(t)&&(n=!0),this.playersByQueriedElement.has(t)&&(n=!0),this.statesByElement.has(t)&&(n=!0),this._fetchNamespace(e).elementContainsData(t)||n}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,n,i,r){let o=[];if(t){const t=this.playersByQueriedElement.get(e);t&&(o=t)}else{const t=this.playersByElement.get(e);if(t){const e=!r||r==Fe;t.forEach(t=>{t.queued||(e||t.triggerName==i)&&o.push(t)})}}return(n||i)&&(o=o.filter(e=>!(n&&n!=e.namespaceId||i&&i!=e.triggerName))),o}_beforeAnimationBuild(e,t,n){const i=t.element,r=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:t.triggerName;for(const s of t.timelines){const e=s.element,a=e!==i,c=h(n,e,[]);this._getPreviousPlayers(e,a,r,o,t.toState).forEach(e=>{const t=e.getRealPlayer();t.beforeDestroy&&t.beforeDestroy(),e.destroy(),c.push(e)})}B(i,t.fromStyles)}_buildAnimation(e,t,n,i,r,s){const l=t.triggerName,u=t.element,d=[],p=new Set,f=new Set,g=t.timelines.map(t=>{const a=t.element;p.add(a);const h=a.__ng_removed;if(h&&h.removedBeforeQueried)return new o.d(t.duration,t.delay);const g=a!==u,b=function(e){const t=[];return Je(e,t),t}((n.get(a)||je).map(e=>e.getRealPlayer())).filter(e=>!!e.element&&e.element===a),m=r.get(a),y=s.get(a),v=c(0,this._normalizer,0,t.keyframes,m,y),C=this._buildPlayer(t,v,b);if(t.subTimeline&&i&&f.add(a),g){const t=new Ue(e,l,a);t.setRealPlayer(C),d.push(t)}return C});d.forEach(e=>{h(this.playersByQueriedElement,e.element,[]).push(e),e.onDone(()=>function(e,t,n){let i;if(e instanceof Map){if(i=e.get(t),i){if(i.length){const e=i.indexOf(n);i.splice(e,1)}0==i.length&&e.delete(t)}}else if(i=e[t],i){if(i.length){const e=i.indexOf(n);i.splice(e,1)}0==i.length&&delete e[t]}return i}(this.playersByQueriedElement,e.element,e))}),p.forEach(e=>Ke(e,D));const b=a(g);return b.onDestroy(()=>{p.forEach(e=>Xe(e,D)),F(u,t.toStyles)}),f.forEach(e=>{h(i,e,[]).push(b)}),b}_buildPlayer(e,t,n){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new o.d(e.duration,e.delay)}}class Ue{constructor(e,t,n){this.namespaceId=e,this.triggerName=t,this.element=n,this._player=new o.d,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach(t=>{this._queuedCallbacks[t].forEach(n=>l(e,t,void 0,n))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){const t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){h(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){const t=this._player;t.triggerCallback&&t.triggerCallback(e)}}function $e(e){return e&&1===e.nodeType}function Qe(e,t){const n=e.style.display;return e.style.display=null!=t?t:"none",n}function Ge(e,t,n,i,r){const o=[];n.forEach(e=>o.push(Qe(e)));const s=[];i.forEach((n,i)=>{const o={};n.forEach(e=>{const n=o[e]=t.computeStyle(i,e,r);n&&0!=n.length||(i.__ng_removed=Le,s.push(i))}),e.set(i,o)});let a=0;return n.forEach(e=>Qe(e,o[a++])),s}function Ye(e,t){const n=new Map;if(e.forEach(e=>n.set(e,[])),0==t.length)return n;const i=new Set(t),r=new Map;function o(e){if(!e)return 1;let t=r.get(e);if(t)return t;const s=e.parentNode;return t=n.has(s)?s:i.has(s)?1:o(s),r.set(e,t),t}return t.forEach(e=>{const t=o(e);1!==t&&n.get(t).push(e)}),n}function Ke(e,t){if(e.classList)e.classList.add(t);else{let n=e.$$classes;n||(n=e.$$classes={}),n[t]=!0}}function Xe(e,t){if(e.classList)e.classList.remove(t);else{let n=e.$$classes;n&&delete n[t]}}function qe(e,t,n){a(n).onDone(()=>e.processLeaveNode(t))}function Je(e,t){for(let n=0;nr.add(e)):t.set(e,i),n.delete(e),!0}class et{constructor(e,t,n){this.bodyNode=e,this._driver=t,this._triggerCache={},this.onRemovalComplete=(e,t)=>{},this._transitionEngine=new He(e,t,n),this._timelineEngine=new Me(e,t,n),this._transitionEngine.onRemovalComplete=(e,t)=>this.onRemovalComplete(e,t)}registerTrigger(e,t,n,i,r){const o=e+"-"+i;let s=this._triggerCache[o];if(!s){const e=[],t=oe(this._driver,r,e);if(e.length)throw new Error(`The animation trigger "${i}" has failed to build due to the following errors:\n - ${e.join("\n - ")}`);s=function(e,t){return new Pe(e,t)}(i,t),this._triggerCache[o]=s}this._transitionEngine.registerTrigger(t,i,s)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,n,i){this._transitionEngine.insertNode(e,t,n,i)}onRemove(e,t,n,i){this._transitionEngine.removeNode(e,t,i||!1,n)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,n,i){if("@"==n.charAt(0)){const[e,r]=p(n);this._timelineEngine.command(e,t,r,i)}else this._transitionEngine.trigger(e,t,n,i)}listen(e,t,n,i,r){if("@"==n.charAt(0)){const[e,i]=p(n);return this._timelineEngine.listen(e,t,i,r)}return this._transitionEngine.listen(e,t,n,i,r)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function tt(e,t){let n=null,i=null;return Array.isArray(t)&&t.length?(n=it(t[0]),t.length>1&&(i=it(t[t.length-1]))):t&&(n=it(t)),n||i?new nt(e,n,i):null}let nt=(()=>{class e{constructor(t,n,i){this._element=t,this._startStyles=n,this._endStyles=i,this._state=0;let r=e.initialStylesByElement.get(t);r||e.initialStylesByElement.set(t,r={}),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&F(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(F(this._element,this._initialStyles),this._endStyles&&(F(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(B(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(B(this._element,this._endStyles),this._endStyles=null),F(this._element,this._initialStyles),this._state=3)}}return e.initialStylesByElement=new WeakMap,e})();function it(e){let t=null;const n=Object.keys(e);for(let i=0;ithis._handleCallback(e)}apply(){!function(e,t){const n=pt(e,"").trim();n.length&&(function(e,t){let n=0;for(let i=0;i=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),dt(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(e,t){const n=pt(e,"").split(","),i=ut(n,t);i>=0&&(n.splice(i,1),ht(e,"",n.join(",")))}(this._element,this._name))}}function ct(e,t,n){ht(e,"PlayState",n,lt(e,t))}function lt(e,t){const n=pt(e,"");return n.indexOf(",")>0?ut(n.split(","),t):ut([n],t)}function ut(e,t){for(let n=0;n=0)return n;return-1}function dt(e,t,n){n?e.removeEventListener(st,t):e.addEventListener(st,t)}function ht(e,t,n,i){const r=ot+t;if(null!=i){const t=e.style[r];if(t.length){const e=t.split(",");e[i]=n,n=e.join(",")}}e.style[r]=n}function pt(e,t){return e.style[ot+t]||""}class ft{constructor(e,t,n,i,r,o,s,a){this.element=e,this.keyframes=t,this.animationName=n,this._duration=i,this._delay=r,this._finalStyles=s,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=o||"linear",this.totalTime=i+r,this._buildStyler()}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(e=>e()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(e){this._styler.setPosition(e)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new at(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}beforeDestroy(){this.init();const e={};if(this.hasStarted()){const t=this._state>=3;Object.keys(this._finalStyles).forEach(n=>{"offset"!=n&&(e[n]=t?this._finalStyles[n]:J(this.element,n))})}this.currentSnapshot=e}}class gt extends o.d{constructor(e,t){super(),this.element=e,this._startingStyles={},this.__initialized=!1,this._styles=O(t)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(e=>{this._startingStyles[e]=this.element.style[e]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(e=>this.element.style.setProperty(e,this._styles[e])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach(e=>{const t=this._startingStyles[e];t?this.element.style.setProperty(e,t):this.element.style.removeProperty(e)}),this._startingStyles=null,super.destroy())}}class bt{constructor(){this._count=0,this._head=document.querySelector("head")}validateStyleProperty(e){return C(e)}matchesElement(e,t){return w(e,t)}containsElement(e,t){return S(e,t)}query(e,t,n){return _(e,t,n)}computeStyle(e,t,n){return window.getComputedStyle(e)[t]}buildKeyframeElement(e,t,n){n=n.map(e=>O(e));let i=`@keyframes ${t} {\n`,r="";n.forEach(e=>{r=" ";const t=parseFloat(e.offset);i+=`${r}${100*t}% {\n`,r+=" ",Object.keys(e).forEach(t=>{const n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(i+=`${r}animation-timing-function: ${n};\n`));default:return void(i+=`${r}${t}: ${n};\n`)}}),i+=`${r}}\n`}),i+="}\n";const o=document.createElement("style");return o.textContent=i,o}animate(e,t,n,i,r,o=[],s){const a=o.filter(e=>e instanceof ft),c={};K(n,i)&&a.forEach(e=>{let t=e.currentSnapshot;Object.keys(t).forEach(e=>c[e]=t[e])});const l=function(e){let t={};return e&&(Array.isArray(e)?e:[e]).forEach(e=>{Object.keys(e).forEach(n=>{"offset"!=n&&"easing"!=n&&(t[n]=e[n])})}),t}(t=X(e,t,c));if(0==n)return new gt(e,l);const u="gen_css_kf_"+this._count++,d=this.buildKeyframeElement(e,u,t);document.querySelector("head").appendChild(d);const h=tt(e,t),p=new ft(e,t,u,n,i,r,l,h);return p.onDestroy(()=>{var e;(e=d).parentNode.removeChild(e)}),p}}class mt{constructor(e,t,n,i){this.element=e,this.keyframes=t,this.options=n,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(e,t,n){return e.animate(t,n)}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer.currentTime=e*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(t=>{"offset"!=t&&(e[t]=this._finished?this._finalKeyframe[t]:J(this.element,t))}),this.currentSnapshot=e}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}class yt{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(vt().toString()),this._cssKeyframesDriver=new bt}validateStyleProperty(e){return C(e)}matchesElement(e,t){return w(e,t)}containsElement(e,t){return S(e,t)}query(e,t,n){return _(e,t,n)}computeStyle(e,t,n){return window.getComputedStyle(e)[t]}overrideWebAnimationsSupport(e){this._isNativeImpl=e}animate(e,t,n,i,r,o=[],s){if(!s&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,n,i,r,o);const a={duration:n,delay:i,fill:0==i?"both":"forwards"};r&&(a.easing=r);const c={},l=o.filter(e=>e instanceof mt);K(n,i)&&l.forEach(e=>{let t=e.currentSnapshot;Object.keys(t).forEach(e=>c[e]=t[e])});const u=tt(e,t=X(e,t=t.map(e=>V(e,!1)),c));return new mt(e,t,a,u)}}function vt(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var Ct=n("ofXK");let wt=(()=>{class e extends o.b{constructor(e,t){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(t.body,{id:"0",encapsulation:i.S.None,styles:[],data:{animation:[]}})}build(e){const t=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(e)?Object(o.g)(e):e;return Ot(this._renderer,null,t,"register",[n]),new St(t,this._renderer)}}return e.\u0275fac=function(t){return new(t||e)(i.hc(i.H),i.hc(Ct.e))},e.\u0275prov=i.Mb({token:e,factory:e.\u0275fac}),e})();class St extends o.c{constructor(e,t){super(),this._id=e,this._renderer=t}create(e,t){return new _t(this._id,e,t||{},this._renderer)}}class _t{constructor(e,t,n,i){this.id=e,this.element=t,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(e,t){return this._renderer.listen(this.element,`@@${this.id}:${e}`,t)}_command(e,...t){return Ot(this._renderer,this.element,this.id,e,t)}onDone(e){this._listen("done",e)}onStart(e){this._listen("start",e)}onDestroy(e){this._listen("destroy",e)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset")}setPosition(e){this._command("setPosition",e)}getPosition(){var e,t;return null!==(t=null===(e=this._renderer.engine.players[+this.id])||void 0===e?void 0:e.getPosition())&&void 0!==t?t:0}}function Ot(e,t,n,i,r){return e.setProperty(t,`@@${n}:${i}`,r)}const xt="@",zt="@.disabled";let Tt=(()=>{class e{constructor(e,t,n){this.delegate=e,this.engine=t,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),t.onRemovalComplete=(e,t)=>{t&&t.parentNode(e)&&t.removeChild(e.parentNode,e)}}createRenderer(e,t){const n=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){let e=this._rendererCache.get(n);return e||(e=new kt("",n,this.engine),this._rendererCache.set(n,e)),e}const i=t.id,r=t.id+"-"+this._currentId;this._currentId++,this.engine.register(r,e);const o=t=>{Array.isArray(t)?t.forEach(o):this.engine.registerTrigger(i,r,e,t.name,t)};return t.data.animation.forEach(o),new Pt(this,r,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,n){e>=0&&et(n)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(e=>{const[t,n]=e;t(n)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([t,n]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return e.\u0275fac=function(t){return new(t||e)(i.hc(i.H),i.hc(et),i.hc(i.B))},e.\u0275prov=i.Mb({token:e,factory:e.\u0275fac}),e})();class kt{constructor(e,t,n){this.namespaceId=e,this.delegate=t,this.engine=n,this.destroyNode=this.delegate.destroyNode?e=>t.destroyNode(e):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,n,i=!0){this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,i)}removeChild(e,t,n){this.engine.onRemove(this.namespaceId,t,this.delegate,n)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,n,i){this.delegate.setAttribute(e,t,n,i)}removeAttribute(e,t,n){this.delegate.removeAttribute(e,t,n)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,n,i){this.delegate.setStyle(e,t,n,i)}removeStyle(e,t,n){this.delegate.removeStyle(e,t,n)}setProperty(e,t,n){t.charAt(0)==xt&&t==zt?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,n){return this.delegate.listen(e,t,n)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}}class Pt extends kt{constructor(e,t,n,i){super(t,n,i),this.factory=e,this.namespaceId=t}setProperty(e,t,n){t.charAt(0)==xt?"."==t.charAt(1)&&t==zt?this.disableAnimations(e,n=void 0===n||!!n):this.engine.process(this.namespaceId,e,t.substr(1),n):this.delegate.setProperty(e,t,n)}listen(e,t,n){if(t.charAt(0)==xt){const i=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(e);let r=t.substr(1),o="";return r.charAt(0)!=xt&&([r,o]=function(e){const t=e.indexOf(".");return[e.substring(0,t),e.substr(t+1)]}(r)),this.engine.listen(this.namespaceId,i,r,o,e=>{this.factory.scheduleListenerCallback(e._data||-1,n,e)})}return this.delegate.listen(e,t,n)}}let Et=(()=>{class e extends et{constructor(e,t,n){super(e.body,t,n)}}return e.\u0275fac=function(t){return new(t||e)(i.hc(Ct.e),i.hc(z),i.hc(Se))},e.\u0275prov=i.Mb({token:e,factory:e.\u0275fac}),e})();const Dt=new i.r("AnimationModuleType"),Mt=[{provide:z,useFactory:function(){return"function"==typeof vt()?new yt:new bt}},{provide:Dt,useValue:"BrowserAnimations"},{provide:o.b,useClass:wt},{provide:Se,useFactory:function(){return new _e}},{provide:et,useClass:Et},{provide:i.H,useFactory:function(e,t,n){return new Tt(e,t,n)},deps:[r.f,et,i.B]}];let It=(()=>{class e{}return e.\u0275mod=i.Ob({type:e}),e.\u0275inj=i.Nb({factory:function(t){return new(t||e)},providers:Mt,imports:[r.a]}),e})()},Rm4T:function(e,t,n){"use strict";n.d(t,"a",function(){return ko}),n.d(t,"b",function(){return Oo}),n.d(t,"c",function(){return _o}),n.d(t,"d",function(){return So}),n.d(t,"e",function(){return Do}),n.d(t,"f",function(){return yo}),n.d(t,"g",function(){return Mo}),n.d(t,"h",function(){return Io}),n.d(t,"i",function(){return Ao}),n.d(t,"j",function(){return Ro}),n.d(t,"k",function(){return jo}),n.d(t,"l",function(){return Vo}),n.d(t,"m",function(){return Lo}),n.d(t,"n",function(){return vo});var i=n("fXoL"),r=n("79xS"),o=n("2Vo4"),s=n("ofXK"),a=n("/Tr7"),c=n("aetl"),l=n("jIYg");function u(e){return Object(l.a)(1,arguments),Object(c.a)(e,{weekStartsOn:1})}function d(e){Object(l.a)(1,arguments);var t=Object(a.a)(e),n=t.getFullYear(),i=new Date(0);i.setFullYear(n+1,0,4),i.setHours(0,0,0,0);var r=u(i),o=new Date(0);o.setFullYear(n,0,4),o.setHours(0,0,0,0);var s=u(o);return t.getTime()>=r.getTime()?n+1:t.getTime()>=s.getTime()?n:n-1}function h(e){Object(l.a)(1,arguments);var t=d(e),n=new Date(0);n.setFullYear(t,0,4),n.setHours(0,0,0,0);var i=u(n);return i}var p=6048e5,f=n("sWYD"),g=n("48Xl"),b=n("g9KO"),m=n("+LmI"),y=n("Ib5w"),v=n("JCDJ"),C=n("3REe"),w=n("/h9T");function S(e){return S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},S(e)}function _(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&O(e,t)}function O(e,t){return O=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},O(e,t)}function x(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,i=k(e);if(t){var r=k(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return z(this,n)}}function z(e,t){return!t||"object"!==S(t)&&"function"!=typeof t?T(e):t}function T(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k(e){return k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},k(e)}function P(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function E(e,t){for(var n=0;n0,r=i?t:1-t;if(r<=50)n=e||100;else{var o=r+50;n=e+100*Math.floor(o/100)-(e>=o%100?100:0)}return i?n:1-n}function Oe(e){return e%400==0||e%4==0&&e%100!=0}function xe(e){return xe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},xe(e)}function ze(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Te(e,t){return Te=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Te(e,t)}function ke(e,t){return!t||"object"!==xe(t)&&"function"!=typeof t?Pe(e):t}function Pe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ee(e){return Ee=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Ee(e)}function De(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Me=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Te(e,t)}(o,e);var t,n,i,r=(n=o,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=Ee(n);if(i){var r=Ee(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return ke(this,e)});function o(){var e;ze(this,o);for(var t=arguments.length,n=new Array(t),i=0;i0}},{key:"set",value:function(e,t,n){var i=e.getUTCFullYear();if(n.isTwoDigitYear){var r=_e(n.year,i);return e.setUTCFullYear(r,0,1),e.setUTCHours(0,0,0,0),e}return e.setUTCFullYear("era"in t&&1!==t.era?1-n.year:n.year,0,1),e.setUTCHours(0,0,0,0),e}}])&&function(e,t){for(var n=0;n0}},{key:"set",value:function(e,t,n,i){var r=Object(Ie.a)(e,i);if(n.isTwoDigitYear){var o=_e(n.year,r);return e.setUTCFullYear(o,0,i.firstWeekContainsDate),e.setUTCHours(0,0,0,0),Object(Ae.a)(e,i)}return e.setUTCFullYear("era"in t&&1!==t.era?1-n.year:n.year,0,i.firstWeekContainsDate),e.setUTCHours(0,0,0,0),Object(Ae.a)(e,i)}}])&&function(e,t){for(var n=0;n=1&&t<=4}},{key:"set",value:function(e,t,n){return e.setUTCMonth(3*(n-1),1),e.setUTCHours(0,0,0,0),e}}])&&function(e,t){for(var n=0;n=1&&t<=4}},{key:"set",value:function(e,t,n){return e.setUTCMonth(3*(n-1),1),e.setUTCHours(0,0,0,0),e}}])&&function(e,t){for(var n=0;n=0&&t<=11}},{key:"set",value:function(e,t,n){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e}}])&&function(e,t){for(var n=0;n=0&&t<=11}},{key:"set",value:function(e,t,n){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e}}])&&function(e,t){for(var n=0;n=1&&t<=53}},{key:"set",value:function(e,t,n,i){return Object(Ae.a)(function(e,t,n){Object(l.a)(2,arguments);var i=Object(a.a)(e),r=Object(w.a)(t),o=Object(Lt.a)(i,n)-r;return i.setUTCDate(i.getUTCDate()-7*o),i}(e,n,i),i)}}],t&&function(e,t){for(var n=0;n=1&&t<=53}},{key:"set",value:function(e,t,n){return Object(He.a)(function(e,t){Object(l.a)(2,arguments);var n=Object(a.a)(e),i=Object(w.a)(t),r=Object(Gt.a)(n)-i;return n.setUTCDate(n.getUTCDate()-7*r),n}(e,n))}}],t&&function(e,t){for(var n=0;n=1&&t<=dn[i]:t>=1&&t<=un[i]}},{key:"set",value:function(e,t,n){return e.setUTCDate(n),e.setUTCHours(0,0,0,0),e}}])&&function(e,t){for(var n=0;n=1&&t<=366:t>=1&&t<=365}},{key:"set",value:function(e,t,n){return e.setUTCMonth(0,n),e.setUTCHours(0,0,0,0),e}}])&&function(e,t){for(var n=0;n=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var g=Object(a.a)(e),b=Object(w.a)(t),m=g.getUTCDay(),y=b%7,v=(y+7)%7,C=(v=0&&t<=6}},{key:"set",value:function(e,t,n,i){return(e=Sn(e,n,i)).setUTCHours(0,0,0,0),e}}])&&function(e,t){for(var n=0;n=0&&t<=6}},{key:"set",value:function(e,t,n,i){return(e=Sn(e,n,i)).setUTCHours(0,0,0,0),e}}])&&function(e,t){for(var n=0;n=0&&t<=6}},{key:"set",value:function(e,t,n,i){return(e=Sn(e,n,i)).setUTCHours(0,0,0,0),e}}])&&function(e,t){for(var n=0;n=1&&t<=7}},{key:"set",value:function(e,t,n){return e=function(e,t){Object(l.a)(2,arguments);var n=Object(w.a)(t);n%7==0&&(n-=7);var i=1,r=Object(a.a)(e),o=r.getUTCDay(),s=((n%7+7)%7=1&&t<=12}},{key:"set",value:function(e,t,n){var i=e.getUTCHours()>=12;return e.setUTCHours(i&&n<12?n+12:i||12!==n?n:0,0,0,0),e}}])&&function(e,t){for(var n=0;n=0&&t<=23}},{key:"set",value:function(e,t,n){return e.setUTCHours(n,0,0,0),e}}])&&function(e,t){for(var n=0;n=0&&t<=11}},{key:"set",value:function(e,t,n){var i=e.getUTCHours()>=12;return e.setUTCHours(i&&n<12?n+12:n,0,0,0),e}}])&&function(e,t){for(var n=0;n=1&&t<=24}},{key:"set",value:function(e,t,n){return e.setUTCHours(n<=24?n%24:n,0,0,0),e}}])&&function(e,t){for(var n=0;n=0&&t<=59}},{key:"set",value:function(e,t,n){return e.setUTCMinutes(n,0,0),e}}])&&function(e,t){for(var n=0;n=0&&t<=59}},{key:"set",value:function(e,t,n){return e.setUTCSeconds(n,0),e}}])&&function(e,t){for(var n=0;n=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,a=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return s=e.done,e},e:function(e){a=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(a)throw o}}}}function co(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n{class e{constructor(e,t){this._change=new o.a(this._locale),this.setLocale(e||vo),this.setDateLocale(t||null)}get localeChange(){return this._change.asObservable()}translate(e,t){let n=this._getObjectPath(this._locale,e);return"string"==typeof n?(t&&Object.keys(t).forEach(e=>n=n.replace(new RegExp(`%${e}%`,"g"),t[e])),n):e}setLocale(e){this._locale&&this._locale.locale===e.locale||(this._locale=e,this._change.next(e))}getLocale(){return this._locale}getLocaleId(){return this._locale?this._locale.locale:""}setDateLocale(e){this.dateLocale=e}getDateLocale(){return this.dateLocale}getLocaleData(e,t){const n=e?this._getObjectPath(this._locale,e):this._locale;return n||t||Object(r.b)(`Missing translations for "${e}" in language "${this._locale.locale}".\nYou can use "NzI18nService.setLocale" as a temporary fix.\nWelcome to submit a pull request to help us optimize the translations!\nhttps://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md`),n||t||this._getObjectPath(yo,e)||{}}_getObjectPath(e,t){let n=e;const i=t.split("."),r=i.length;let o=0;for(;n&&o{class e{constructor(e){this._locale=e}transform(e,t){return this._locale.translate(e,t)}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(So))},e.\u0275pipe=i.Pb({name:"nzI18n",type:e,pure:!0}),e})(),Oo=(()=>{class e{}return e.\u0275mod=i.Ob({type:e}),e.\u0275inj=i.Nb({factory:function(t){return new(t||e)}}),e})();const xo=new i.r("date-config"),zo={firstDayOfWeek:void 0};function To(e,t){const n=e.get(So);return n.getDateLocale()?new Po(n,t):new Eo(n,t)}let ko=(()=>{class e{constructor(e,t){this.i18n=e,this.config=t,this.config=function(e){return Object.assign(Object.assign({},zo),e)}(this.config)}}return e.\u0275fac=function(t){return new(t||e)(i.hc(So),i.hc(xo,8))},e.\u0275prov=Object(i.Mb)({factory:function(){return To(Object(i.hc)(i.o),Object(i.hc)(xo,8))},token:e,providedIn:"root"}),e})(),Po=(()=>{class e extends ko{getISOWeek(e){return function(e){Object(l.a)(1,arguments);var t=Object(a.a)(e),n=u(t).getTime()-h(t).getTime();return Math.round(n/p)+1}(e)}getFirstDayOfWeek(){let e;try{e=this.i18n.getDateLocale().options.weekStartsOn}catch(t){e=1}return null==this.config.firstDayOfWeek?e:this.config.firstDayOfWeek}format(e,t){return e?Object(f.a)(e,t,{locale:this.i18n.getDateLocale()}):""}parseDate(e,t){return function(e,t,n,i){var r,o,s,c,u,d,h,p,f,S,_,O,x,z,T,k,P,E;Object(l.a)(3,arguments);var D=String(e),M=String(t),I=Object(wn.a)(),A=null!==(r=null!==(o=null==i?void 0:i.locale)&&void 0!==o?o:I.locale)&&void 0!==r?r:g.a;if(!A.match)throw new RangeError("locale must contain match property");var j=Object(w.a)(null!==(s=null!==(c=null!==(u=null!==(d=null==i?void 0:i.firstWeekContainsDate)&&void 0!==d?d:null==i||null===(h=i.locale)||void 0===h||null===(p=h.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==u?u:I.firstWeekContainsDate)&&void 0!==c?c:null===(f=I.locale)||void 0===f||null===(S=f.options)||void 0===S?void 0:S.firstWeekContainsDate)&&void 0!==s?s:1);if(!(j>=1&&j<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var V=Object(w.a)(null!==(_=null!==(O=null!==(x=null!==(z=null==i?void 0:i.weekStartsOn)&&void 0!==z?z:null==i||null===(T=i.locale)||void 0===T||null===(k=T.options)||void 0===k?void 0:k.weekStartsOn)&&void 0!==x?x:I.weekStartsOn)&&void 0!==O?O:null===(P=I.locale)||void 0===P||null===(E=P.options)||void 0===E?void 0:E.weekStartsOn)&&void 0!==_?_:0);if(!(V>=0&&V<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===M)return""===D?Object(a.a)(n):new Date(NaN);var L,N={firstWeekContainsDate:j,weekStartsOn:V,locale:A},F=[new R],B=M.match(uo).map(function(e){var t=e[0];return t in y.a?(0,y.a[t])(e,A.formatLong):e}).join("").match(lo),W=[],H=ao(B);try{var U=function(){var t=L.value;null!=i&&i.useAdditionalWeekYearTokens||!Object(C.b)(t)||Object(C.c)(t,M,e),null!=i&&i.useAdditionalDayOfYearTokens||!Object(C.a)(t)||Object(C.c)(t,M,e);var n=t[0],r=oo[n];if(r){var o=r.incompatibleTokens;if(Array.isArray(o)){var s=W.find(function(e){return o.includes(e.token)||e.token===n});if(s)throw new RangeError("The format string mustn't contain `".concat(s.fullToken,"` and `").concat(t,"` at the same time"))}else if("*"===r.incompatibleTokens&&W.length>0)throw new RangeError("The format string mustn't contain `".concat(t,"` and any other token at the same time"));W.push({token:n,fullToken:t});var a=r.run(D,t,A.match,N);if(!a)return{v:new Date(NaN)};F.push(a.setter),D=a.rest}else{if(n.match(go))throw new RangeError("Format string contains an unescaped latin alphabet character `"+n+"`");if("''"===t?t="'":"'"===n&&(t=bo(t)),0!==D.indexOf(t))return{v:new Date(NaN)};D=D.slice(t.length)}};for(H.s();!(L=H.n()).done;){var $=U();if("object"===so($))return $.v}}catch(ee){H.e(ee)}finally{H.f()}if(D.length>0&&fo.test(D))return new Date(NaN);var Q=F.map(function(e){return e.priority}).sort(function(e,t){return t-e}).filter(function(e,t,n){return n.indexOf(e)===t}).map(function(e){return F.filter(function(t){return t.priority===e}).sort(function(e,t){return t.subPriority-e.subPriority})}).map(function(e){return e[0]}),G=Object(a.a)(n);if(isNaN(G.getTime()))return new Date(NaN);var Y,K=Object(b.a)(G,Object(v.a)(G)),X={},q=ao(Q);try{for(q.s();!(Y=q.n()).done;){var J=Y.value;if(!J.validate(K,N))return new Date(NaN);var Z=J.set(K,X,N);Array.isArray(Z)?(K=Z[0],Object(m.a)(X,Z[1])):K=Z}}catch(ee){q.e(ee)}finally{q.f()}return K}(e,t,new Date,{locale:this.i18n.getDateLocale(),weekStartsOn:this.getFirstDayOfWeek()})}parseTime(e,t){return this.parseDate(e,t)}}return e.\u0275prov=Object(i.Mb)({factory:function(){return To(Object(i.hc)(i.o),Object(i.hc)(xo,8))},token:e,providedIn:"root"}),e})(),Eo=(()=>{class e extends ko{getISOWeek(e){return+this.format(e,"w")}getFirstDayOfWeek(){if(void 0===this.config.firstDayOfWeek){const e=this.i18n.getLocaleId();return e&&["zh-cn","zh-tw"].indexOf(e.toLowerCase())>-1?1:0}return this.config.firstDayOfWeek}format(e,t){return e?Object(s.y)(e,t,this.i18n.getLocaleId()):""}parseDate(e){return new Date(e)}parseTime(e,t){return new mo.e(t,this.i18n.getLocaleId()).toDate(e)}}return e.\u0275prov=Object(i.Mb)({factory:function(){return To(Object(i.hc)(i.o),Object(i.hc)(xo,8))},token:e,providedIn:"root"}),e})();var Do={locale:"ar",Pagination:{items_per_page:"/ \u0627\u0644\u0635\u0641\u062d\u0629",jump_to:"\u0627\u0644\u0630\u0647\u0627\u0628 \u0625\u0644\u0649",jump_to_confirm:"\u062a\u0623\u0643\u064a\u062f",page:"",prev_page:"\u0627\u0644\u0635\u0641\u062d\u0629 \u0627\u0644\u0633\u0627\u0628\u0642\u0629",next_page:"\u0627\u0644\u0635\u0641\u062d\u0629 \u0627\u0644\u062a\u0627\u0644\u064a\u0629",prev_5:"\u062e\u0645\u0633 \u0635\u0641\u062d\u0627\u062a \u0633\u0627\u0628\u0642\u0629",next_5:"\u062e\u0645\u0633 \u0635\u0641\u062d\u0627\u062a \u062a\u0627\u0644\u064a\u0629",prev_3:"\u062b\u0644\u0627\u062b \u0635\u0641\u062d\u0627\u062a \u0633\u0627\u0628\u0642\u0629",next_3:"\u062b\u0644\u0627\u062b \u0635\u0641\u062d\u0627\u062a \u062a\u0627\u0644\u064a\u0629"},DatePicker:{lang:{placeholder:"\u0627\u062e\u062a\u064a\u0627\u0631 \u0627\u0644\u062a\u0627\u0631\u064a\u062e",rangePlaceholder:["\u0627\u0644\u0628\u062f\u0627\u064a\u0629","\u0627\u0644\u0646\u0647\u0627\u064a\u0629"],locale:"ar_EG",today:"\u0627\u0644\u064a\u0648\u0645",now:"\u0627\u0644\u0623\u0646",backToToday:"\u0627\u0644\u0639\u0648\u062f\u0629 \u0625\u0644\u0649 \u0627\u0644\u064a\u0648\u0645",ok:"\u062a\u0623\u0643\u064a\u062f",clear:"\u0645\u0633\u062d",month:"\u0627\u0644\u0634\u0647\u0631",year:"\u0627\u0644\u0633\u0646\u0629",timeSelect:"\u0627\u062e\u062a\u064a\u0627\u0631 \u0627\u0644\u0648\u0642\u062a",dateSelect:"\u0627\u062e\u062a\u064a\u0627\u0631 \u0627\u0644\u062a\u0627\u0631\u064a\u062e",monthSelect:"\u0627\u062e\u062a\u064a\u0627\u0631 \u0627\u0644\u0634\u0647\u0631",yearSelect:"\u0627\u062e\u062a\u064a\u0627\u0631 \u0627\u0644\u0633\u0646\u0629",decadeSelect:"\u0627\u062e\u062a\u064a\u0627\u0631 \u0627\u0644\u0639\u0642\u062f",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"\u0627\u0644\u0634\u0647\u0631 \u0627\u0644\u0633\u0627\u0628\u0642 (PageUp)",nextMonth:"\u0627\u0644\u0634\u0647\u0631 \u0627\u0644\u062a\u0627\u0644\u0649(PageDown)",previousYear:"\u0627\u0644\u0639\u0627\u0645 \u0627\u0644\u0633\u0627\u0628\u0642 (Control + left)",nextYear:"\u0627\u0644\u0639\u0627\u0645 \u0627\u0644\u062a\u0627\u0644\u0649 (Control + right)",previousDecade:"\u0627\u0644\u0639\u0642\u062f \u0627\u0644\u0633\u0627\u0628\u0642",nextDecade:"\u0627\u0644\u0639\u0642\u062f \u0627\u0644\u062a\u0627\u0644\u0649",previousCentury:"\u0627\u0644\u0642\u0631\u0646 \u0627\u0644\u0633\u0627\u0628\u0642",nextCentury:"\u0627\u0644\u0642\u0631\u0646 \u0627\u0644\u062a\u0627\u0644\u0649"},timePickerLocale:{placeholder:"\u0627\u062e\u062a\u064a\u0627\u0631 \u0627\u0644\u0648\u0642\u062a"},dateFormat:"DD-MM-YYYY",monthFormat:"MM-YYYY",dateTimeFormat:"DD-MM-YYYY HH:mm:ss",weekFormat:"wo-YYYY"},TimePicker:{placeholder:"\u0627\u062e\u062a\u064a\u0627\u0631 \u0627\u0644\u0648\u0642\u062a"},Calendar:{lang:{placeholder:"\u0627\u062e\u062a\u064a\u0627\u0631 \u0627\u0644\u062a\u0627\u0631\u064a\u062e",rangePlaceholder:["\u0627\u0644\u0628\u062f\u0627\u064a\u0629","\u0627\u0644\u0646\u0647\u0627\u064a\u0629"],locale:"ar_EG",today:"\u0627\u0644\u064a\u0648\u0645",now:"\u0627\u0644\u0623\u0646",backToToday:"\u0627\u0644\u0639\u0648\u062f\u0629 \u0625\u0644\u0649 \u0627\u0644\u064a\u0648\u0645",ok:"\u062a\u0623\u0643\u064a\u062f",clear:"\u0645\u0633\u062d",month:"\u0627\u0644\u0634\u0647\u0631",year:"\u0627\u0644\u0633\u0646\u0629",timeSelect:"\u0627\u062e\u062a\u064a\u0627\u0631 \u0627\u0644\u0648\u0642\u062a",dateSelect:"\u0627\u062e\u062a\u064a\u0627\u0631 \u0627\u0644\u062a\u0627\u0631\u064a\u062e",monthSelect:"\u0627\u062e\u062a\u064a\u0627\u0631 \u0627\u0644\u0634\u0647\u0631",yearSelect:"\u0627\u062e\u062a\u064a\u0627\u0631 \u0627\u0644\u0633\u0646\u0629",decadeSelect:"\u0627\u062e\u062a\u064a\u0627\u0631 \u0627\u0644\u0639\u0642\u062f",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"\u0627\u0644\u0634\u0647\u0631 \u0627\u0644\u0633\u0627\u0628\u0642 (PageUp)",nextMonth:"\u0627\u0644\u0634\u0647\u0631 \u0627\u0644\u062a\u0627\u0644\u0649(PageDown)",previousYear:"\u0627\u0644\u0639\u0627\u0645 \u0627\u0644\u0633\u0627\u0628\u0642 (Control + left)",nextYear:"\u0627\u0644\u0639\u0627\u0645 \u0627\u0644\u062a\u0627\u0644\u0649 (Control + right)",previousDecade:"\u0627\u0644\u0639\u0642\u062f \u0627\u0644\u0633\u0627\u0628\u0642",nextDecade:"\u0627\u0644\u0639\u0642\u062f \u0627\u0644\u062a\u0627\u0644\u0649",previousCentury:"\u0627\u0644\u0642\u0631\u0646 \u0627\u0644\u0633\u0627\u0628\u0642",nextCentury:"\u0627\u0644\u0642\u0631\u0646 \u0627\u0644\u062a\u0627\u0644\u0649"},timePickerLocale:{placeholder:"\u0627\u062e\u062a\u064a\u0627\u0631 \u0627\u0644\u0648\u0642\u062a"},dateFormat:"DD-MM-YYYY",monthFormat:"MM-YYYY",dateTimeFormat:"DD-MM-YYYY HH:mm:ss",weekFormat:"wo-YYYY"},global:{placeholder:"\u064a\u0631\u062c\u0649 \u0627\u0644\u062a\u062d\u062f\u064a\u062f"},Table:{filterTitle:"\u0627\u0644\u0641\u0644\u0627\u062a\u0631",filterConfirm:"\u062a\u0623\u0643\u064a\u062f",filterReset:"\u0625\u0639\u0627\u062f\u0629 \u0636\u0628\u0637",selectAll:"\u0627\u062e\u062a\u064a\u0627\u0631 \u0627\u0644\u0643\u0644",selectInvert:"\u0625\u0644\u063a\u0627\u0621 \u0627\u0644\u0627\u062e\u062a\u064a\u0627\u0631",selectionAll:"\u062d\u062f\u062f \u062c\u0645\u064a\u0639 \u0627\u0644\u0628\u064a\u0627\u0646\u0627\u062a",sortTitle:"\u0631\u062a\u0628",expand:"\u062a\u0648\u0633\u064a\u0639 \u0627\u0644\u0635\u0641",collapse:"\u0637\u064a \u0627\u0644\u0635\u0641",triggerDesc:"\u062a\u0631\u062a\u064a\u0628 \u062a\u0646\u0627\u0632\u0644\u064a",triggerAsc:"\u062a\u0631\u062a\u064a\u0628 \u062a\u0635\u0627\u0639\u062f\u064a",cancelSort:"\u0625\u0644\u063a\u0627\u0621 \u0627\u0644\u062a\u0631\u062a\u064a\u0628"},Modal:{okText:"\u062a\u0623\u0643\u064a\u062f",cancelText:"\u0625\u0644\u063a\u0627\u0621",justOkText:"\u062a\u0623\u0643\u064a\u062f"},Popconfirm:{okText:"\u062a\u0623\u0643\u064a\u062f",cancelText:"\u0625\u0644\u063a\u0627\u0621"},Transfer:{searchPlaceholder:"\u0627\u0628\u062d\u062b \u0647\u0646\u0627",itemUnit:"\u0639\u0646\u0635\u0631",itemsUnit:"\u0639\u0646\u0627\u0635\u0631"},Upload:{uploading:"\u062c\u0627\u0631\u064a \u0627\u0644\u0631\u0641\u0639...",removeFile:"\u0627\u062d\u0630\u0641 \u0627\u0644\u0645\u0644\u0641",uploadError:"\u0645\u0634\u0643\u0644\u0629 \u0641\u0649 \u0627\u0644\u0631\u0641\u0639",previewFile:"\u0627\u0633\u062a\u0639\u0631\u0636 \u0627\u0644\u0645\u0644\u0641",downloadFile:"\u062a\u062d\u0645\u064a\u0644 \u0627\u0644\u0645\u0644\u0641"},Empty:{description:"\u0644\u0627 \u062a\u0648\u062c\u062f \u0628\u064a\u0627\u0646\u0627\u062a"},Icon:{icon:"\u0623\u064a\u0642\u0648\u0646\u0629"},Text:{edit:"\u062a\u0639\u062f\u064a\u0644",copy:"\u0646\u0633\u062e",copied:"\u0646\u0642\u0644",expand:"\u0648\u0633\u0639"},PageHeader:{back:"\u0639\u0648\u062f\u0629"}},Mo={locale:"es",Pagination:{items_per_page:"/ p\xe1gina",jump_to:"Ir a",jump_to_confirm:"confirmar",page:"",prev_page:"P\xe1gina anterior",next_page:"P\xe1gina siguiente",prev_5:"5 p\xe1ginas previas",next_5:"5 p\xe1ginas siguientes",prev_3:"3 p\xe1ginas previas",next_3:"3 p\xe1ginas siguientes"},DatePicker:{lang:{placeholder:"Seleccionar fecha",yearPlaceholder:"Seleccionar a\xf1o",quarterPlaceholder:"Seleccionar trimestre",monthPlaceholder:"Seleccionar mes",weekPlaceholder:"Seleccionar semana",rangePlaceholder:["Fecha inicial","Fecha final"],rangeYearPlaceholder:["A\xf1o inicial","A\xf1o final"],rangeMonthPlaceholder:["Mes inicial","Mes final"],rangeWeekPlaceholder:["Semana inicial","Semana final"],locale:"es_ES",today:"Hoy",now:"Ahora",backToToday:"Volver a hoy",ok:"Aceptar",clear:"Limpiar",month:"Mes",year:"A\xf1o",timeSelect:"Seleccionar hora",dateSelect:"Seleccionar fecha",weekSelect:"Elegir una semana",monthSelect:"Elegir un mes",yearSelect:"Elegir un a\xf1o",decadeSelect:"Elegir una d\xe9cada",yearFormat:"YYYY",dateFormat:"D/M/YYYY",dayFormat:"D",dateTimeFormat:"D/M/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Mes anterior (PageUp)",nextMonth:"Mes siguiente (PageDown)",previousYear:"A\xf1o anterior (Control + left)",nextYear:"A\xf1o siguiente (Control + right)",previousDecade:"D\xe9cada anterior",nextDecade:"D\xe9cada siguiente",previousCentury:"Siglo anterior",nextCentury:"Siglo siguiente"},timePickerLocale:{placeholder:"Seleccionar hora",rangePlaceholder:["Hora inicial","Hora final"]}},TimePicker:{placeholder:"Seleccionar hora",rangePlaceholder:["Hora inicial","Hora final"]},Calendar:{lang:{placeholder:"Seleccionar fecha",yearPlaceholder:"Seleccionar a\xf1o",quarterPlaceholder:"Seleccionar trimestre",monthPlaceholder:"Seleccionar mes",weekPlaceholder:"Seleccionar semana",rangePlaceholder:["Fecha inicial","Fecha final"],rangeYearPlaceholder:["A\xf1o inicial","A\xf1o final"],rangeMonthPlaceholder:["Mes inicial","Mes final"],rangeWeekPlaceholder:["Semana inicial","Semana final"],locale:"es_ES",today:"Hoy",now:"Ahora",backToToday:"Volver a hoy",ok:"Aceptar",clear:"Limpiar",month:"Mes",year:"A\xf1o",timeSelect:"Seleccionar hora",dateSelect:"Seleccionar fecha",weekSelect:"Elegir una semana",monthSelect:"Elegir un mes",yearSelect:"Elegir un a\xf1o",decadeSelect:"Elegir una d\xe9cada",yearFormat:"YYYY",dateFormat:"D/M/YYYY",dayFormat:"D",dateTimeFormat:"D/M/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Mes anterior (PageUp)",nextMonth:"Mes siguiente (PageDown)",previousYear:"A\xf1o anterior (Control + left)",nextYear:"A\xf1o siguiente (Control + right)",previousDecade:"D\xe9cada anterior",nextDecade:"D\xe9cada siguiente",previousCentury:"Siglo anterior",nextCentury:"Siglo siguiente"},timePickerLocale:{placeholder:"Seleccionar hora",rangePlaceholder:["Hora inicial","Hora final"]}},global:{placeholder:"Seleccione"},Table:{filterTitle:"Filtrar men\xfa",filterConfirm:"Aceptar",filterReset:"Reiniciar",filterEmptyText:"Sin filtros",emptyText:"Sin datos",selectAll:"Seleccionar todo",selectInvert:"Invertir selecci\xf3n",selectionAll:"Seleccionar todos los datos",sortTitle:"Ordenar",expand:"Expandir fila",collapse:"Ocultar fila",triggerDesc:"Clic para ordenar descendentemente",triggerAsc:"Clic para ordenar ascedentemente",cancelSort:"Clic para cancelar ordenaci\xf3n"},Modal:{okText:"Aceptar",cancelText:"Cancelar",justOkText:"Aceptar"},Popconfirm:{okText:"Aceptar",cancelText:"Cancelar"},Transfer:{titles:["",""],searchPlaceholder:"Buscar aqu\xed",itemUnit:"elemento",itemsUnit:"elementos",remove:"Eliminar",selectCurrent:"Seleccionar p\xe1gina actual",removeCurrent:"Quitar p\xe1gina actual",selectAll:"Seleccionar todos los datos",removeAll:"Eliminar todos los datos",selectInvert:"Invertir p\xe1gina actual"},Upload:{uploading:"Subiendo...",removeFile:"Eliminar archivo",uploadError:"Error al subir el archivo",previewFile:"Vista previa",downloadFile:"Descargar archivo"},Empty:{description:"No hay datos"},Icon:{icon:"\xedcono"},Text:{edit:"editar",copy:"copiar",copied:"copiado",expand:"expandir"},PageHeader:{back:"volver"}},Io={locale:"fr",Pagination:{items_per_page:"/ page",jump_to:"Aller \xe0",jump_to_confirm:"confirmer",page:"",prev_page:"Page pr\xe9c\xe9dente",next_page:"Page suivante",prev_5:"5 Pages pr\xe9c\xe9dentes",next_5:"5 Pages suivantes",prev_3:"3 Pages pr\xe9c\xe9dentes",next_3:"3 Pages suivantes"},DatePicker:{lang:{placeholder:"S\xe9lectionner une date",yearPlaceholder:"S\xe9lectionner une ann\xe9e",quarterPlaceholder:"S\xe9lectionner un trimestre",monthPlaceholder:"S\xe9lectionner un mois",weekPlaceholder:"S\xe9lectionner une semaine",rangePlaceholder:["Date de d\xe9but","Date de fin"],rangeYearPlaceholder:["Ann\xe9e de d\xe9but","Ann\xe9e de fin"],rangeMonthPlaceholder:["Mois de d\xe9but","Mois de fin"],rangeWeekPlaceholder:["Semaine de d\xe9but","Semaine de fin"],locale:"fr_FR",today:"Aujourd'hui",now:"Maintenant",backToToday:"Aujourd'hui",ok:"Ok",clear:"R\xe9tablir",month:"Mois",year:"Ann\xe9e",timeSelect:"S\xe9lectionner l'heure",dateSelect:"S\xe9lectionner la date",monthSelect:"Choisissez un mois",yearSelect:"Choisissez une ann\xe9e",decadeSelect:"Choisissez une d\xe9cennie",yearFormat:"YYYY",dateFormat:"DD/MM/YYYY",dayFormat:"DD",dateTimeFormat:"DD/MM/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Mois pr\xe9c\xe9dent (PageUp)",nextMonth:"Mois suivant (PageDown)",previousYear:"Ann\xe9e pr\xe9c\xe9dente (Ctrl + gauche)",nextYear:"Ann\xe9e prochaine (Ctrl + droite)",previousDecade:"D\xe9cennie pr\xe9c\xe9dente",nextDecade:"D\xe9cennie suivante",previousCentury:"Si\xe8cle pr\xe9c\xe9dent",nextCentury:"Si\xe8cle suivant"},timePickerLocale:{placeholder:"S\xe9lectionner l'heure",rangePlaceholder:["Heure de d\xe9but","Heure de fin"]}},TimePicker:{placeholder:"S\xe9lectionner l'heure",rangePlaceholder:["Heure de d\xe9but","Heure de fin"]},Calendar:{lang:{placeholder:"S\xe9lectionner une date",yearPlaceholder:"S\xe9lectionner une ann\xe9e",quarterPlaceholder:"S\xe9lectionner un trimestre",monthPlaceholder:"S\xe9lectionner un mois",weekPlaceholder:"S\xe9lectionner une semaine",rangePlaceholder:["Date de d\xe9but","Date de fin"],rangeYearPlaceholder:["Ann\xe9e de d\xe9but","Ann\xe9e de fin"],rangeMonthPlaceholder:["Mois de d\xe9but","Mois de fin"],rangeWeekPlaceholder:["Semaine de d\xe9but","Semaine de fin"],locale:"fr_FR",today:"Aujourd'hui",now:"Maintenant",backToToday:"Aujourd'hui",ok:"Ok",clear:"R\xe9tablir",month:"Mois",year:"Ann\xe9e",timeSelect:"S\xe9lectionner l'heure",dateSelect:"S\xe9lectionner la date",monthSelect:"Choisissez un mois",yearSelect:"Choisissez une ann\xe9e",decadeSelect:"Choisissez une d\xe9cennie",yearFormat:"YYYY",dateFormat:"DD/MM/YYYY",dayFormat:"DD",dateTimeFormat:"DD/MM/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Mois pr\xe9c\xe9dent (PageUp)",nextMonth:"Mois suivant (PageDown)",previousYear:"Ann\xe9e pr\xe9c\xe9dente (Ctrl + gauche)",nextYear:"Ann\xe9e prochaine (Ctrl + droite)",previousDecade:"D\xe9cennie pr\xe9c\xe9dente",nextDecade:"D\xe9cennie suivante",previousCentury:"Si\xe8cle pr\xe9c\xe9dent",nextCentury:"Si\xe8cle suivant"},timePickerLocale:{placeholder:"S\xe9lectionner l'heure",rangePlaceholder:["Heure de d\xe9but","Heure de fin"]}},Table:{filterTitle:"Filtrer",filterConfirm:"OK",filterReset:"R\xe9initialiser",selectAll:"S\xe9lectionner la page actuelle",selectInvert:"Inverser la s\xe9lection de la page actuelle",selectionAll:"S\xe9lectionner toutes les donn\xe9es",sortTitle:"Trier",expand:"D\xe9velopper la ligne",collapse:"R\xe9duire la ligne",triggerDesc:"Trier par ordre d\xe9croissant",triggerAsc:"Trier par ordre croissant",cancelSort:"Annuler le tri"},Modal:{okText:"OK",cancelText:"Annuler",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Annuler"},Transfer:{searchPlaceholder:"Rechercher",itemUnit:"\xe9l\xe9ment",itemsUnit:"\xe9l\xe9ments"},Empty:{description:"Aucune donn\xe9e"},Upload:{uploading:"T\xe9l\xe9chargement...",removeFile:"Effacer le fichier",uploadError:"Erreur de t\xe9l\xe9chargement",previewFile:"Fichier de pr\xe9visualisation",downloadFile:"T\xe9l\xe9charger un fichier"},Text:{edit:"\xc9diter",copy:"Copier",copied:"Copie effectu\xe9e",expand:"D\xe9velopper"},PageHeader:{back:"Retour"}},Ao={locale:"id",Pagination:{items_per_page:"/ halaman",jump_to:"Menuju",jump_to_confirm:"konfirmasi",page:"",prev_page:"Halaman Sebelumnya",next_page:"Halaman Berikutnya",prev_5:"5 Halaman Sebelumnya",next_5:"5 Halaman Berikutnya",prev_3:"3 Halaman Sebelumnya",next_3:"3 Halaman Berikutnya"},DatePicker:{lang:{placeholder:"Pilih tanggal",rangePlaceholder:["Mulai tanggal","Tanggal akhir"],locale:"id_ID",today:"Hari ini",now:"Sekarang",backToToday:"Kembali ke hari ini",ok:"Baik",clear:"Bersih",month:"Bulan",year:"Tahun",timeSelect:"pilih waktu",dateSelect:"pilih tanggal",weekSelect:"Pilih satu minggu",monthSelect:"Pilih satu bulan",yearSelect:"Pilih satu tahun",decadeSelect:"Pilih satu dekade",yearFormat:"YYYY",dateFormat:"D/M/YYYY",dayFormat:"D",dateTimeFormat:"D/M/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Bulan sebelumnya (PageUp)",nextMonth:"Bulan selanjutnya (PageDown)",previousYear:"Tahun lalu (Control + kiri)",nextYear:"Tahun selanjutnya (Kontrol + kanan)",previousDecade:"Dekade terakhir",nextDecade:"Dekade berikutnya",previousCentury:"Abad terakhir",nextCentury:"Abad berikutnya"},timePickerLocale:{placeholder:"Pilih waktu"}},TimePicker:{placeholder:"Pilih waktu"},Calendar:{lang:{placeholder:"Pilih tanggal",rangePlaceholder:["Mulai tanggal","Tanggal akhir"],locale:"id_ID",today:"Hari ini",now:"Sekarang",backToToday:"Kembali ke hari ini",ok:"Baik",clear:"Bersih",month:"Bulan",year:"Tahun",timeSelect:"pilih waktu",dateSelect:"pilih tanggal",weekSelect:"Pilih satu minggu",monthSelect:"Pilih satu bulan",yearSelect:"Pilih satu tahun",decadeSelect:"Pilih satu dekade",yearFormat:"YYYY",dateFormat:"D/M/YYYY",dayFormat:"D",dateTimeFormat:"D/M/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Bulan sebelumnya (PageUp)",nextMonth:"Bulan selanjutnya (PageDown)",previousYear:"Tahun lalu (Control + kiri)",nextYear:"Tahun selanjutnya (Kontrol + kanan)",previousDecade:"Dekade terakhir",nextDecade:"Dekade berikutnya",previousCentury:"Abad terakhir",nextCentury:"Abad berikutnya"},timePickerLocale:{placeholder:"Pilih waktu"}},Table:{filterTitle:"Saring",filterConfirm:"OK",filterReset:"Hapus",selectAll:"Pilih semua di halaman ini",selectInvert:"Balikkan pilihan di halaman ini",sortTitle:"Urutkan"},Modal:{okText:"OK",cancelText:"Batal",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Batal"},Transfer:{titles:["",""],searchPlaceholder:"Cari",itemUnit:"item",itemsUnit:"item"},Upload:{uploading:"Mengunggah...",removeFile:"Hapus file",uploadError:"Kesalahan pengunggahan",previewFile:"File pratinjau",downloadFile:"Unduh berkas"},Empty:{description:"Tidak ada data"}},Ro={locale:"ja",Pagination:{items_per_page:"/ \u30da\u30fc\u30b8",jump_to:"\u79fb\u52d5",jump_to_confirm:"\u78ba\u8a8d\u3059\u308b",page:"\u30da\u30fc\u30b8",prev_page:"\u524d\u306e\u30da\u30fc\u30b8",next_page:"\u6b21\u306e\u30da\u30fc\u30b8",prev_5:"\u524d 5\u30da\u30fc\u30b8",next_5:"\u6b21 5\u30da\u30fc\u30b8",prev_3:"\u524d 3\u30da\u30fc\u30b8",next_3:"\u6b21 3\u30da\u30fc\u30b8"},DatePicker:{lang:{placeholder:"\u65e5\u4ed8\u3092\u9078\u629e",rangePlaceholder:["\u958b\u59cb\u65e5\u4ed8","\u7d42\u4e86\u65e5\u4ed8"],locale:"ja_JP",today:"\u4eca\u65e5",now:"\u73fe\u5728\u6642\u523b",backToToday:"\u4eca\u65e5\u306b\u623b\u308b",ok:"\u6c7a\u5b9a",timeSelect:"\u6642\u9593\u3092\u9078\u629e",dateSelect:"\u65e5\u6642\u3092\u9078\u629e",weekSelect:"\u9031\u3092\u9078\u629e",clear:"\u30af\u30ea\u30a2",month:"\u6708",year:"\u5e74",previousMonth:"\u524d\u6708 (\u30da\u30fc\u30b8\u30a2\u30c3\u30d7\u30ad\u30fc)",nextMonth:"\u7fcc\u6708 (\u30da\u30fc\u30b8\u30c0\u30a6\u30f3\u30ad\u30fc)",monthSelect:"\u6708\u3092\u9078\u629e",yearSelect:"\u5e74\u3092\u9078\u629e",decadeSelect:"\u5e74\u4ee3\u3092\u9078\u629e",yearFormat:"YYYY\u5e74",dayFormat:"D\u65e5",dateFormat:"YYYY\u5e74M\u6708D\u65e5",dateTimeFormat:"YYYY\u5e74M\u6708D\u65e5 HH\u6642mm\u5206ss\u79d2",previousYear:"\u524d\u5e74 (Control\u3092\u62bc\u3057\u306a\u304c\u3089\u5de6\u30ad\u30fc)",nextYear:"\u7fcc\u5e74 (Control\u3092\u62bc\u3057\u306a\u304c\u3089\u53f3\u30ad\u30fc)",previousDecade:"\u524d\u306e\u5e74\u4ee3",nextDecade:"\u6b21\u306e\u5e74\u4ee3",previousCentury:"\u524d\u306e\u4e16\u7d00",nextCentury:"\u6b21\u306e\u4e16\u7d00"},timePickerLocale:{placeholder:"\u6642\u523b\u3092\u9078\u629e"}},TimePicker:{placeholder:"\u6642\u523b\u3092\u9078\u629e"},Calendar:{lang:{placeholder:"\u65e5\u4ed8\u3092\u9078\u629e",rangePlaceholder:["\u958b\u59cb\u65e5\u4ed8","\u7d42\u4e86\u65e5\u4ed8"],locale:"ja_JP",today:"\u4eca\u65e5",now:"\u73fe\u5728\u6642\u523b",backToToday:"\u4eca\u65e5\u306b\u623b\u308b",ok:"\u6c7a\u5b9a",timeSelect:"\u6642\u9593\u3092\u9078\u629e",dateSelect:"\u65e5\u6642\u3092\u9078\u629e",weekSelect:"\u9031\u3092\u9078\u629e",clear:"\u30af\u30ea\u30a2",month:"\u6708",year:"\u5e74",previousMonth:"\u524d\u6708 (\u30da\u30fc\u30b8\u30a2\u30c3\u30d7\u30ad\u30fc)",nextMonth:"\u7fcc\u6708 (\u30da\u30fc\u30b8\u30c0\u30a6\u30f3\u30ad\u30fc)",monthSelect:"\u6708\u3092\u9078\u629e",yearSelect:"\u5e74\u3092\u9078\u629e",decadeSelect:"\u5e74\u4ee3\u3092\u9078\u629e",yearFormat:"YYYY\u5e74",dayFormat:"D\u65e5",dateFormat:"YYYY\u5e74M\u6708D\u65e5",dateTimeFormat:"YYYY\u5e74M\u6708D\u65e5 HH\u6642mm\u5206ss\u79d2",previousYear:"\u524d\u5e74 (Control\u3092\u62bc\u3057\u306a\u304c\u3089\u5de6\u30ad\u30fc)",nextYear:"\u7fcc\u5e74 (Control\u3092\u62bc\u3057\u306a\u304c\u3089\u53f3\u30ad\u30fc)",previousDecade:"\u524d\u306e\u5e74\u4ee3",nextDecade:"\u6b21\u306e\u5e74\u4ee3",previousCentury:"\u524d\u306e\u4e16\u7d00",nextCentury:"\u6b21\u306e\u4e16\u7d00"},timePickerLocale:{placeholder:"\u6642\u523b\u3092\u9078\u629e"}},Table:{filterTitle:"\u30d5\u30a3\u30eb\u30bf\u30fc",filterConfirm:"OK",filterReset:"\u30ea\u30bb\u30c3\u30c8",filterEmptyText:"\u30d5\u30a3\u30eb\u30bf\u30fc\u306a\u3057",selectAll:"\u30da\u30fc\u30b8\u5358\u4f4d\u3067\u9078\u629e",selectInvert:"\u30da\u30fc\u30b8\u5358\u4f4d\u3067\u53cd\u8ee2",selectionAll:"\u3059\u3079\u3066\u3092\u9078\u629e",sortTitle:"\u30bd\u30fc\u30c8",expand:"\u5c55\u958b\u3059\u308b",collapse:"\u6298\u308a\u7573\u3080",triggerDesc:"\u30af\u30ea\u30c3\u30af\u3067\u964d\u9806\u306b\u30bd\u30fc\u30c8",triggerAsc:"\u30af\u30ea\u30c3\u30af\u3067\u6607\u9806\u306b\u30bd\u30fc\u30c8",cancelSort:"\u30bd\u30fc\u30c8\u3092\u30ad\u30e3\u30f3\u30bb\u30eb"},Modal:{okText:"OK",cancelText:"\u30ad\u30e3\u30f3\u30bb\u30eb",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"\u30ad\u30e3\u30f3\u30bb\u30eb"},Transfer:{searchPlaceholder:"\u3053\u3053\u3092\u691c\u7d22",itemUnit:"\u30a2\u30a4\u30c6\u30e0",itemsUnit:"\u30a2\u30a4\u30c6\u30e0"},Upload:{uploading:"\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u4e2d...",removeFile:"\u30d5\u30a1\u30a4\u30eb\u3092\u524a\u9664",uploadError:"\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u30a8\u30e9\u30fc",previewFile:"\u30d5\u30a1\u30a4\u30eb\u3092\u30d7\u30ec\u30d3\u30e5\u30fc",downloadFile:"\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30d5\u30a1\u30a4\u30eb"},Empty:{description:"\u30c7\u30fc\u30bf\u304c\u3042\u308a\u307e\u305b\u3093"}},jo={locale:"ko",Pagination:{items_per_page:"/ \ucabd",jump_to:"\uc774\ub3d9\ud558\uae30",jump_to_confirm:"\ud655\uc778\ud558\ub2e4",page:"",prev_page:"\uc774\uc804 \ud398\uc774\uc9c0",next_page:"\ub2e4\uc74c \ud398\uc774\uc9c0",prev_5:"\uc774\uc804 5 \ud398\uc774\uc9c0",next_5:"\ub2e4\uc74c 5 \ud398\uc774\uc9c0",prev_3:"\uc774\uc804 3 \ud398\uc774\uc9c0",next_3:"\ub2e4\uc74c 3 \ud398\uc774\uc9c0"},DatePicker:{lang:{placeholder:"\ub0a0\uc9dc \uc120\ud0dd",rangePlaceholder:["\uc2dc\uc791\uc77c","\uc885\ub8cc\uc77c"],locale:"ko_KR",today:"\uc624\ub298",now:"\ud604\uc7ac \uc2dc\uac01",backToToday:"\uc624\ub298\ub85c \ub3cc\uc544\uac00\uae30",ok:"\ud655\uc778",clear:"\uc9c0\uc6b0\uae30",month:"\uc6d4",year:"\ub144",timeSelect:"\uc2dc\uac04 \uc120\ud0dd",dateSelect:"\ub0a0\uc9dc \uc120\ud0dd",monthSelect:"\ub2ec \uc120\ud0dd",yearSelect:"\uc5f0 \uc120\ud0dd",decadeSelect:"\uc5f0\ub300 \uc120\ud0dd",yearFormat:"YYYY\ub144",dateFormat:"YYYY-MM-DD",dayFormat:"Do",dateTimeFormat:"YYYY-MM-DD HH:mm:ss",monthBeforeYear:!1,previousMonth:"\uc774\uc804 \ub2ec (PageUp)",nextMonth:"\ub2e4\uc74c \ub2ec (PageDown)",previousYear:"\uc774\uc804 \ud574 (Control + left)",nextYear:"\ub2e4\uc74c \ud574 (Control + right)",previousDecade:"\uc774\uc804 \uc5f0\ub300",nextDecade:"\ub2e4\uc74c \uc5f0\ub300",previousCentury:"\uc774\uc804 \uc138\uae30",nextCentury:"\ub2e4\uc74c \uc138\uae30"},timePickerLocale:{placeholder:"\ub0a0\uc9dc \uc120\ud0dd"}},TimePicker:{placeholder:"\ub0a0\uc9dc \uc120\ud0dd"},Calendar:{lang:{placeholder:"\ub0a0\uc9dc \uc120\ud0dd",rangePlaceholder:["\uc2dc\uc791\uc77c","\uc885\ub8cc\uc77c"],locale:"ko_KR",today:"\uc624\ub298",now:"\ud604\uc7ac \uc2dc\uac01",backToToday:"\uc624\ub298\ub85c \ub3cc\uc544\uac00\uae30",ok:"\ud655\uc778",clear:"\uc9c0\uc6b0\uae30",month:"\uc6d4",year:"\ub144",timeSelect:"\uc2dc\uac04 \uc120\ud0dd",dateSelect:"\ub0a0\uc9dc \uc120\ud0dd",monthSelect:"\ub2ec \uc120\ud0dd",yearSelect:"\uc5f0 \uc120\ud0dd",decadeSelect:"\uc5f0\ub300 \uc120\ud0dd",yearFormat:"YYYY\ub144",dateFormat:"YYYY-MM-DD",dayFormat:"Do",dateTimeFormat:"YYYY-MM-DD HH:mm:ss",monthBeforeYear:!1,previousMonth:"\uc774\uc804 \ub2ec (PageUp)",nextMonth:"\ub2e4\uc74c \ub2ec (PageDown)",previousYear:"\uc774\uc804 \ud574 (Control + left)",nextYear:"\ub2e4\uc74c \ud574 (Control + right)",previousDecade:"\uc774\uc804 \uc5f0\ub300",nextDecade:"\ub2e4\uc74c \uc5f0\ub300",previousCentury:"\uc774\uc804 \uc138\uae30",nextCentury:"\ub2e4\uc74c \uc138\uae30"},timePickerLocale:{placeholder:"\ub0a0\uc9dc \uc120\ud0dd"}},Table:{filterTitle:"\ud544\ud130 \uba54\ub274",filterConfirm:"\ud655\uc778",filterReset:"\ucd08\uae30\ud654",selectAll:"\ubaa8\ub450 \uc120\ud0dd",selectInvert:"\uc120\ud0dd \ubc18\uc804"},Modal:{okText:"\ud655\uc778",cancelText:"\ucde8\uc18c",justOkText:"\ud655\uc778"},Popconfirm:{okText:"\ud655\uc778",cancelText:"\ucde8\uc18c"},Transfer:{searchPlaceholder:"\uc5ec\uae30\uc5d0 \uac80\uc0c9\ud558\uc138\uc694",itemUnit:"\uac1c",itemsUnit:"\uac1c"},Upload:{uploading:"\uc5c5\ub85c\ub4dc \uc911...",removeFile:"\ud30c\uc77c \uc0ad\uc81c",uploadError:"\uc5c5\ub85c\ub4dc \uc2e4\ud328",previewFile:"\ud30c\uc77c \ubbf8\ub9ac\ubcf4\uae30",downloadFile:"\ud30c\uc77c \ub2e4\uc6b4\ub85c\ub4dc"},Empty:{description:"\ub370\uc774\ud130 \uc5c6\uc74c"}},Vo={locale:"pt-br",Pagination:{items_per_page:"/ p\xe1gina",jump_to:"V\xe1 at\xe9",jump_to_confirm:"confirme",page:"",prev_page:"P\xe1gina anterior",next_page:"Pr\xf3xima p\xe1gina",prev_5:"5 p\xe1ginas anteriores",next_5:"5 pr\xf3ximas p\xe1ginas",prev_3:"3 p\xe1ginas anteriores",next_3:"3 pr\xf3ximas p\xe1ginas"},DatePicker:{lang:{placeholder:"Selecionar data",rangePlaceholder:["Data inicial","Data final"],locale:"pt_BR",today:"Hoje",now:"Agora",backToToday:"Voltar para hoje",ok:"Ok",clear:"Limpar",month:"M\xeas",year:"Ano",timeSelect:"Selecionar hora",dateSelect:"Selecionar data",monthSelect:"Escolher m\xeas",yearSelect:"Escolher ano",decadeSelect:"Escolher d\xe9cada",yearFormat:"YYYY",dateFormat:"D/M/YYYY",dayFormat:"D",dateTimeFormat:"D/M/YYYY HH:mm:ss",monthBeforeYear:!1,previousMonth:"M\xeas anterior (PageUp)",nextMonth:"Pr\xf3ximo m\xeas (PageDown)",previousYear:"Ano anterior (Control + esquerda)",nextYear:"Pr\xf3ximo ano (Control + direita)",previousDecade:"D\xe9cada anterior",nextDecade:"Pr\xf3xima d\xe9cada",previousCentury:"S\xe9culo anterior",nextCentury:"Pr\xf3ximo s\xe9culo"},timePickerLocale:{placeholder:"Hora"}},TimePicker:{placeholder:"Hora"},Calendar:{lang:{placeholder:"Selecionar data",rangePlaceholder:["Data inicial","Data final"],locale:"pt_BR",today:"Hoje",now:"Agora",backToToday:"Voltar para hoje",ok:"Ok",clear:"Limpar",month:"M\xeas",year:"Ano",timeSelect:"Selecionar hora",dateSelect:"Selecionar data",monthSelect:"Escolher m\xeas",yearSelect:"Escolher ano",decadeSelect:"Escolher d\xe9cada",yearFormat:"YYYY",dateFormat:"D/M/YYYY",dayFormat:"D",dateTimeFormat:"D/M/YYYY HH:mm:ss",monthBeforeYear:!1,previousMonth:"M\xeas anterior (PageUp)",nextMonth:"Pr\xf3ximo m\xeas (PageDown)",previousYear:"Ano anterior (Control + esquerda)",nextYear:"Pr\xf3ximo ano (Control + direita)",previousDecade:"D\xe9cada anterior",nextDecade:"Pr\xf3xima d\xe9cada",previousCentury:"S\xe9culo anterior",nextCentury:"Pr\xf3ximo s\xe9culo"},timePickerLocale:{placeholder:"Hora"}},global:{placeholder:"Por favor escolha"},Table:{filterTitle:"Menu de Filtro",filterConfirm:"OK",filterReset:"Resetar",selectAll:"Selecionar p\xe1gina atual",selectInvert:"Inverter sele\xe7\xe3o",selectionAll:"Selecionar todo o conte\xfado",sortTitle:"Ordenar t\xedtulo",expand:"Expandir linha",collapse:"Colapsar linha",triggerDesc:"Clique organiza por descendente",triggerAsc:"Clique organiza por ascendente",cancelSort:"Clique para cancelar organiza\xe7\xe3o"},Modal:{okText:"OK",cancelText:"Cancelar",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancelar"},Transfer:{searchPlaceholder:"Procurar",itemUnit:"item",itemsUnit:"items"},Upload:{uploading:"Enviando...",removeFile:"Remover arquivo",uploadError:"Erro no envio",previewFile:"Visualizar arquivo",downloadFile:"Baixar arquivo"},Empty:{description:"N\xe3o h\xe1 dados"},Icon:{icon:"\xedcone"},Text:{edit:"editar",copy:"copiar",copied:"copiado",expand:"expandir"},PageHeader:{back:"Retornar"}},Lo={locale:"ru",Pagination:{items_per_page:"/ \u0441\u0442\u0440.",jump_to:"\u041f\u0435\u0440\u0435\u0439\u0442\u0438",jump_to_confirm:"\u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044c",page:"",prev_page:"\u041d\u0430\u0437\u0430\u0434",next_page:"\u0412\u043f\u0435\u0440\u0435\u0434",prev_5:"\u041f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0435 5",next_5:"\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 5",prev_3:"\u041f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0435 3",next_3:"\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 3"},DatePicker:{lang:{placeholder:"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0434\u0430\u0442\u0443",yearPlaceholder:"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0433\u043e\u0434",quarterPlaceholder:"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043a\u0432\u0430\u0440\u0442\u0430\u043b",monthPlaceholder:"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043c\u0435\u0441\u044f\u0446",weekPlaceholder:"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043d\u0435\u0434\u0435\u043b\u044e",rangePlaceholder:["\u041d\u0430\u0447\u0430\u043b\u044c\u043d\u0430\u044f \u0434\u0430\u0442\u0430","\u041a\u043e\u043d\u0435\u0447\u043d\u0430\u044f \u0434\u0430\u0442\u0430"],rangeYearPlaceholder:["\u041d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0439 \u0433\u043e\u0434","\u0413\u043e\u0434 \u043e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u044f"],rangeMonthPlaceholder:["\u041d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0439 \u043c\u0435\u0441\u044f\u0446","\u041a\u043e\u043d\u0435\u0447\u043d\u044b\u0439 \u043c\u0435\u0441\u044f\u0446"],rangeWeekPlaceholder:["\u041d\u0430\u0447\u0430\u043b\u044c\u043d\u0430\u044f \u043d\u0435\u0434\u0435\u043b\u044f","\u041a\u043e\u043d\u0435\u0447\u043d\u0430\u044f \u043d\u0435\u0434\u0435\u043b\u044f"],locale:"ru_RU",today:"\u0421\u0435\u0433\u043e\u0434\u043d\u044f",now:"\u0421\u0435\u0439\u0447\u0430\u0441",backToToday:"\u0422\u0435\u043a\u0443\u0449\u0430\u044f \u0434\u0430\u0442\u0430",ok:"Ok",clear:"\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u044c",month:"\u041c\u0435\u0441\u044f\u0446",year:"\u0413\u043e\u0434",timeSelect:"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0432\u0440\u0435\u043c\u044f",dateSelect:"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0434\u0430\u0442\u0443",monthSelect:"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u043c\u0435\u0441\u044f\u0446",yearSelect:"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0433\u043e\u0434",decadeSelect:"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0434\u0435\u0441\u044f\u0442\u0438\u043b\u0435\u0442\u0438\u0435",yearFormat:"YYYY",dateFormat:"D-M-YYYY",dayFormat:"D",dateTimeFormat:"D-M-YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"\u041f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0439 \u043c\u0435\u0441\u044f\u0446 (PageUp)",nextMonth:"\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043c\u0435\u0441\u044f\u0446 (PageDown)",previousYear:"\u041f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0439 \u0433\u043e\u0434 (Control + left)",nextYear:"\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0433\u043e\u0434 (Control + right)",previousDecade:"\u041f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0435 \u0434\u0435\u0441\u044f\u0442\u0438\u043b\u0435\u0442\u0438\u0435",nextDecade:"\u0421\u043b\u0435\u0434\u0443\u0449\u0435\u0435 \u0434\u0435\u0441\u044f\u0442\u0438\u043b\u0435\u0442\u0438\u0435",previousCentury:"\u041f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0439 \u0432\u0435\u043a",nextCentury:"\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0432\u0435\u043a"},timePickerLocale:{placeholder:"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0432\u0440\u0435\u043c\u044f",rangePlaceholder:["\u0412\u0440\u0435\u043c\u044f \u043d\u0430\u0447\u0430\u043b\u0430","\u0412\u0440\u0435\u043c\u044f \u043e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u044f"]}},TimePicker:{placeholder:"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0432\u0440\u0435\u043c\u044f",rangePlaceholder:["\u0412\u0440\u0435\u043c\u044f \u043d\u0430\u0447\u0430\u043b\u0430","\u0412\u0440\u0435\u043c\u044f \u043e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u044f"]},Calendar:{lang:{placeholder:"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0434\u0430\u0442\u0443",yearPlaceholder:"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0433\u043e\u0434",quarterPlaceholder:"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043a\u0432\u0430\u0440\u0442\u0430\u043b",monthPlaceholder:"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043c\u0435\u0441\u044f\u0446",weekPlaceholder:"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043d\u0435\u0434\u0435\u043b\u044e",rangePlaceholder:["\u041d\u0430\u0447\u0430\u043b\u044c\u043d\u0430\u044f \u0434\u0430\u0442\u0430","\u041a\u043e\u043d\u0435\u0447\u043d\u0430\u044f \u0434\u0430\u0442\u0430"],rangeYearPlaceholder:["\u041d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0439 \u0433\u043e\u0434","\u0413\u043e\u0434 \u043e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u044f"],rangeMonthPlaceholder:["\u041d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0439 \u043c\u0435\u0441\u044f\u0446","\u041a\u043e\u043d\u0435\u0447\u043d\u044b\u0439 \u043c\u0435\u0441\u044f\u0446"],rangeWeekPlaceholder:["\u041d\u0430\u0447\u0430\u043b\u044c\u043d\u0430\u044f \u043d\u0435\u0434\u0435\u043b\u044f","\u041a\u043e\u043d\u0435\u0447\u043d\u0430\u044f \u043d\u0435\u0434\u0435\u043b\u044f"],locale:"ru_RU",today:"\u0421\u0435\u0433\u043e\u0434\u043d\u044f",now:"\u0421\u0435\u0439\u0447\u0430\u0441",backToToday:"\u0422\u0435\u043a\u0443\u0449\u0430\u044f \u0434\u0430\u0442\u0430",ok:"Ok",clear:"\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u044c",month:"\u041c\u0435\u0441\u044f\u0446",year:"\u0413\u043e\u0434",timeSelect:"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0432\u0440\u0435\u043c\u044f",dateSelect:"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0434\u0430\u0442\u0443",monthSelect:"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u043c\u0435\u0441\u044f\u0446",yearSelect:"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0433\u043e\u0434",decadeSelect:"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0434\u0435\u0441\u044f\u0442\u0438\u043b\u0435\u0442\u0438\u0435",yearFormat:"YYYY",dateFormat:"D-M-YYYY",dayFormat:"D",dateTimeFormat:"D-M-YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"\u041f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0439 \u043c\u0435\u0441\u044f\u0446 (PageUp)",nextMonth:"\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043c\u0435\u0441\u044f\u0446 (PageDown)",previousYear:"\u041f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0439 \u0433\u043e\u0434 (Control + left)",nextYear:"\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0433\u043e\u0434 (Control + right)",previousDecade:"\u041f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0435 \u0434\u0435\u0441\u044f\u0442\u0438\u043b\u0435\u0442\u0438\u0435",nextDecade:"\u0421\u043b\u0435\u0434\u0443\u0449\u0435\u0435 \u0434\u0435\u0441\u044f\u0442\u0438\u043b\u0435\u0442\u0438\u0435",previousCentury:"\u041f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0439 \u0432\u0435\u043a",nextCentury:"\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0432\u0435\u043a"},timePickerLocale:{placeholder:"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0432\u0440\u0435\u043c\u044f",rangePlaceholder:["\u0412\u0440\u0435\u043c\u044f \u043d\u0430\u0447\u0430\u043b\u0430","\u0412\u0440\u0435\u043c\u044f \u043e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u044f"]}},global:{placeholder:"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430 \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435"},Table:{filterTitle:"\u0424\u0438\u043b\u044c\u0442\u0440",filterConfirm:"OK",filterReset:"\u0421\u0431\u0440\u043e\u0441\u0438\u0442\u044c",filterEmptyText:"\u0411\u0435\u0437 \u0444\u0438\u043b\u044c\u0442\u0440\u043e\u0432",emptyText:"\u041d\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u0445",selectAll:"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0432\u0441\u0451",selectInvert:"\u0418\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u044b\u0431\u043e\u0440",selectionAll:"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0432\u0441\u0435 \u0434\u0430\u043d\u043d\u044b\u0435",sortTitle:"\u0421\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u0430",expand:"\u0420\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044c \u0441\u0442\u0440\u043e\u043a\u0443",collapse:"\u0421\u0432\u0435\u0440\u043d\u0443\u0442\u044c \u0441\u0442\u0440\u043e\u043a\u0443",triggerDesc:"\u041d\u0430\u0436\u043c\u0438\u0442\u0435 \u0434\u043b\u044f \u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u0438 \u043f\u043e \u0443\u0431\u044b\u0432\u0430\u043d\u0438\u044e",triggerAsc:"\u041d\u0430\u0436\u043c\u0438\u0442\u0435 \u0434\u043b\u044f \u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u0438 \u043f\u043e \u0432\u043e\u0437\u0440\u0430\u0441\u0442\u0430\u043d\u0438\u044e",cancelSort:"\u041d\u0430\u0436\u043c\u0438\u0442\u0435, \u0447\u0442\u043e\u0431\u044b \u043e\u0442\u043c\u0435\u043d\u0438\u0442\u044c \u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u0443"},Modal:{okText:"OK",cancelText:"\u041e\u0442\u043c\u0435\u043d\u0430",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"\u041e\u0442\u043c\u0435\u043d\u0430"},Transfer:{titles:["",""],searchPlaceholder:"\u041f\u043e\u0438\u0441\u043a",itemUnit:"\u044d\u043b\u0435\u043c.",itemsUnit:"\u044d\u043b\u0435\u043c.",remove:"\u0423\u0434\u0430\u043b\u0438\u0442\u044c",selectAll:"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0432\u0441\u0435 \u0434\u0430\u043d\u043d\u044b\u0435",selectCurrent:"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0442\u0435\u043a\u0443\u0449\u0443\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443",selectInvert:"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0432 \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u043c \u043f\u043e\u0440\u044f\u0434\u043a\u0435",removeAll:"\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u0432\u0441\u0435 \u0434\u0430\u043d\u043d\u044b\u0435",removeCurrent:"\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u0442\u0435\u043a\u0443\u0449\u0443\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443"},Upload:{uploading:"\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430...",removeFile:"\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u0444\u0430\u0439\u043b",uploadError:"\u041f\u0440\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435 \u043f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u0430 \u043e\u0448\u0438\u0431\u043a\u0430",previewFile:"\u041f\u0440\u0435\u0434\u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440 \u0444\u0430\u0439\u043b\u0430",downloadFile:"\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0444\u0430\u0439\u043b"},Empty:{description:"\u041d\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u0445"},Icon:{icon:"\u0438\u043a\u043e\u043d\u043a\u0430"},Text:{edit:"\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c",copy:"\u041a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c",copied:"\u0421\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u043e",expand:"\u0420\u0430\u0441\u043a\u0440\u044b\u0442\u044c"},PageHeader:{back:"\u041d\u0430\u0437\u0430\u0434"}}},RwU8:function(e,t,n){"use strict";n.d(t,"a",function(){return l}),n.d(t,"b",function(){return u});var i=n("nLfN"),r=n("fXoL"),o=n("R1ws");class s{constructor(e,t,n,r){this.triggerElement=e,this.ngZone=t,this.insertExtraNode=n,this.platformId=r,this.waveTransitionDuration=400,this.styleForPseudo=null,this.extraNode=null,this.lastTime=0,this.onClick=e=>{!this.triggerElement||!this.triggerElement.getAttribute||this.triggerElement.getAttribute("disabled")||"INPUT"===e.target.tagName||this.triggerElement.className.indexOf("disabled")>=0||this.fadeOutWave()},this.platform=new i.a(this.platformId),this.clickHandler=this.onClick.bind(this),this.bindTriggerEvent()}get waveAttributeName(){return this.insertExtraNode?"ant-click-animating":"ant-click-animating-without-extra-node"}bindTriggerEvent(){this.platform.isBrowser&&this.ngZone.runOutsideAngular(()=>{this.removeTriggerEvent(),this.triggerElement&&this.triggerElement.addEventListener("click",this.clickHandler,!0)})}removeTriggerEvent(){this.triggerElement&&this.triggerElement.removeEventListener("click",this.clickHandler,!0)}removeStyleAndExtraNode(){this.styleForPseudo&&document.body.contains(this.styleForPseudo)&&(document.body.removeChild(this.styleForPseudo),this.styleForPseudo=null),this.insertExtraNode&&this.triggerElement.contains(this.extraNode)&&this.triggerElement.removeChild(this.extraNode)}destroy(){this.removeTriggerEvent(),this.removeStyleAndExtraNode()}fadeOutWave(){const e=this.triggerElement,t=this.getWaveColor(e);e.setAttribute(this.waveAttributeName,"true"),Date.now(){e.removeAttribute(this.waveAttributeName),this.removeStyleAndExtraNode()},this.waveTransitionDuration))}isValidColor(e){return!!e&&"#ffffff"!==e&&"rgb(255, 255, 255)"!==e&&this.isNotGrey(e)&&!/rgba\(\d*, \d*, \d*, 0\)/.test(e)&&"transparent"!==e}isNotGrey(e){const t=e.match(/rgba?\((\d*), (\d*), (\d*)(, [\.\d]*)?\)/);return!(t&&t[1]&&t[2]&&t[3]&&t[1]===t[2]&&t[2]===t[3])}getWaveColor(e){const t=getComputedStyle(e);return t.getPropertyValue("border-top-color")||t.getPropertyValue("border-color")||t.getPropertyValue("background-color")}runTimeoutOutsideZone(e,t){this.ngZone.runOutsideAngular(()=>setTimeout(e,t))}}const a={disabled:!1},c=new r.r("nz-wave-global-options",{providedIn:"root",factory:function(){return a}});let l=(()=>{class e{constructor(e,t,n,i,r){this.ngZone=e,this.elementRef=t,this.config=n,this.animationType=i,this.platformId=r,this.nzWaveExtraNode=!1,this.waveDisabled=!1,this.waveDisabled=this.isConfigDisabled()}get disabled(){return this.waveDisabled}get rendererRef(){return this.waveRenderer}isConfigDisabled(){let e=!1;return this.config&&"boolean"==typeof this.config.disabled&&(e=this.config.disabled),"NoopAnimations"===this.animationType&&(e=!0),e}ngOnDestroy(){this.waveRenderer&&this.waveRenderer.destroy()}ngOnInit(){this.renderWaveIfEnabled()}renderWaveIfEnabled(){!this.waveDisabled&&this.elementRef.nativeElement&&(this.waveRenderer=new s(this.elementRef.nativeElement,this.ngZone,this.nzWaveExtraNode,this.platformId))}disable(){this.waveDisabled=!0,this.waveRenderer&&(this.waveRenderer.removeTriggerEvent(),this.waveRenderer.removeStyleAndExtraNode())}enable(){this.waveDisabled=this.isConfigDisabled()||!1,this.waveRenderer&&this.waveRenderer.bindTriggerEvent()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.B),r.Qb(r.l),r.Qb(c,8),r.Qb(o.a,8),r.Qb(r.D))},e.\u0275dir=r.Lb({type:e,selectors:[["","nz-wave",""],["button","nz-button","",3,"nzType","link",3,"nzType","text"]],inputs:{nzWaveExtraNode:"nzWaveExtraNode"},exportAs:["nzWave"]}),e})(),u=(()=>{class e{}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)},imports:[[i.b]]}),e})()},S6kV:function(e,t,n){var i,r,o;e.exports=(o=n("Ib8C"),n("OLod"),o.mode.OFB=(r=(i=o.lib.BlockCipherMode.extend()).Encryptor=i.extend({processBlock:function(e,t){var n=this._cipher,i=n.blockSize,r=this._iv,o=this._keystream;r&&(o=this._keystream=r.slice(0),this._iv=void 0),n.encryptBlock(o,0);for(var s=0;s{class e{constructor(e,t,n,i,r){this.nzConfigService=e,this.renderer=t,this.cdr=n,this.elementRef=i,this.directionality=r,this._nzModuleName="badge",this.showSup=!1,this.presetColor=null,this.dir="ltr",this.destroy$=new c.a,this.nzShowZero=!1,this.nzShowDot=!0,this.nzStandalone=!1,this.nzDot=!1,this.nzOverflowCount=99,this.nzColor=void 0,this.nzStyle=null,this.nzText=null,this.elementRef.nativeElement.classList.add("ant-badge")}ngOnInit(){var e;null===(e=this.directionality.change)||void 0===e||e.pipe(Object(l.a)(this.destroy$)).subscribe(e=>{this.dir=e,this.prepareBadgeForRtl(),this.cdr.detectChanges()}),this.dir=this.directionality.value,this.prepareBadgeForRtl()}ngOnChanges(e){const{nzColor:t,nzShowDot:n,nzDot:i,nzCount:r,nzShowZero:o}=e;t&&(this.presetColor=this.nzColor&&-1!==O.indexOf(this.nzColor)?this.nzColor:null),(n||i||r||o)&&(this.showSup=this.nzShowDot&&this.nzDot||this.nzCount>0||this.nzCount<=0&&this.nzShowZero)}prepareBadgeForRtl(){this.isRtlLayout?this.renderer.addClass(this.elementRef.nativeElement,"ant-badge-rtl"):this.renderer.removeClass(this.elementRef.nativeElement,"ant-badge-rtl")}get isRtlLayout(){return"rtl"===this.dir}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(p.Qb(s.b),p.Qb(p.G),p.Qb(p.h),p.Qb(p.l),p.Qb(r.c,8))},e.\u0275cmp=p.Kb({type:e,selectors:[["nz-badge"]],hostVars:4,hostBindings:function(e,t){2&e&&p.Ib("ant-badge-status",t.nzStatus)("ant-badge-not-a-wrapper",!!(t.nzStandalone||t.nzStatus||t.nzColor))},inputs:{nzShowZero:"nzShowZero",nzShowDot:"nzShowDot",nzStandalone:"nzStandalone",nzDot:"nzDot",nzOverflowCount:"nzOverflowCount",nzColor:"nzColor",nzStyle:"nzStyle",nzText:"nzText",nzTitle:"nzTitle",nzStatus:"nzStatus",nzCount:"nzCount",nzOffset:"nzOffset"},exportAs:["nzBadge"],features:[p.Ab],ngContentSelectors:y,decls:3,vars:2,consts:[[4,"ngIf"],[4,"nzStringTemplateOutlet"],[3,"ngStyle"],[1,"ant-badge-status-text"],[3,"nzOffset","nzTitle","nzStyle","nzDot","nzOverflowCount","disableAnimation","nzCount",4,"ngIf"],[3,"nzOffset","nzTitle","nzStyle","nzDot","nzOverflowCount","disableAnimation","nzCount"]],template:function(e,t){1&e&&(p.vc(),p.Qc(0,g,4,7,"ng-container",0),p.uc(1),p.Qc(2,m,2,1,"ng-container",1)),2&e&&(p.wc("ngIf",t.nzStatus||t.nzColor),p.Cb(2),p.wc("nzStringTemplateOutlet",t.nzCount))},directives:function(){return[d.o,h.b,d.p,z]},encapsulation:2,data:{animation:[o.g]},changeDetection:0}),Object(i.b)([Object(a.a)(),Object(i.c)("design:type",Boolean)],e.prototype,"nzShowZero",void 0),Object(i.b)([Object(a.a)(),Object(i.c)("design:type",Object)],e.prototype,"nzShowDot",void 0),Object(i.b)([Object(a.a)(),Object(i.c)("design:type",Object)],e.prototype,"nzStandalone",void 0),Object(i.b)([Object(a.a)(),Object(i.c)("design:type",Object)],e.prototype,"nzDot",void 0),Object(i.b)([Object(s.c)(),Object(i.c)("design:type",Number)],e.prototype,"nzOverflowCount",void 0),Object(i.b)([Object(s.c)(),Object(i.c)("design:type",String)],e.prototype,"nzColor",void 0),e})(),z=(()=>{class e{constructor(e){this.elementRef=e,this.nzStyle=null,this.nzDot=!1,this.nzOverflowCount=99,this.disableAnimation=!1,this.maxNumberArray=[],this.countArray=[],this.count=0,this.countSingleArray=[0,1,2,3,4,5,6,7,8,9],this.elementRef.nativeElement.classList.add("ant-scroll-number")}generateMaxNumberArray(){this.maxNumberArray=this.nzOverflowCount.toString().split("")}ngOnInit(){this.generateMaxNumberArray()}ngOnChanges(e){const{nzOverflowCount:t,nzCount:n}=e;n&&"number"==typeof n.currentValue&&(this.count=Math.max(0,n.currentValue),this.countArray=this.count.toString().split("").map(e=>+e)),t&&this.generateMaxNumberArray()}}return e.\u0275fac=function(t){return new(t||e)(p.Qb(p.l))},e.\u0275cmp=p.Kb({type:e,selectors:[["nz-badge-sup"]],hostVars:15,hostBindings:function(e,t){2&e&&(p.Db("title",null===t.nzTitle?"":t.nzTitle||t.nzCount),p.Pc("@.disabled",t.disableAnimation)("@zoomBadgeMotion",void 0),p.Mc(t.nzStyle),p.Nc("right",t.nzOffset&&t.nzOffset[0]?-t.nzOffset[0]:null,"px")("margin-top",t.nzOffset&&t.nzOffset[1]?t.nzOffset[1]:null,"px"),p.Ib("ant-badge-count",!t.nzDot)("ant-badge-dot",t.nzDot)("ant-badge-multiple-words",t.countArray.length>=2))},inputs:{nzStyle:"nzStyle",nzDot:"nzDot",nzOverflowCount:"nzOverflowCount",disableAnimation:"disableAnimation",nzOffset:"nzOffset",nzTitle:"nzTitle",nzCount:"nzCount"},exportAs:["nzBadgeSup"],features:[p.Ab],decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["overflowTemplate",""],["class","ant-scroll-number-only",3,"transform",4,"ngFor","ngForOf"],[1,"ant-scroll-number-only"],[4,"ngIf"],["class","ant-scroll-number-only-unit",3,"current",4,"ngFor","ngForOf"],[1,"ant-scroll-number-only-unit"]],template:function(e,t){if(1&e&&(p.Qc(0,S,2,1,"ng-container",0),p.Qc(1,_,1,1,"ng-template",null,1,p.Rc)),2&e){const e=p.Ec(2);p.wc("ngIf",t.count<=t.nzOverflowCount)("ngIfElse",e)}},directives:[d.o,d.n],encapsulation:2,data:{animation:[o.g]},changeDetection:0}),e})(),T=(()=>{class e{}return e.\u0275mod=p.Ob({type:e}),e.\u0275inj=p.Nb({factory:function(t){return new(t||e)},imports:[[r.a,d.c,u.b,h.a]]}),e})()},SOdi:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var i=n("mrSG"),r=n("/KA4"),o=n("fXoL"),s=n("ofXK"),a=n("5voH");function c(e,t){if(1&e&&(o.Wb(0,"nd-typography-text",1),o.Wb(1,"a",2),o.Sc(2),o.Vb(),o.Vb()),2&e){const e=t.$implicit,n=o.oc();o.wc("ndBlock",n.ndBlock),o.Cb(1),o.yc("href","tel:",e,"",o.Kc),o.Cb(1),o.Tc(e)}}let l=(()=>{class e{constructor(){this.phoneList=[]}ngOnChanges(e){e.ndValue&&(this.phoneList="string"==typeof this.ndValue?this.ndValue.split(","):this.ndValue)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=o.Kb({type:e,selectors:[["nd-typography-phone"]],inputs:{ndValue:"ndValue",ndBlock:"ndBlock"},features:[o.Ab],decls:1,vars:1,consts:[[3,"ndBlock",4,"ngFor","ngForOf"],[3,"ndBlock"],[3,"href"]],template:function(e,t){1&e&&o.Qc(0,c,3,3,"nd-typography-text",0),2&e&&o.wc("ngForOf",t.phoneList)},directives:[s.n,a.a],encapsulation:2,changeDetection:0}),Object(i.b)([Object(r.a)(),Object(i.c)("design:type",Object)],e.prototype,"ndBlock",void 0),e})()},SOqu:function(e,t,n){"use strict";n.d(t,"c",function(){return r}),n.d(t,"b",function(){return A}),n.d(t,"a",function(){return i});var i={};n.r(i),n.d(i,"CommonDisableControl",function(){return o}),n.d(i,"BookingSettlementControl",function(){return s}),n.d(i,"InvoiceControl",function(){return a}),n.d(i,"InsuranceControl",function(){return c}),n.d(i,"PaymentChannel_WeChatControl",function(){return l}),n.d(i,"PaymentChannel_DeferredPaymentControl",function(){return u}),n.d(i,"PaymentChannel_AlipayControl",function(){return d}),n.d(i,"PaymentChannel_OceanpaymentFooControl",function(){return h}),n.d(i,"PaymentChannel_BalanceControl",function(){return p}),n.d(i,"PaymentChannel_BaoFooControl",function(){return f}),n.d(i,"PaymentChannel_WeChatMinAppPayControl",function(){return g}),n.d(i,"PaymentChannel_NuveiFooControl",function(){return b}),n.d(i,"SettlementPayChannel_AlipayControl",function(){return m}),n.d(i,"SettlementPayChannel_BaoFooControl",function(){return y}),n.d(i,"WorkOrderControl",function(){return v}),n.d(i,"UserPointsControl",function(){return C}),n.d(i,"BalanceDetailControl",function(){return w}),n.d(i,"DidaActivityOkinawaSakuraControl",function(){return S}),n.d(i,"DidaTransferFeatureControl",function(){return _}),n.d(i,"DidaTransferEntranceFeatureControl_Temp",function(){return O}),n.d(i,"CouponControl",function(){return x}),n.d(i,"DataStatisticsControl",function(){return z}),n.d(i,"SpecialRatePlanControl",function(){return T}),n.d(i,"V2MapControl",function(){return k}),n.d(i,"TicketStandardizationControl",function(){return P}),n.d(i,"BookingExportControl",function(){return E}),n.d(i,"HotelPackageControl",function(){return D}),n.d(i,"FlightControl",function(){return M}),n.d(i,"DidaShoppingV2ViewControl",function(){return I});var r=function(e){return e[e.ForbidDirectExportOrder=-815]="ForbidDirectExportOrder",e[e.ForbidSaleToOTA=-809]="ForbidSaleToOTA",e[e.ForbidWorkOrder=-807]="ForbidWorkOrder",e[e.ForbidCancelBooking=-806]="ForbidCancelBooking",e[e.ForbidBookingExport=-805]="ForbidBookingExport",e[e.ForbidBookingView=-804]="ForbidBookingView",e[e.ForbidOrder=-803]="ForbidOrder",e[e.ForbidPriceSearch=-802]="ForbidPriceSearch",e[e.ForbidHotelView=-801]="ForbidHotelView",e[e.ForbidInsurance=-705]="ForbidInsurance",e[e.ForbidSettlementPayChannel_BaoFoo=-703]="ForbidSettlementPayChannel_BaoFoo",e[e.ForbidSettlementPayChannel_Alipay=-702]="ForbidSettlementPayChannel_Alipay",e[e.ForbidBookingSettlement=-701]="ForbidBookingSettlement",e[e.DidaShoppingV2View=20]="DidaShoppingV2View",e[e.MaximizeRoomCount=33]="MaximizeRoomCount",e[e.ForbidUserPoints=42]="ForbidUserPoints",e[e.UserBookingNoRestriction=60]="UserBookingNoRestriction",e[e.HideInvoiceApply=71]="HideInvoiceApply",e[e.BookingLowerPriceNotice=101]="BookingLowerPriceNotice",e[e.PostPayBookingAutoCancelNotice=102]="PostPayBookingAutoCancelNotice",e[e.DidaActivity_NewBeginning2018=203]="DidaActivity_NewBeginning2018",e[e.DidaActivity_OkinawaSakura=204]="DidaActivity_OkinawaSakura",e[e.PaymentChannel_BaoFoo_Forbidden=302]="PaymentChannel_BaoFoo_Forbidden",e[e.PaymentChannel_Balance_Forbidden=304]="PaymentChannel_Balance_Forbidden",e[e.PaymentChannel_Alipay_Forbidden=306]="PaymentChannel_Alipay_Forbidden",e[e.PaymentChannel_Oceanpayment=307]="PaymentChannel_Oceanpayment",e[e.PaymentChannel_Oceanpayment_Forbidden=308]="PaymentChannel_Oceanpayment_Forbidden",e[e.PaymentChannel_DeferredPayment=310]="PaymentChannel_DeferredPayment",e[e.PaymentChannel_DeferredPayment_Forbidden=311]="PaymentChannel_DeferredPayment_Forbidden",e[e.PaymentChannel_WeChat=312]="PaymentChannel_WeChat",e[e.PaymentChannel_WeChat_Forbidden=313]="PaymentChannel_WeChat_Forbidden",e[e.BillTracker=501]="BillTracker",e[e.AllowInsurance=705]="AllowInsurance",e[e.AllowBalanceDetail=706]="AllowBalanceDetail",e[e.DidaShoppingV3View=21]="DidaShoppingV3View",e[e.DidaShoppingV3Inner=22]="DidaShoppingV3Inner",e[e.HotSellAndPromotions=31]="HotSellAndPromotions",e[e.SameDayBooking=35]="SameDayBooking",e[e.SpecialRequest=36]="SpecialRequest",e[e.GuestNationaliy=37]="GuestNationaliy",e[e.BookingGroupFeature=38]="BookingGroupFeature",e[e.AdvancedMealInfoDisplay=39]="AdvancedMealInfoDisplay",e[e.AllowUserPoints=41]="AllowUserPoints",e[e.HotelKeywordSearch=55]="HotelKeywordSearch",e[e.SuggestionTypeahead=56]="SuggestionTypeahead",e[e.InvoiceApply=70]="InvoiceApply",e[e.RoomGradeCategorization=80]="RoomGradeCategorization",e[e.DidaShoppingMapV2=25]="DidaShoppingMapV2",e[e.AllowViewRatePlanName=81]="AllowViewRatePlanName",e[e.HotelDetailNearbyHotel=91]="HotelDetailNearbyHotel",e[e.HotelDetailRegionSearch=92]="HotelDetailRegionSearch",e[e.HotelDetailCancellationFilter=93]="HotelDetailCancellationFilter",e[e.HotelDetailBreakfastFilter=94]="HotelDetailBreakfastFilter",e[e.UserHotelFavoriteFeature=95]="UserHotelFavoriteFeature",e[e.HotelDetailOrderInNewTab=96]="HotelDetailOrderInNewTab",e[e.HotelDetailQuotationAssistant=97]="HotelDetailQuotationAssistant",e[e.HotelDetailH5QRCode=99]="HotelDetailH5QRCode",e[e.DidaShoppingMessageBox=100]="DidaShoppingMessageBox",e[e.PointsExchange=103]="PointsExchange",e[e.BookingFreeCancellationNotice=107]="BookingFreeCancellationNotice",e[e.InvoiceStatusChange=104]="InvoiceStatusChange",e[e.WorkOrderStatusChange=105]="WorkOrderStatusChange",e[e.BookingHotelConfirmationNotice=108]="BookingHotelConfirmationNotice",e[e.CouponNearExpirationNotice=109]="CouponNearExpirationNotice",e[e.DisableBookingLowerPriceNotice=121]="DisableBookingLowerPriceNotice",e[e.DisablePostPayBookingAutoCancelNotice=122]="DisablePostPayBookingAutoCancelNotice",e[e.DisablePointsExchange=123]="DisablePointsExchange",e[e.DisableInvoiceStatusChange=124]="DisableInvoiceStatusChange",e[e.DisableWorkOrderStatusChange=125]="DisableWorkOrderStatusChange",e[e.DisableBillStatusChange=126]="DisableBillStatusChange",e[e.DisableBookingFreeCancellationNotice=127]="DisableBookingFreeCancellationNotice",e[e.DisableBookingHotelConfirmationNotice=128]="DisableBookingHotelConfirmationNotice",e[e.DisableCouponNearExpirationNotice=129]="DisableCouponNearExpirationNotice",e[e.BillStatusChange=106]="BillStatusChange",e[e.DidaActivity_DragonBoatFest=202]="DidaActivity_DragonBoatFest",e[e.PaymentChannel_BaoFoo=301]="PaymentChannel_BaoFoo",e[e.PaymentChannel_Balance=303]="PaymentChannel_Balance",e[e.PaymentChannel_Alipay=305]="PaymentChannel_Alipay",e[e.PaymentChannel_WeChatMinAppPay=314]="PaymentChannel_WeChatMinAppPay",e[e.PaymentChannel_WeChatMinAppPay_Forbidden=315]="PaymentChannel_WeChatMinAppPay_Forbidden",e[e.PaymentChannel_Nuvei=316]="PaymentChannel_Nuvei",e[e.PaymentChannel_Nuvei_Forbidden=317]="PaymentChannel_Nuvei_Forbidden",e[e.ExternalAuth=400]="ExternalAuth",e[e.AllowCustomVoucherInfo=603]="AllowCustomVoucherInfo",e[e.BookingSettlement=701]="BookingSettlement",e[e.AllowSettlementPayChannel_Alipay=702]="AllowSettlementPayChannel_Alipay",e[e.AllowSettlementPayChannel_BaoFoo=703]="AllowSettlementPayChannel_BaoFoo",e[e.WorkOrder=704]="WorkOrder",e[e.AllowPreviewVoucher=707]="AllowPreviewVoucher",e[e.AllowEditHotline=708]="AllowEditHotline",e[e.ExposeSurveyEntrance=709]="ExposeSurveyEntrance",e[e.AllowDisplayHotelRadar=712]="AllowDisplayHotelRadar",e[e.AllowLoadRateWithSettlementCurrency=710]="AllowLoadRateWithSettlementCurrency",e[e.ForbidChangePreOrderRoomCount=-711]="ForbidChangePreOrderRoomCount",e[e.AllowFindHotelByMap=808]="AllowFindHotelByMap",e[e.AllowViewTestingFeature=810]="AllowViewTestingFeature",e[e.TransfersFeature=900]="TransfersFeature",e[e.TransfersFeature_Forbidden=-900]="TransfersFeature_Forbidden",e[e.CouponFeature=1e3]="CouponFeature",e[e.CouponFeature_Forbidden=-1e3]="CouponFeature_Forbidden",e[e.DataStatisticsFeature=1100]="DataStatisticsFeature",e[e.DataStatisticsFeature_Forbidden=-1100]="DataStatisticsFeature_Forbidden",e[e.SpecialRatePlanFeature=1200]="SpecialRatePlanFeature",e[e.SpecialRatePlanFeature_Forbidden=-1200]="SpecialRatePlanFeature_Forbidden",e[e.DoubleUserPointsIncentive=1210]="DoubleUserPointsIncentive",e[e.DoubleUserPointsIncentive_Forbidden=-1210]="DoubleUserPointsIncentive_Forbidden",e[e.TicketStandardizationFeature=1300]="TicketStandardizationFeature",e[e.TicketStandardizationFeature_Forbidden=-1300]="TicketStandardizationFeature_Forbidden",e[e.HotelPackageFeature=1400]="HotelPackageFeature",e[e.FlightFeature=1500]="FlightFeature",e}({});const o={includes:[99999]},s={includes:[r.BookingSettlement],excludes:[r.ForbidBookingSettlement]},a={includes:[r.InvoiceApply],excludes:[r.HideInvoiceApply]},c={includes:[r.AllowInsurance],excludes:[r.ForbidInsurance]},l={includes:[r.PaymentChannel_WeChat],excludes:[r.PaymentChannel_WeChat_Forbidden]},u={includes:[r.PaymentChannel_DeferredPayment],excludes:[r.PaymentChannel_DeferredPayment_Forbidden]},d={includes:[r.PaymentChannel_Alipay],excludes:[r.PaymentChannel_Alipay_Forbidden]},h={includes:[r.PaymentChannel_Oceanpayment],excludes:[r.PaymentChannel_Oceanpayment_Forbidden]},p={includes:[r.PaymentChannel_Balance],excludes:[r.PaymentChannel_Balance_Forbidden]},f={includes:[r.PaymentChannel_BaoFoo],excludes:[r.PaymentChannel_BaoFoo_Forbidden]},g={includes:[r.PaymentChannel_WeChatMinAppPay],excludes:[r.PaymentChannel_WeChatMinAppPay_Forbidden]},b={includes:[r.PaymentChannel_Nuvei],excludes:[r.PaymentChannel_Nuvei_Forbidden]},m={includes:[r.AllowSettlementPayChannel_Alipay],excludes:[r.ForbidSettlementPayChannel_Alipay]},y={includes:[r.AllowSettlementPayChannel_BaoFoo],excludes:[r.ForbidSettlementPayChannel_BaoFoo]},v={includes:[r.WorkOrder],excludes:[r.ForbidWorkOrder]},C={includes:[r.AllowUserPoints],excludes:[r.ForbidUserPoints]},w={includes:[r.AllowBalanceDetail]},S={includes:[r.DidaActivity_OkinawaSakura]},_={includes:[r.TransfersFeature],excludes:[r.TransfersFeature_Forbidden]},O=o||{includes:[r.TransfersFeature],excludes:[r.TransfersFeature_Forbidden]},x={includes:[r.CouponFeature],excludes:[r.CouponFeature_Forbidden]},z={includes:[r.DataStatisticsFeature],excludes:[r.DataStatisticsFeature_Forbidden]},T={includes:[r.SpecialRatePlanFeature],excludes:[r.SpecialRatePlanFeature_Forbidden]},k={includes:[r.DidaShoppingMapV2]},P={includes:[r.TicketStandardizationFeature],excludes:[r.TicketStandardizationFeature_Forbidden]},E={excludes:[r.ForbidBookingExport]},D={includes:[r.HotelPackageFeature]},M={includes:[r.FlightFeature]},I={includes:[r.DidaShoppingV2View]};class A{static isAllowControl(e,t){var n,i;let r=!0,o=!0;return!(!e.ignoreEmpty||(null===(n=e.includes)||void 0===n?void 0:n.length)>0||(null===(i=e.excludes)||void 0===i?void 0:i.length)>0)||(null!=e.includes&&(r=A.hasAnyExperiments(e.includes,t)),null!=e.excludes&&(o=!A.hasAnyExperiments(e.excludes,t)),r&&o)}static hasAnyExperiments(e,t){let n=!1;return!(null==t.rolledOutExperiments||(n=A.checkExperiments(e,t.rolledOutExperiments),!n))||!(null==t.userExperiments||(n=A.checkExperiments(e,t.userExperiments),!n))||!(null==t.clientExperiments||(n=A.checkExperiments(e,t.clientExperiments),!n))||n}static checkExperiments(e,t){return t.filter(t=>e.indexOf(t)>=0).length>0}}},"Se/U":function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("jIYg");function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e){return Object(i.a)(1,arguments),e instanceof Date||"object"===r(e)&&"[object Date]"===Object.prototype.toString.call(e)}var s=n("/Tr7");function a(e){if(Object(i.a)(1,arguments),!o(e)&&"number"!=typeof e)return!1;var t=Object(s.a)(e);return!isNaN(Number(t))}},SeVD:function(e,t,n){"use strict";n.d(t,"a",function(){return u});var i=n("ngJS"),r=n("NJ4a"),o=n("Lhse"),s=n("kJWO"),a=n("I55L"),c=n("c2HN"),l=n("XoHu");const u=e=>{if(e&&"function"==typeof e[s.a])return u=e,e=>{const t=u[s.a]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(Object(a.a)(e))return Object(i.a)(e);if(Object(c.a)(e))return n=e,e=>(n.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,r.a),e);if(e&&"function"==typeof e[o.a])return t=e,e=>{const n=t[o.a]();for(;;){const t=n.next();if(t.done){e.complete();break}if(e.next(t.value),e.closed)break}return"function"==typeof n.return&&e.add(()=>{n.return&&n.return()}),e};{const t=Object(l.a)(e)?"an invalid object":`'${e}'`;throw new TypeError(`You provided ${t} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var t,n,u}},SjsC:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var i=function(e){return e[e.Percentage=1]="Percentage",e[e.FixedAmount=2]="FixedAmount",e}({})},SpAZ:function(e,t,n){"use strict";function i(e){return e}n.d(t,"a",function(){return i})},SxV6:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var i=n("sVev"),r=n("pLZG"),o=n("IzEk"),s=n("xbPD"),a=n("XDbj"),c=n("SpAZ");function l(e,t){const n=arguments.length>=2;return l=>l.pipe(e?Object(r.a)((t,n)=>e(t,n,l)):c.a,Object(o.a)(1),n?Object(s.a)(t):Object(a.a)(()=>new i.a))}},Szzx:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var i=n("/Tr7"),r=n("jIYg"),o=n("1vjI"),s=n("/h9T"),a=n("vq9N");function c(e,t){var n,c,l,u,d,h,p,f;Object(r.a)(1,arguments);var g=Object(i.a)(e),b=g.getUTCFullYear(),m=Object(a.a)(),y=Object(s.a)(null!==(n=null!==(c=null!==(l=null!==(u=null==t?void 0:t.firstWeekContainsDate)&&void 0!==u?u:null==t||null===(d=t.locale)||void 0===d||null===(h=d.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==l?l:m.firstWeekContainsDate)&&void 0!==c?c:null===(p=m.locale)||void 0===p||null===(f=p.options)||void 0===f?void 0:f.firstWeekContainsDate)&&void 0!==n?n:1);if(!(y>=1&&y<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var v=new Date(0);v.setUTCFullYear(b+1,0,y),v.setUTCHours(0,0,0,0);var C=Object(o.a)(v,t),w=new Date(0);w.setUTCFullYear(b,0,y),w.setUTCHours(0,0,0,0);var S=Object(o.a)(w,t);return g.getTime()>=C.getTime()?b+1:g.getTime()>=S.getTime()?b:b-1}},T94O:function(e,t,n){"use strict";n.d(t,"a",function(){return b});var i=n("fXoL");let r=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Lb({type:e,selectors:[["nd-loading-subscript"]]}),e})();var o=n("ofXK");const s=["loadingRef"];function a(e,t){1&e&&i.Sb(0)}function c(e,t){if(1&e&&(i.Ub(0),i.Qc(1,a,1,0,"ng-container",3),i.Tb()),2&e){i.oc();const e=i.Ec(3);i.Cb(1),i.wc("ngTemplateOutlet",e)}}function l(e,t){1&e&&i.Sb(0)}function u(e,t){if(1&e&&(i.Wb(0,"div",4),i.Wb(1,"div",5),i.Qc(2,l,1,0,"ng-container",3),i.Vb(),i.Vb()),2&e){i.oc();const e=i.Ec(3);i.Cb(2),i.wc("ngTemplateOutlet",e)}}function d(e,t){1&e&&(i.Wb(0,"p",16),i.uc(1,1),i.Vb())}const h=function(e,t){return{height:e,width:t}};function p(e,t){if(1&e&&(i.Wb(0,"div",6),i.Wb(1,"div",7),i.Rb(2,"img",8),i.Wb(3,"div",9),i.Wb(4,"div",10),i.Wb(5,"p",11),i.Wb(6,"span",12),i.uc(7),i.Vb(),i.Wb(8,"span",13),i.ac(9,14),i.Vb(),i.Vb(),i.Qc(10,d,2,0,"p",15),i.Vb(),i.Vb(),i.Vb(),i.Vb()),2&e){const e=i.oc();i.Ib("nd-loading_fullscreen",e.fullscreen),i.Cb(1),i.Ib("nd-loading__content-wrapper_fullscreen",e.fullscreen),i.Cb(1),i.wc("src",e.loadingPath,i.Kc)("ngStyle",i.Cc(9,h,e.height,e.width)),i.Cb(1),i.Ib("nd-loading__content-text-wrapper_fullscreen",e.fullscreen),i.Cb(7),i.wc("ngIf",e.hasSubscript)}}const f=["*",[["nd-loading-subscript"]]],g=["*","nd-loading-subscript"];let b=(()=>{class e{constructor(){this.scale=1,this.type="loading",this.fullscreen=!1}ngOnInit(){this.fullscreen?(this._height="100",this._width="100"):"progress"===this.type?(this._height=(600*this.scale).toString(),this._width=(600*this.scale).toString()):(this._height=(260*this.scale).toString(),this._width=(260*this.scale).toString())}ngOnDestroy(){this.modalRef&&this.modalRef.destroy()}get loadingPath(){return"https://dsimage.didatravel.com/v2-app/images/"+("progress"===this.type?"loading_biking.gif":"loading.gif")}get width(){return`${this._width}px`}get height(){return`${this._height}px`}get hasSubscript(){return null!=this._subscript}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Kb({type:e,selectors:[["nd-loading"]],contentQueries:function(e,t,n){if(1&e&&i.Jb(n,r,1),2&e){let e;i.Dc(e=i.mc())&&(t._subscript=e.first)}},viewQuery:function(e,t){if(1&e&&i.Xc(s,1),2&e){let e;i.Dc(e=i.mc())&&(t.loadingContentRef=e.first)}},inputs:{scale:"scale",type:"type",fullscreen:"fullscreen"},ngContentSelectors:g,decls:4,vars:2,consts:function(){let e;return e="Loading...",[[4,"ngIf"],["class","nd-loading__mask",4,"ngIf"],["loadingRef",""],[4,"ngTemplateOutlet"],[1,"nd-loading__mask"],[1,"nd-loading__modal"],[1,"nd-loading",2,"text-align","center"],[1,"nd-loading__content-wrapper"],["alt","loading...",3,"src","ngStyle"],[1,"nd-loading__content-text-wrapper"],[1,"nd-loading__content-container"],[1,"nd-loading__main-content"],[1,"nd-loading__content"],[1,"nd-loading__default-content"],e,["class","nd-loading__subscript-wrapper nd-loading-subscript",4,"ngIf"],[1,"nd-loading__subscript-wrapper","nd-loading-subscript"]]},template:function(e,t){1&e&&(i.vc(f),i.Qc(0,c,2,1,"ng-container",0),i.Qc(1,u,3,1,"div",1),i.Qc(2,p,11,12,"ng-template",null,2,i.Rc)),2&e&&(i.wc("ngIf",!t.fullscreen),i.Cb(1),i.wc("ngIf",t.fullscreen))},directives:[o.o,o.t,o.p],styles:[".nd-loading__content-wrapper_fullscreen[_ngcontent-%COMP%]{display:flex;height:100px}.nd-loading__content-wrapper_fullscreen[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin-right:20px}.nd-loading__content-text-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}.nd-loading__content-text-wrapper_fullscreen[_ngcontent-%COMP%]{padding:25px 0;text-align:left}.nd-loading__main-content[_ngcontent-%COMP%]{font-size:16px;color:#1f2b4b;margin:0;padding:0}.nd-loading__default-content[_ngcontent-%COMP%]{display:none}.nd-loading__content[_ngcontent-%COMP%]:empty + .nd-loading__default-content[_ngcontent-%COMP%]{display:unset}.nd-loading__subscript-wrapper[_ngcontent-%COMP%]{margin-top:6px;margin-bottom:0}.nd-loading__mask[_ngcontent-%COMP%]{position:fixed;top:0;left:0;right:0;bottom:0;z-index:1000;background-color:rgba(0,0,0,.45)}.nd-loading__modal[_ngcontent-%COMP%]{width:500px;padding:12px 16px;background-color:#fff;border-radius:2px;margin:10% auto 0}"]}),e})()},TDP3:function(e,t,n){"use strict";n.d(t,"a",function(){return A});var i=n("pFuZ"),r=n("y6qV"),o=n("tb4M"),s=n("fXoL"),a=n("ofXK"),c=n("lSHX");function l(e,t){if(1&e&&(s.Wb(0,"span"),s.ac(1,7),s.pc(2,"bookingTicketType"),s.Vb()),2&e){const e=s.oc(3);s.Cb(2),s.ec(e.params.ReferenceID)(s.qc(2,2,e.ticketModifyType)),s.bc(1)}}function u(e,t){if(1&e&&(s.Wb(0,"span"),s.ac(1,8),s.pc(2,"bookingTicketType"),s.Vb()),2&e){const e=s.oc(3);s.Cb(2),s.ec(e.params.ReferenceID)(s.qc(2,2,e.ticketModifyType)),s.bc(1)}}function d(e,t){if(1&e&&(s.Wb(0,"span"),s.ac(1,9),s.pc(2,"bookingTicketType"),s.Vb()),2&e){const e=s.oc(3);s.Cb(2),s.ec(e.params.ReferenceID)(s.qc(2,2,e.ticketModifyType)),s.bc(1)}}function h(e,t){if(1&e&&(s.Wb(0,"span"),s.ac(1,10),s.pc(2,"bookingTicketType"),s.Vb()),2&e){const e=s.oc(3);s.Cb(2),s.ec(e.params.ReferenceID)(s.qc(2,2,e.ticketModifyType)),s.bc(1)}}function p(e,t){if(1&e&&(s.Wb(0,"span"),s.ac(1,11),s.pc(2,"bookingTicketType"),s.Vb()),2&e){const e=s.oc(3);s.Cb(2),s.ec(e.params.ReferenceID)(s.qc(2,2,e.ticketModifyType)),s.bc(1)}}function f(e,t){if(1&e&&(s.Ub(0,4),s.Qc(1,l,3,4,"span",6),s.Qc(2,u,3,4,"span",6),s.Qc(3,d,3,4,"span",6),s.Qc(4,h,3,4,"span",6),s.Qc(5,p,3,4,"span",6),s.Tb()),2&e){const e=s.oc(2);s.wc("ngSwitch",e.params.LogType),s.Cb(1),s.wc("ngSwitchCase",e.WorkOrderLogTypeEnum.CustomerCreate),s.Cb(1),s.wc("ngSwitchCase",e.WorkOrderLogTypeEnum.Finish),s.Cb(1),s.wc("ngSwitchCase",e.WorkOrderLogTypeEnum.Lock),s.Cb(1),s.wc("ngSwitchCase",e.WorkOrderLogTypeEnum.Urge),s.Cb(1),s.wc("ngSwitchCase",e.WorkOrderLogTypeEnum.Update)}}function g(e,t){if(1&e&&(s.Ub(0,4),s.Qc(1,f,6,6,"ng-container",5),s.Tb()),2&e){const e=s.oc();s.wc("ngSwitch",e.ndMessageEntity.Category),s.Cb(1),s.wc("ngSwitchCase",e.MessageCategoryTypeEnum.WorkOrderStatusChange)}}function b(e,t){1&e&&(s.gc(0,15,1),s.Sb(1),s.dc())}function m(e,t){1&e&&(s.gc(0,15,2),s.Sb(1),s.dc())}function y(e,t){if(1&e&&(s.Ub(0),s.gc(1,15),s.Qc(2,b,2,0,"ng-container",16),s.Qc(3,m,2,0,"ng-container",16),s.dc(),s.Tb()),2&e){s.oc(4);const e=s.Ec(4),t=s.Ec(6);s.Cb(2),s.wc("ngTemplateOutlet",e),s.Cb(1),s.wc("ngTemplateOutlet",t)}}function v(e,t){1&e&&(s.gc(0,17,1),s.Sb(1),s.dc())}function C(e,t){1&e&&(s.gc(0,17,2),s.Sb(1),s.dc())}function w(e,t){if(1&e&&(s.Ub(0),s.gc(1,17),s.Qc(2,v,2,0,"ng-container",16),s.Qc(3,C,2,0,"ng-container",16),s.dc(),s.Tb()),2&e){s.oc(4);const e=s.Ec(4),t=s.Ec(6);s.Cb(2),s.wc("ngTemplateOutlet",e),s.Cb(1),s.wc("ngTemplateOutlet",t)}}function S(e,t){1&e&&(s.gc(0,18,1),s.Sb(1),s.dc())}function _(e,t){1&e&&(s.gc(0,18,2),s.Sb(1),s.dc())}function O(e,t){if(1&e&&(s.Ub(0),s.gc(1,18),s.Qc(2,S,2,0,"ng-container",16),s.Qc(3,_,2,0,"ng-container",16),s.dc(),s.Tb()),2&e){s.oc(4);const e=s.Ec(4),t=s.Ec(6);s.Cb(2),s.wc("ngTemplateOutlet",e),s.Cb(1),s.wc("ngTemplateOutlet",t)}}function x(e,t){if(1&e&&(s.Ub(0),s.Ub(1,4),s.Qc(2,y,4,2,"ng-container",6),s.Qc(3,w,4,2,"ng-container",6),s.Qc(4,O,4,2,"ng-container",12),s.Tb(),s.Tb()),2&e){const e=s.oc(3);s.Cb(1),s.wc("ngSwitch",e.ndMessageEntity.ExtraSetting.TicketSettings.OperationID),s.Cb(1),s.wc("ngSwitchCase",e.TicketOperations.Add),s.Cb(1),s.wc("ngSwitchCase",e.TicketOperations.Complete)}}function z(e,t){if(1&e&&(s.Ub(0),s.Qc(1,x,5,3,"ng-container",14),s.Tb()),2&e){s.oc();const e=s.Ec(5),t=s.oc();s.Cb(1),s.wc("ngIf",t.displayComplexTitle)("ngIfElse",e)}}function T(e,t){1&e&&s.Sb(0)}function k(e,t){if(1&e&&(s.Ub(0),s.Qc(1,T,1,0,"ng-container",16),s.Tb()),2&e){s.oc();const e=s.Ec(5);s.Cb(1),s.wc("ngTemplateOutlet",e)}}function P(e,t){if(1&e&&(s.Ub(0),s.Sc(1),s.Tb()),2&e){const e=s.oc(3);s.Cb(1),s.Tc(e.title)}}function E(e,t){if(1&e&&s.Qc(0,P,2,1,"ng-container",19),2&e){const e=s.oc(2);s.wc("ngIf",e.title)}}function D(e,t){if(1&e&&(s.Wb(0,"span"),s.Ub(1,4),s.Qc(2,z,2,2,"ng-container",6),s.Qc(3,k,2,1,"ng-container",12),s.Qc(4,E,1,1,"ng-template",null,13,s.Rc),s.Tb(),s.Vb()),2&e){const e=s.oc();s.Cb(1),s.wc("ngSwitch",e.ndMessageEntity.Category),s.Cb(1),s.wc("ngSwitchCase",e.MessageCategoryTypeEnum.WorkOrderStatusChange)}}function M(e,t){if(1&e&&(s.Ub(0),s.ac(1,20),s.Tb()),2&e){const e=s.oc();s.Cb(1),s.ec(e.ndMessageEntity.ExtraSetting.TicketSettings.DidaBookingID),s.bc(1)}}function I(e,t){if(1&e&&(s.Ub(0),s.ac(1,21),s.Tb()),2&e){const e=s.oc();s.Cb(1),s.ec(e.ndMessageEntity.ExtraSetting.TicketSettings.Issue.__display_name__),s.bc(1)}}let A=(()=>{class e extends o.n{constructor(){super(),this.MessageCategoryTypeEnum=r.a,this.WorkOrderLogTypeEnum=i.e,this.TicketOperations=i.d}get config(){return this.ndMessageEntity&&this.ndMessageEntity._calculatedConfig}get params(){return this.ndMessageEntity.Params}get title(){return this.ndMessageEntity?this.ndMessageEntity.TitleDict?this.ndMessageEntity.TitleDict[this.lang]||this.ndMessageEntity.TitleDict["en-US"]:this.ndMessageEntity.Title:null}get ticketModifyType(){var e;return(null===(e=this.params)||void 0===e?void 0:e.ModifyType)&&parseInt(this.params.ModifyType,10)}get displayComplexTitle(){var e,t;return!!(null===(t=null===(e=this.ndMessageEntity)||void 0===e?void 0:e.ExtraSetting)||void 0===t?void 0:t.TicketSettings)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=s.Kb({type:e,selectors:[["nd-message-complex-title"]],inputs:{ndMessageEntity:"ndMessageEntity"},features:[s.zb],decls:7,vars:2,consts:function(){let e,t,n,i,r,o,a,c,l,u;return e="Ticket [Booking ID: " + "\ufffd0\ufffd" + ". Modification Type:" + "\ufffd1\ufffd" + "] is created",t="Ticket [Booking ID: " + "\ufffd0\ufffd" + ". Modification Type: " + "\ufffd1\ufffd" + "] is finished",n="Ticket [Booking ID: " + "\ufffd0\ufffd" + ". Modification Type: " + "\ufffd1\ufffd" + "] is being processed",i="Ticket [Booking ID: " + "\ufffd0\ufffd" + ". Modification Type: " + "\ufffd1\ufffd" + "] is marked as urgent",r="Ticket [Booking ID: " + "\ufffd0\ufffd" + ". Modification Type: " + "\ufffd1\ufffd" + "] updated",o="" + "\ufffd*3:2\ufffd\ufffd#1:2\ufffd" + " " + "[\ufffd/#1:1\ufffd\ufffd/*2:1\ufffd|\ufffd/#1:2\ufffd\ufffd/*3:2\ufffd]" + " Has Been Created for " + "\ufffd*2:1\ufffd\ufffd#1:1\ufffd" + "" + "[\ufffd/#1:1\ufffd\ufffd/*2:1\ufffd|\ufffd/#1:2\ufffd\ufffd/*3:2\ufffd]" + "",o=s.fc(o),a="" + "\ufffd*3:2\ufffd\ufffd#1:2\ufffd" + " " + "[\ufffd/#1:1\ufffd\ufffd/*2:1\ufffd|\ufffd/#1:2\ufffd\ufffd/*3:2\ufffd]" + " for " + "\ufffd*2:1\ufffd\ufffd#1:1\ufffd" + "" + "[\ufffd/#1:1\ufffd\ufffd/*2:1\ufffd|\ufffd/#1:2\ufffd\ufffd/*3:2\ufffd]" + " Has Been Completed",a=s.fc(a),c="" + "\ufffd*3:2\ufffd\ufffd#1:2\ufffd" + " " + "[\ufffd/#1:1\ufffd\ufffd/*2:1\ufffd|\ufffd/#1:2\ufffd\ufffd/*3:2\ufffd]" + " for " + "\ufffd*2:1\ufffd\ufffd#1:1\ufffd" + "" + "[\ufffd/#1:1\ufffd\ufffd/*2:1\ufffd|\ufffd/#1:2\ufffd\ufffd/*3:2\ufffd]" + " Has an Update",c=s.fc(c),l="Booking (" + "\ufffd0\ufffd" + ")",u="Ticket (" + "\ufffd0\ufffd" + ")",[[3,"ngSwitch",4,"ngIf","ngIfElse"],["simpleTitleTemp",""],["ticketContent_BookingDescTemplate",""],["ticketContent_TicketDescTemplate",""],[3,"ngSwitch"],[3,"ngSwitch",4,"ngSwitchCase"],[4,"ngSwitchCase"],e,t,n,i,r,[4,"ngSwitchDefault"],["defaultTitle",""],[4,"ngIf","ngIfElse"],o,[4,"ngTemplateOutlet"],a,c,[4,"ngIf"],l,u]},template:function(e,t){if(1&e&&(s.Qc(0,g,2,2,"ng-container",0),s.Qc(1,D,6,2,"ng-template",null,1,s.Rc),s.Qc(3,M,2,1,"ng-template",null,2,s.Rc),s.Qc(5,I,2,1,"ng-template",null,3,s.Rc)),2&e){const e=s.Ec(2);s.wc("ngIf",t.config.useTemplate)("ngIfElse",e)}},directives:[a.o,a.q,a.r,a.s,a.t],pipes:[c.a],encapsulation:2,changeDetection:0}),e})()},TEgR:function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return a}),n.d(t,"c",function(){return d});var i=function(e){return e[e.Create=1]="Create",e[e.Update=2]="Update",e[e.Delete=3]="Delete",e}({}),r=function(e){return e.Activity="Activity",e.CommonData="CommonData",e.HomePageData="HomePageData",e.HotelPromotion="HotelPromotion",e.Hotline="Hotline",e.BannerSetting="BannerSetting",e.BannerConfig="BannerConfig",e}({}),o=n("U8d7"),s=n("B7ZD");class a extends o.p{constructor(e){super(e),e||(this.Lang=s.d.zh_CN),e&&(this.Id=e.Id,this.StartDate=e.StartDate,this.Expired=e.Expired,this.IsCNOnly=e.IsCNOnly,this.Inactive=e.Inactive,this.Lang=e.Lang,this.Title=e.Title,this.SubTitle=e.SubTitle,this.Desc=e.Desc,this.Reference=e.Reference,this.ReferenceUrl=e.ReferenceUrl,this.ImgUrl=e.ImgUrl,this.ImgUrl2=e.ImgUrl2),"string"==typeof this.Expired&&this.Expired&&(this.Expired=new Date(this.Expired)),("string"==typeof this.StartDate||this.StartDate)&&(this.StartDate=new Date(this.StartDate)),this.Id||(this.Id=this.Title)}get IsValid(){return!this.Inactive&&!this.IsExpired&&!this.IsIneffective}get IsExpired(){return!!this.Expired&&+this.ExpiredDate.now()}}class c extends o.p{}class l extends a{constructor(e){super(e),e&&(this.BannerType=e.BannerType,this.DefaultReferenceUrl=e.DefaultReferenceUrl,this.WithActivity=e.WithActivity,this.ActivityType=e.ActivityType,this.IsAd=e.IsAd,this.Controls=e.Controls,this.ClientIds=e.ClientIds,this.ClientType=e.ClientType,this.ClientGroupDomain=e.ClientGroupDomain,this.ClientCountryCode=e.ClientCountryCode,this.ClientCooperationMode=e.ClientCooperationMode,this.ExcludesGSA=e.ExcludesGSA,this.DestinaionCountryCode=e.DestinaionCountryCode,this.SubBanner&&(this.SubBanner=new c(this.SubBanner))),this.__validation_ret__=void 0}addLanguage(e,t){var n;return super.addLanguage(e,t),null===(n=this.SubBanner)||void 0===n||n.addLanguage(e),this}removeLanguage(e){var t;return super.removeLanguage(e),null===(t=this.SubBanner)||void 0===t||t.removeLanguage(e),this}}var u=n("rUKz");const d=new class extends u.a{constructor(){super(),this._updateTimeCache=new Map}getResourceEntities(e,t){return this.httpClientWrapper.get("/ResourceApi/GetDataEntity",{entityType:e,entityKey:null==t?void 0:t.join(","),PageSize:100},{resultProcessor:e=>this.flattenDataEntityPage(e)})}getResourceEntity(e,t){return this.httpClientWrapper.get("/ResourceApi/GetDataEntity",{entityType:e,entityKey:t},{resultProcessor:e=>{const t=this.flattenDataEntityPage(e);return t[0]?t[0]:null}})}getResourceEntityExtracted(e,t,n){return this.httpClientWrapper.get("/ResourceApi/GetDataEntity",{entityType:e,entityKey:t},{resultProcessor:e=>{const t=this.flattenDataEntityPage(e);return t[0]?n(t[0]):null}})}updateResourceEntity(e,t){return e.UpdateTime=this._updateTimeCache.get([e.EntityType,e.EntityKey].join(".")),this.httpClientWrapper.post("/ResourceApi/UpdateDataEntity",{entity:e,modifyType:t})}getPromotionData(e){return d.getResourceEntityExtracted(r.HotelPromotion,e,e=>e.EntityValue[0])}getPromotionList(){return d.getResourceEntityExtracted(r.HotelPromotion,"HotelList",e=>e.EntityValue.map(e=>new a(e)).filter(e=>e.IsValid))}getBannerConfig(e){return this.getResourceEntityExtracted(r.BannerConfig,"Default",t=>{var n;return null!==(n=t.EntityValue[e])&&void 0!==n?n:{}})}getBannerList(e,t){return this.getResourceEntityExtracted(r.BannerSetting,e,e=>{let n=e.EntityValue.map(e=>{e.Inactive=e.Inactive||!1,!e.Lang&&e.IsCNOnly&&(e.Lang="zh-CN"),e.I18n&&Object.keys(e.I18n).map(t=>{if(t.includes("_")){const n=t.replace("_","-");e.I18n[n]=e.I18n[n]||e.I18n[t]}});const t=e.ActivityType||e.BannerType;return e.ActivityType=t,e.Id&&t&&(e.DefaultReferenceUrl=["/promotion",t,e.Id].filter(e=>!!e).join("/")),new l(e)});if(!0===t)return n.sort((e,t)=>e.IsValid&&!t.IsValid?-1:1);if(n=n.filter(e=>e.IsValid),t&&"object"==typeof t&&(null==t?void 0:t.lang)){const e=new Set([t.lang]);"en-US"!==t.lang&&"zh-CN"!==t.lang&&e.add("en-US"),n=n.filter(t=>!t.Lang||e.has(t.Lang)),n.map(e=>e.switchLanguage(t.lang))}return n.map(e=>{e.ReferenceUrl=e.ReferenceUrl||e.DefaultReferenceUrl}),n})}updateBannerSetting(e,t){const n={};return n.EntityValue=JSON.stringify(t.map(e=>new l(e))),n.EntityType=r.BannerSetting,n.EntityKey=e,this.updateResourceEntity(n,i.Update)}uploadFile(e,t,n){for(const i of Object.keys(t))e.append(i,t[i]);return this.httpClientWrapper.post(n,e)}getHotelPoster(e,t){return this.httpClientWrapper.post("/Poster/GetHotelPoster",{option:e,userId:t,v:2})}getBulletin(e){return this.httpClientWrapper.post("/ResourceApi/SearchBulletin",{options:{ID:e,withContent:!0,PageNum:1,PageSize:10}},{resultProcessor:e=>e.Data[0]})}searchBulletin(e,t=2,n=1,i=10){return e&&"en-US"!==e&&"zh-CN"!==e&&(e="en-US"),this.httpClientWrapper.post("/ResourceApi/SearchBulletin",{options:{Type:t,Lang:e,PageSize:i,pageNum:n}})}getHomePageConfig(){return this.httpClientWrapper.get("/ResourceApi/GetHomePageConfig")}updateRewardRecord(e){const t={};return t.EntityValue=JSON.stringify(e),t.EntityType=r.HomePageData,t.EntityKey="HonorRecordList",this.updateResourceEntity(t,i.Update)}flattenDataEntityPage(e){return e.Data.map(e=>(this._updateTimeCache.set([e.EntityType,e.EntityKey].join("."),e.UpdateTime),e.EntityValue=JSON.parse(e.EntityValue.toString()),e))}};var h=n("mrSG");new class extends u.a{constructor(){super()}getActivity(e){return d.getResourceEntityExtracted(r.Activity,e,e=>{const t=e.EntityValue;return Array.isArray(t)?0===t.length?null:(t[0].regionList=t.slice(1),t[0]):t})}createActivity(e,t,n){return d.updateResourceEntity({EntityKey:e,EntityType:r.Activity,EntityValue:t||"[]",EntityDesc:n},i.Create)}updateActivity(e,t){var{regionList:n}=t,o=Object(h.d)(t,["regionList"]);const s={};return s.EntityKey=e,s.EntityType=r.Activity,s.EntityValue=JSON.stringify([o,...n]),d.updateResourceEntity(s,i.Update)}}},TaO5:function(e,t,n){"use strict";n.d(t,"a",function(){return b}),n.d(t,"b",function(){return m}),n.d(t,"c",function(){return g});var i=n("mrSG"),r=n("u47x"),o=n("cH1L"),s=n("fXoL"),a=n("3Pt+"),c=n("/KA4"),l=n("XNiG"),u=n("1G5W"),d=n("ofXK");const h=["*"],p=["inputElement"],f=["nz-checkbox",""];let g=(()=>{class e{constructor(e,t){this.nzOnChange=new s.n,this.checkboxList=[],e.addClass(t.nativeElement,"ant-checkbox-group")}addCheckbox(e){this.checkboxList.push(e)}removeCheckbox(e){this.checkboxList.splice(this.checkboxList.indexOf(e),1)}onChange(){const e=this.checkboxList.filter(e=>e.nzChecked).map(e=>e.nzValue);this.nzOnChange.emit(e)}}return e.\u0275fac=function(t){return new(t||e)(s.Qb(s.G),s.Qb(s.l))},e.\u0275cmp=s.Kb({type:e,selectors:[["nz-checkbox-wrapper"]],outputs:{nzOnChange:"nzOnChange"},exportAs:["nzCheckboxWrapper"],ngContentSelectors:h,decls:1,vars:0,template:function(e,t){1&e&&(s.vc(),s.uc(0))},encapsulation:2,changeDetection:0}),e})(),b=(()=>{class e{constructor(e,t,n,i,r){this.elementRef=e,this.nzCheckboxWrapperComponent=t,this.cdr=n,this.focusMonitor=i,this.directionality=r,this.dir="ltr",this.destroy$=new l.a,this.onChange=()=>{},this.onTouched=()=>{},this.nzCheckedChange=new s.n,this.nzValue=null,this.nzAutoFocus=!1,this.nzDisabled=!1,this.nzIndeterminate=!1,this.nzChecked=!1,this.elementRef.nativeElement.classList.add("ant-checkbox-wrapper")}hostClick(e){e.preventDefault(),this.focus(),this.innerCheckedChange(!this.nzChecked)}innerCheckedChange(e){this.nzDisabled||(this.nzChecked=e,this.onChange(this.nzChecked),this.nzCheckedChange.emit(this.nzChecked),this.nzCheckboxWrapperComponent&&this.nzCheckboxWrapperComponent.onChange())}writeValue(e){this.nzChecked=e,this.cdr.markForCheck()}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.nzDisabled=e,this.cdr.markForCheck()}focus(){this.focusMonitor.focusVia(this.inputElement,"keyboard")}blur(){this.inputElement.nativeElement.blur()}ngOnInit(){var e;this.focusMonitor.monitor(this.elementRef,!0).subscribe(e=>{e||Promise.resolve().then(()=>this.onTouched())}),this.nzCheckboxWrapperComponent&&this.nzCheckboxWrapperComponent.addCheckbox(this),null===(e=this.directionality.change)||void 0===e||e.pipe(Object(u.a)(this.destroy$)).subscribe(e=>{this.dir=e,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngAfterViewInit(){this.nzAutoFocus&&this.focus()}ngOnDestroy(){this.focusMonitor.stopMonitoring(this.elementRef),this.nzCheckboxWrapperComponent&&this.nzCheckboxWrapperComponent.removeCheckbox(this),this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(s.Qb(s.l),s.Qb(g,8),s.Qb(s.h),s.Qb(r.b),s.Qb(o.c,8))},e.\u0275cmp=s.Kb({type:e,selectors:[["","nz-checkbox",""]],viewQuery:function(e,t){if(1&e&&s.Xc(p,3),2&e){let e;s.Dc(e=s.mc())&&(t.inputElement=e.first)}},hostVars:4,hostBindings:function(e,t){1&e&&s.lc("click",function(e){return t.hostClick(e)}),2&e&&s.Ib("ant-checkbox-wrapper-checked",t.nzChecked)("ant-checkbox-rtl","rtl"===t.dir)},inputs:{nzValue:"nzValue",nzAutoFocus:"nzAutoFocus",nzDisabled:"nzDisabled",nzIndeterminate:"nzIndeterminate",nzChecked:"nzChecked"},outputs:{nzCheckedChange:"nzCheckedChange"},exportAs:["nzCheckbox"],features:[s.Bb([{provide:a.m,useExisting:Object(s.V)(()=>e),multi:!0}])],attrs:f,ngContentSelectors:h,decls:6,vars:10,consts:[[1,"ant-checkbox"],["type","checkbox",1,"ant-checkbox-input",3,"checked","ngModel","disabled","ngModelChange","click"],["inputElement",""],[1,"ant-checkbox-inner"]],template:function(e,t){1&e&&(s.vc(),s.Wb(0,"span",0),s.Wb(1,"input",1,2),s.lc("ngModelChange",function(e){return t.innerCheckedChange(e)})("click",function(e){return e.stopPropagation()}),s.Vb(),s.Rb(3,"span",3),s.Vb(),s.Wb(4,"span"),s.uc(5),s.Vb()),2&e&&(s.Ib("ant-checkbox-checked",t.nzChecked&&!t.nzIndeterminate)("ant-checkbox-disabled",t.nzDisabled)("ant-checkbox-indeterminate",t.nzIndeterminate),s.Cb(1),s.wc("checked",t.nzChecked)("ngModel",t.nzChecked)("disabled",t.nzDisabled),s.Db("autofocus",t.nzAutoFocus?"autofocus":null))},directives:[a.c,a.o,a.r],encapsulation:2,changeDetection:0}),Object(i.b)([Object(c.a)(),Object(i.c)("design:type",Object)],e.prototype,"nzAutoFocus",void 0),Object(i.b)([Object(c.a)(),Object(i.c)("design:type",Object)],e.prototype,"nzDisabled",void 0),Object(i.b)([Object(c.a)(),Object(i.c)("design:type",Object)],e.prototype,"nzIndeterminate",void 0),Object(i.b)([Object(c.a)(),Object(i.c)("design:type",Object)],e.prototype,"nzChecked",void 0),e})(),m=(()=>{class e{}return e.\u0275mod=s.Ob({type:e}),e.\u0275inj=s.Nb({factory:function(t){return new(t||e)},imports:[[o.a,d.c,a.k,r.a]]}),e})()},TlLR:function(e,t,n){"use strict";n.d(t,"a",function(){return d});var i=n("mrSG"),r=n("fXoL"),o=n("/KA4"),s=n("ofXK"),a=n("FwiY");function c(e,t){if(1&e){const e=r.Xb();r.Wb(0,"span",2),r.lc("click",function(t){return r.Hc(e),r.oc().onClose(t)}),r.Sc(1,"\n "),r.Rb(2,"i",3),r.Sc(3,"\n "),r.Vb()}}function l(e,t){1&e&&(r.Wb(0,"span",4),r.Sc(1,"\n "),r.Rb(2,"i",5),r.Sc(3,"\n "),r.Vb())}const u=["*"];let d=(()=>{class e{constructor(e){this.changeDetector=e,this.ndChecked=!1,this.ndCheckable=!1,this.ndChange=new r.n,this.ndClosable=!1,this.ndClose=new r.n,this.ndDisabled=!1,this.ndReverse=!1,this.ndDashed=!1,this.ndBgOpacity=.12,this.ndBorderOpacity=.2}get tagClass(){return{"nd-tag":!0,"nd-tag_small":"small"===this.ndSize,"nd-tag_large":"large"===this.ndSize}}get tagStyle(){if(!this.ndColor&&!this.ndStyle)return;if(!this.ndColor)return this.ndStyle;if(this.ndReverse)return Object.assign({color:"white","background-color":this.ndColor},this.ndStyle||{});let e=[];this.ndColor.startsWith("#")?e=[this.ndColor.substr(1,2),this.ndColor.substr(3,2),this.ndColor.substr(5,2)].map(e=>parseInt(e,16)):this.ndColor.startsWith("rgb")&&(e=this.ndColor.substring(this.ndColor.indexOf("(")+1,this.ndColor.indexOf(")")).split(",")),e[3]=this.ndBgOpacity;const t=`rgba(${e.join(", ")})`;e[3]=this.ndBorderOpacity;const n=`rgba(${e.join(", ")})`;return Object.assign(Object.assign({color:this.ndColor,"background-color":t},this.ndStyle||{}),{"border-color":n})}onHostClick(){!this.ndDisabled&&this.ndCheckable&&(this.ndChecked=!this.ndChecked,this.ndChange.emit(this.ndChecked))}onClose(e){this.ndClose.emit()}detectChanges(){this.changeDetector.markForCheck()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.h))},e.\u0275cmp=r.Kb({type:e,selectors:[["nd-tag"]],hostVars:18,hostBindings:function(e,t){1&e&&r.lc("click",function(){return t.onHostClick()}),2&e&&(r.Mc(t.tagStyle),r.Eb(t.tagClass),r.Ib("nd-tag_checked",t.ndChecked)("nd-tag_checkable",t.ndCheckable)("nd-tag_closable",t.ndClosable)("nd-tag_disabled",t.ndDisabled)("nd-tag_dashed",t.ndDashed)("nd-tag_block",t.ndBlock)("nd-tag_borderless",t.ndBorderless))},inputs:{ndChecked:"ndChecked",ndCheckable:"ndCheckable",ndClosable:"ndClosable",ndDisabled:"ndDisabled",ndReverse:"ndReverse",ndDashed:"ndDashed",ndValue:"ndValue",ndSize:"ndSize",ndBlock:"ndBlock",ndStyle:"ndStyle",ndColor:"ndColor",ndBgOpacity:"ndBgOpacity",ndBorderOpacity:"ndBorderOpacity",ndBorderless:"ndBorderless"},outputs:{ndChange:"ndChange",ndClose:"ndClose"},ngContentSelectors:u,decls:7,vars:2,consts:[[3,"click",4,"ngIf"],["class","nd-tag__indicator",4,"ngIf"],[3,"click"],["nz-icon","","nzType","close","nzTheme","outline",1,"nd-tag__close-icon"],[1,"nd-tag__indicator"],["nz-icon","","nzType","check","nzTheme","outline",1,"nd-tag__indicator-icon"]],template:function(e,t){1&e&&(r.vc(),r.Sc(0,"\n "),r.uc(1),r.Sc(2,"\n "),r.Qc(3,c,4,0,"span",0),r.Sc(4,"\n "),r.Qc(5,l,4,0,"span",1),r.Sc(6,"\n ")),2&e&&(r.Cb(3),r.wc("ngIf",t.ndClosable),r.Cb(2),r.wc("ngIf",t.ndCheckable))},directives:[s.o,a.a],styles:[":root{--nd-tag-radius:4px}.nd-tag{position:relative;display:inline-block;padding:3px 8px;font-size:14px;line-height:22px;border:1px solid #ced4da;border-radius:var(--nd-tag-radius);box-sizing:border-box}.nd-tag__indicator{font-size:12px;position:absolute;bottom:0;line-height:1;right:-1px;color:#fff;visibility:hidden;border-left:20px solid transparent;border-bottom:20px solid #f32a4e;height:0;width:0}.nd-tag__indicator-icon{margin-top:8px;margin-left:-12px}.nd-tag__close-icon{margin-left:4px;color:#676f86;cursor:pointer}.nd-tag__close-icon:hover{color:#f32a4e}.nd-tag_checkable{padding-right:26px;cursor:pointer}.nd-tag_dashed{border-style:dashed}.nd-tag_borderless{border:1px solid transparent!important}.nd-tag_small{font-size:12px;line-height:18px;padding:0 8px}.nd-tag_large{padding:7px 8px}.nd-tag_disabled{cursor:not-allowed;color:#fff;background-color:#676f86}.nd-tag_block{width:100%;text-align:center}.nd-tag_checked{border-color:#f32a4e;color:#f32a4e}.nd-tag_checked .nd-tag__indicator{visibility:visible}.nd-tag:not(.nd-tag_disabled):hover{border-color:#f32a4e}"],encapsulation:2,changeDetection:0}),Object(i.b)([Object(o.a)(),Object(i.c)("design:type",Object)],e.prototype,"ndBorderless",void 0),e})()},Tnpf:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n("fXoL"),r=(n("B7ZD"),n("ofXK"));let o=(()=>{class e{}return e.\u0275mod=i.Ob({type:e}),e.\u0275inj=i.Nb({factory:function(t){return new(t||e)},imports:[[r.c]]}),e})()},U18o:function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return r}),n.d(t,"c",function(){return o});var i=function(e){return e.HotelSearchPanel="HotelSearchPanel",e.SuggestionTypeahead="SuggestionTypeahead",e.HotelSearchFilter="HotelSearchFilter",e.HotelPackageSearchFilter="HotelPackageSearchFilter",e.BookingSearchFilter="BookingSearchFilter",e.TransferBookingSearchFilter="TransferBookingSearchFilter",e.DateRangePicker="DateRangePicker",e.DateTimePicker="DateTimePicker",e.RatePlanTable="RatePlanTable",e.CarouselAndSlider="CarouselAndSlider",e.NavBar="NavBar",e.SideBar="SideBar",e.Breadcrumb="Breadcrumb",e.SpecialRequest="SpecialRequest",e.CancellationPolicy="CancellationPolicy",e.PromotionRegion="PromotionRegion",e.PromotionHotel="PromotionHotel",e.UserPageViewHistoryGallery="UserPageViewHistoryGallery",e.RoomOccupancyPicker="RoomOccupancyPicker",e.NationalityPicker="NationalityPicker",e.MapWindow="MapWindow",e.MapModal="MapModal",e.FavorHotel="FavorHotel",e.Pagination="Pagination",e.Swiper="Swiper",e.HotelList="HotelList",e.HotelDetail="HotelDetail",e.HotelFind="HotelFind",e.HotelMarkup="HotelMarkup",e.UserCenter="UserCenter",e.PointsMarket="PointsMarket",e}({}),r=function(e){return e.ClearKeyword="Clear_Keyword",e.SelectRegion="Select_Region",e.SelectHotel="Select_Hotel",e.SelectAirport="Select_Airport",e.SelectPOI="Select_POI",e.ClickRegionOption="Click_RegionOption",e.SwitchRegionOption="Switch_RegionOption",e.SelectRegionTab="Select_RegionTab",e.SelectHotSearchRegion="Select_HotSearchRegion",e}({}),o=function(e){return e.SwitchPrev="SwiperSwitchPrev",e.SwitchNext="SwiperSwitchNext",e.SwitchItem="SwiperSwitchItem",e.SelectItem="SwiperSelectItem",e}({})},U5Mb:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var i=n("mrSG"),r=n("/KA4"),o=n("fXoL"),s=n("ofXK"),a=n("5voH");function c(e,t){if(1&e&&(o.Wb(0,"nd-typography-text",1),o.Wb(1,"a",2),o.Sc(2),o.Vb(),o.Vb()),2&e){const e=t.$implicit,n=o.oc();o.wc("ndBlock",n.ndBlock),o.Cb(1),o.yc("href","mailto:",e,"",o.Kc),o.Cb(1),o.Tc(e)}}let l=(()=>{class e{constructor(){this.emailList=[]}ngOnChanges(e){e.ndValue&&(this.emailList="string"==typeof this.ndValue?this.ndValue.split(","):this.ndValue)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=o.Kb({type:e,selectors:[["nd-typography-email"]],inputs:{ndValue:"ndValue",ndBlock:"ndBlock"},features:[o.Ab],decls:1,vars:1,consts:[[3,"ndBlock",4,"ngFor","ngForOf"],[3,"ndBlock"],[3,"href"]],template:function(e,t){1&e&&o.Qc(0,c,3,3,"nd-typography-text",0),2&e&&o.wc("ngForOf",t.emailList)},directives:[s.n,a.a],encapsulation:2,changeDetection:0}),Object(i.b)([Object(r.a)(),Object(i.c)("design:type",Object)],e.prototype,"ndBlock",void 0),e})()},U8d7:function(e,t,n){"use strict";n.d(t,"d",function(){return i.a}),n.d(t,"g",function(){return i.b}),n.d(t,"l",function(){return i.c}),n.d(t,"e",function(){return r.a}),n.d(t,"m",function(){return r.d}),n.d(t,"j",function(){return r.b}),n.d(t,"o",function(){return r.e}),n.d(t,"p",function(){return r.f}),n.d(t,"n",function(){return o}),n.d(t,"f",function(){return _e}),n.d(t,"b",function(){return Oe}),n.d(t,"c",function(){return xe}),n.d(t,"k",function(){return Te}),n.d(t,"h",function(){return ke}),n.d(t,"i",function(){return Ee}),n.d(t,"q",function(){return De}),n.d(t,"t",function(){return Ie}),n.d(t,"s",function(){return Ae}),n.d(t,"a",function(){return Re}),n.d(t,"u",function(){return je}),n.d(t,"v",function(){return Le}),n.d(t,"r",function(){return Me});var i=n("x74a"),r=n("mFai");class o{static isEmpty(e){return null==e||0===e.length}static getConsecutiveSubString(e,t,n=null){if(t<=0||o.isEmpty(e)||e.lengtht.toUpperCase());return t&&(n=n.slice(0,1).toUpperCase()+n.slice(1)),n}static split(e,t,n=!1){return this.splitInternal(e,t,n)}static isNumberString(e){return/^[\d\.]+$/.test(null==e?void 0:e.trim())}static tryParseFloat(e,t=!1){if(null==e)return null;if("number"==typeof e)return e;if(t){const t=parseFloat(e);return isNaN(t)?null:t}return this.isNumberString(e)?parseFloat(e):null}static splitInternal(e,t,n=!0,i=[]){if(!e||!t)return[];i||(i=[]);let r=-1;return r=n?e.toLocaleUpperCase().indexOf(t.toLocaleUpperCase()):e.indexOf(t),r>-1?(r>0&&i.push({str:e.substr(0,r),isKey:!1}),i.push({str:e.substr(r,t.length),isKey:!0}),i.concat(this.splitInternal(e.substr(r+t.length),t,n,i))):i.push({str:e,isKey:!1}),i}}var s=n("vq9N"),a=n("JhOC"),c=n("AkX2"),l=n("qVkf"),u=n("48Xl"),d=n("/Tr7"),h=n("+LmI");function p(e){return Object(h.a)({},e)}var f=n("JCDJ"),g=n("jIYg"),b=1440,m=43200,y=n("9/EM"),v=n("IYaI"),C=n("NoME"),w=n("moCM"),S=n("Bp6I"),_=n("sWYD"),O={lessThanXSeconds:{one:"\u4e0d\u5230 1 \u79d2",other:"\u4e0d\u5230 {{count}} \u79d2"},xSeconds:{one:"1 \u79d2",other:"{{count}} \u79d2"},halfAMinute:"\u534a\u5206\u949f",lessThanXMinutes:{one:"\u4e0d\u5230 1 \u5206\u949f",other:"\u4e0d\u5230 {{count}} \u5206\u949f"},xMinutes:{one:"1 \u5206\u949f",other:"{{count}} \u5206\u949f"},xHours:{one:"1 \u5c0f\u65f6",other:"{{count}} \u5c0f\u65f6"},aboutXHours:{one:"\u5927\u7ea6 1 \u5c0f\u65f6",other:"\u5927\u7ea6 {{count}} \u5c0f\u65f6"},xDays:{one:"1 \u5929",other:"{{count}} \u5929"},aboutXWeeks:{one:"\u5927\u7ea6 1 \u4e2a\u661f\u671f",other:"\u5927\u7ea6 {{count}} \u4e2a\u661f\u671f"},xWeeks:{one:"1 \u4e2a\u661f\u671f",other:"{{count}} \u4e2a\u661f\u671f"},aboutXMonths:{one:"\u5927\u7ea6 1 \u4e2a\u6708",other:"\u5927\u7ea6 {{count}} \u4e2a\u6708"},xMonths:{one:"1 \u4e2a\u6708",other:"{{count}} \u4e2a\u6708"},aboutXYears:{one:"\u5927\u7ea6 1 \u5e74",other:"\u5927\u7ea6 {{count}} \u5e74"},xYears:{one:"1 \u5e74",other:"{{count}} \u5e74"},overXYears:{one:"\u8d85\u8fc7 1 \u5e74",other:"\u8d85\u8fc7 {{count}} \u5e74"},almostXYears:{one:"\u5c06\u8fd1 1 \u5e74",other:"\u5c06\u8fd1 {{count}} \u5e74"}},x=n("zMQz"),z={date:Object(x.a)({formats:{full:"y'\u5e74'M'\u6708'd'\u65e5' EEEE",long:"y'\u5e74'M'\u6708'd'\u65e5'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},defaultWidth:"full"}),time:Object(x.a)({formats:{full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},defaultWidth:"full"}),dateTime:Object(x.a)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},T=n("1vjI");function k(e,t,n){Object(g.a)(2,arguments);var i=Object(T.a)(e,n),r=Object(T.a)(t,n);return i.getTime()===r.getTime()}function P(e,t,n){return k(e,t,n)?"eeee p":e.getTime()>t.getTime()?"'\u4e0b\u4e2a'eeee p":"'\u4e0a\u4e2a'eeee p"}var E={lastWeek:P,yesterday:"'\u6628\u5929' p",today:"'\u4eca\u5929' p",tomorrow:"'\u660e\u5929' p",nextWeek:P,other:"PP p"},D=n("ku8+"),M={ordinalNumber:function(e,t){var n=Number(e);switch(null==t?void 0:t.unit){case"date":return n.toString()+"\u65e5";case"hour":return n.toString()+"\u65f6";case"minute":return n.toString()+"\u5206";case"second":return n.toString()+"\u79d2";default:return"\u7b2c "+n.toString()}},era:Object(D.a)({values:{narrow:["\u524d","\u516c\u5143"],abbreviated:["\u524d","\u516c\u5143"],wide:["\u516c\u5143\u524d","\u516c\u5143"]},defaultWidth:"wide"}),quarter:Object(D.a)({values:{narrow:["1","2","3","4"],abbreviated:["\u7b2c\u4e00\u5b63","\u7b2c\u4e8c\u5b63","\u7b2c\u4e09\u5b63","\u7b2c\u56db\u5b63"],wide:["\u7b2c\u4e00\u5b63\u5ea6","\u7b2c\u4e8c\u5b63\u5ea6","\u7b2c\u4e09\u5b63\u5ea6","\u7b2c\u56db\u5b63\u5ea6"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:Object(D.a)({values:{narrow:["\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d","\u4e03","\u516b","\u4e5d","\u5341","\u5341\u4e00","\u5341\u4e8c"],abbreviated:["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],wide:["\u4e00\u6708","\u4e8c\u6708","\u4e09\u6708","\u56db\u6708","\u4e94\u6708","\u516d\u6708","\u4e03\u6708","\u516b\u6708","\u4e5d\u6708","\u5341\u6708","\u5341\u4e00\u6708","\u5341\u4e8c\u6708"]},defaultWidth:"wide"}),day:Object(D.a)({values:{narrow:["\u65e5","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d"],short:["\u65e5","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d"],abbreviated:["\u5468\u65e5","\u5468\u4e00","\u5468\u4e8c","\u5468\u4e09","\u5468\u56db","\u5468\u4e94","\u5468\u516d"],wide:["\u661f\u671f\u65e5","\u661f\u671f\u4e00","\u661f\u671f\u4e8c","\u661f\u671f\u4e09","\u661f\u671f\u56db","\u661f\u671f\u4e94","\u661f\u671f\u516d"]},defaultWidth:"wide"}),dayPeriod:Object(D.a)({values:{narrow:{am:"\u4e0a",pm:"\u4e0b",midnight:"\u51cc\u6668",noon:"\u5348",morning:"\u65e9",afternoon:"\u4e0b\u5348",evening:"\u665a",night:"\u591c"},abbreviated:{am:"\u4e0a\u5348",pm:"\u4e0b\u5348",midnight:"\u51cc\u6668",noon:"\u4e2d\u5348",morning:"\u65e9\u6668",afternoon:"\u4e2d\u5348",evening:"\u665a\u4e0a",night:"\u591c\u95f4"},wide:{am:"\u4e0a\u5348",pm:"\u4e0b\u5348",midnight:"\u51cc\u6668",noon:"\u4e2d\u5348",morning:"\u65e9\u6668",afternoon:"\u4e2d\u5348",evening:"\u665a\u4e0a",night:"\u591c\u95f4"}},defaultWidth:"wide",formattingValues:{narrow:{am:"\u4e0a",pm:"\u4e0b",midnight:"\u51cc\u6668",noon:"\u5348",morning:"\u65e9",afternoon:"\u4e0b\u5348",evening:"\u665a",night:"\u591c"},abbreviated:{am:"\u4e0a\u5348",pm:"\u4e0b\u5348",midnight:"\u51cc\u6668",noon:"\u4e2d\u5348",morning:"\u65e9\u6668",afternoon:"\u4e2d\u5348",evening:"\u665a\u4e0a",night:"\u591c\u95f4"},wide:{am:"\u4e0a\u5348",pm:"\u4e0b\u5348",midnight:"\u51cc\u6668",noon:"\u4e2d\u5348",morning:"\u65e9\u6668",afternoon:"\u4e2d\u5348",evening:"\u665a\u4e0a",night:"\u591c\u95f4"}},defaultFormattingWidth:"wide"})},I=n("wzM+"),A=n("vRX4"),R={code:"zh-CN",formatDistance:function(e,t,n){var i,r=O[e];return i="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",String(t)),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?i+"\u5185":i+"\u524d":i},formatLong:z,formatRelative:function(e,t,n,i){var r=E[e];return"function"==typeof r?r(t,n,i):r},localize:M,match:{ordinalNumber:Object(A.a)({matchPattern:/^(\u7b2c\s*)?\d+(\u65e5|\u65f6|\u5206|\u79d2)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:Object(I.a)({matchPatterns:{narrow:/^(\u524d)/i,abbreviated:/^(\u524d)/i,wide:/^(\u516c\u5143\u524d|\u516c\u5143)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^(\u524d)/i,/^(\u516c\u5143)/i]},defaultParseWidth:"any"}),quarter:Object(I.a)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^\u7b2c[\u4e00\u4e8c\u4e09\u56db]\u523b/i,wide:/^\u7b2c[\u4e00\u4e8c\u4e09\u56db]\u523b\u949f/i},defaultMatchWidth:"wide",parsePatterns:{any:[/(1|\u4e00)/i,/(2|\u4e8c)/i,/(3|\u4e09)/i,/(4|\u56db)/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Object(I.a)({matchPatterns:{narrow:/^(\u4e00|\u4e8c|\u4e09|\u56db|\u4e94|\u516d|\u4e03|\u516b|\u4e5d|\u5341[\u4e8c\u4e00])/i,abbreviated:/^(\u4e00|\u4e8c|\u4e09|\u56db|\u4e94|\u516d|\u4e03|\u516b|\u4e5d|\u5341[\u4e8c\u4e00]|\d|1[12])\u6708/i,wide:/^(\u4e00|\u4e8c|\u4e09|\u56db|\u4e94|\u516d|\u4e03|\u516b|\u4e5d|\u5341[\u4e8c\u4e00])\u6708/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^\u4e00/i,/^\u4e8c/i,/^\u4e09/i,/^\u56db/i,/^\u4e94/i,/^\u516d/i,/^\u4e03/i,/^\u516b/i,/^\u4e5d/i,/^\u5341(?!(\u4e00|\u4e8c))/i,/^\u5341\u4e00/i,/^\u5341\u4e8c/i],any:[/^\u4e00|1/i,/^\u4e8c|2/i,/^\u4e09|3/i,/^\u56db|4/i,/^\u4e94|5/i,/^\u516d|6/i,/^\u4e03|7/i,/^\u516b|8/i,/^\u4e5d|9/i,/^\u5341(?!(\u4e00|\u4e8c))|10/i,/^\u5341\u4e00|11/i,/^\u5341\u4e8c|12/i]},defaultParseWidth:"any"}),day:Object(I.a)({matchPatterns:{narrow:/^[\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u65e5]/i,short:/^[\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u65e5]/i,abbreviated:/^\u5468[\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u65e5]/i,wide:/^\u661f\u671f[\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u65e5]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/\u65e5/i,/\u4e00/i,/\u4e8c/i,/\u4e09/i,/\u56db/i,/\u4e94/i,/\u516d/i]},defaultParseWidth:"any"}),dayPeriod:Object(I.a)({matchPatterns:{any:/^(\u4e0a\u5348?|\u4e0b\u5348?|\u5348\u591c|[\u4e2d\u6b63]\u5348|\u65e9\u4e0a?|\u4e0b\u5348|\u665a\u4e0a?|\u51cc\u6668|)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^\u4e0a\u5348?/i,pm:/^\u4e0b\u5348?/i,midnight:/^\u5348\u591c/i,noon:/^[\u4e2d\u6b63]\u5348/i,morning:/^\u65e9\u4e0a/i,afternoon:/^\u4e0b\u5348/i,evening:/^\u665a\u4e0a?/i,night:/^\u51cc\u6668/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}},j=n("iSMj"),V={lessThanXSeconds:{one:"1\u79d2\u672a\u6e80",other:"{{count}}\u79d2\u672a\u6e80",oneWithSuffix:"\u7d041\u79d2",otherWithSuffix:"\u7d04{{count}}\u79d2"},xSeconds:{one:"1\u79d2",other:"{{count}}\u79d2"},halfAMinute:"30\u79d2",lessThanXMinutes:{one:"1\u5206\u672a\u6e80",other:"{{count}}\u5206\u672a\u6e80",oneWithSuffix:"\u7d041\u5206",otherWithSuffix:"\u7d04{{count}}\u5206"},xMinutes:{one:"1\u5206",other:"{{count}}\u5206"},aboutXHours:{one:"\u7d041\u6642\u9593",other:"\u7d04{{count}}\u6642\u9593"},xHours:{one:"1\u6642\u9593",other:"{{count}}\u6642\u9593"},xDays:{one:"1\u65e5",other:"{{count}}\u65e5"},aboutXWeeks:{one:"\u7d041\u9031\u9593",other:"\u7d04{{count}}\u9031\u9593"},xWeeks:{one:"1\u9031\u9593",other:"{{count}}\u9031\u9593"},aboutXMonths:{one:"\u7d041\u304b\u6708",other:"\u7d04{{count}}\u304b\u6708"},xMonths:{one:"1\u304b\u6708",other:"{{count}}\u304b\u6708"},aboutXYears:{one:"\u7d041\u5e74",other:"\u7d04{{count}}\u5e74"},xYears:{one:"1\u5e74",other:"{{count}}\u5e74"},overXYears:{one:"1\u5e74\u4ee5\u4e0a",other:"{{count}}\u5e74\u4ee5\u4e0a"},almostXYears:{one:"1\u5e74\u8fd1\u304f",other:"{{count}}\u5e74\u8fd1\u304f"}},L={date:Object(x.a)({formats:{full:"y\u5e74M\u6708d\u65e5EEEE",long:"y\u5e74M\u6708d\u65e5",medium:"y/MM/dd",short:"y/MM/dd"},defaultWidth:"full"}),time:Object(x.a)({formats:{full:"H\u6642mm\u5206ss\u79d2 zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:Object(x.a)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},N={lastWeek:"\u5148\u9031\u306eeeee\u306ep",yesterday:"\u6628\u65e5\u306ep",today:"\u4eca\u65e5\u306ep",tomorrow:"\u660e\u65e5\u306ep",nextWeek:"\u7fcc\u9031\u306eeeee\u306ep",other:"P"},F={code:"ja",formatDistance:function(e,t,n){var i;n=n||{};var r=V[e];return i="string"==typeof r?r:1===t?n.addSuffix&&r.oneWithSuffix?r.oneWithSuffix:r.one:n.addSuffix&&r.otherWithSuffix?r.otherWithSuffix.replace("{{count}}",String(t)):r.other.replace("{{count}}",String(t)),n.addSuffix?n.comparison&&n.comparison>0?i+"\u5f8c":i+"\u524d":i},formatLong:L,formatRelative:function(e,t,n,i){return N[e]},localize:{ordinalNumber:function(e,t){var n=Number(e);switch(String(null==t?void 0:t.unit)){case"year":return"".concat(n,"\u5e74");case"quarter":return"\u7b2c".concat(n,"\u56db\u534a\u671f");case"month":return"".concat(n,"\u6708");case"week":return"\u7b2c".concat(n,"\u9031");case"date":return"".concat(n,"\u65e5");case"hour":return"".concat(n,"\u6642");case"minute":return"".concat(n,"\u5206");case"second":return"".concat(n,"\u79d2");default:return"".concat(n)}},era:Object(D.a)({values:{narrow:["BC","AC"],abbreviated:["\u7d00\u5143\u524d","\u897f\u66a6"],wide:["\u7d00\u5143\u524d","\u897f\u66a6"]},defaultWidth:"wide"}),quarter:Object(D.a)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["\u7b2c1\u56db\u534a\u671f","\u7b2c2\u56db\u534a\u671f","\u7b2c3\u56db\u534a\u671f","\u7b2c4\u56db\u534a\u671f"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:Object(D.a)({values:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],wide:["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"]},defaultWidth:"wide"}),day:Object(D.a)({values:{narrow:["\u65e5","\u6708","\u706b","\u6c34","\u6728","\u91d1","\u571f"],short:["\u65e5","\u6708","\u706b","\u6c34","\u6728","\u91d1","\u571f"],abbreviated:["\u65e5","\u6708","\u706b","\u6c34","\u6728","\u91d1","\u571f"],wide:["\u65e5\u66dc\u65e5","\u6708\u66dc\u65e5","\u706b\u66dc\u65e5","\u6c34\u66dc\u65e5","\u6728\u66dc\u65e5","\u91d1\u66dc\u65e5","\u571f\u66dc\u65e5"]},defaultWidth:"wide"}),dayPeriod:Object(D.a)({values:{narrow:{am:"\u5348\u524d",pm:"\u5348\u5f8c",midnight:"\u6df1\u591c",noon:"\u6b63\u5348",morning:"\u671d",afternoon:"\u5348\u5f8c",evening:"\u591c",night:"\u6df1\u591c"},abbreviated:{am:"\u5348\u524d",pm:"\u5348\u5f8c",midnight:"\u6df1\u591c",noon:"\u6b63\u5348",morning:"\u671d",afternoon:"\u5348\u5f8c",evening:"\u591c",night:"\u6df1\u591c"},wide:{am:"\u5348\u524d",pm:"\u5348\u5f8c",midnight:"\u6df1\u591c",noon:"\u6b63\u5348",morning:"\u671d",afternoon:"\u5348\u5f8c",evening:"\u591c",night:"\u6df1\u591c"}},defaultWidth:"wide",formattingValues:{narrow:{am:"\u5348\u524d",pm:"\u5348\u5f8c",midnight:"\u6df1\u591c",noon:"\u6b63\u5348",morning:"\u671d",afternoon:"\u5348\u5f8c",evening:"\u591c",night:"\u6df1\u591c"},abbreviated:{am:"\u5348\u524d",pm:"\u5348\u5f8c",midnight:"\u6df1\u591c",noon:"\u6b63\u5348",morning:"\u671d",afternoon:"\u5348\u5f8c",evening:"\u591c",night:"\u6df1\u591c"},wide:{am:"\u5348\u524d",pm:"\u5348\u5f8c",midnight:"\u6df1\u591c",noon:"\u6b63\u5348",morning:"\u671d",afternoon:"\u5348\u5f8c",evening:"\u591c",night:"\u6df1\u591c"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:Object(A.a)({matchPattern:/^\u7b2c?\d+(\u5e74|\u56db\u534a\u671f|\u6708|\u9031|\u65e5|\u6642|\u5206|\u79d2)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:Object(I.a)({matchPatterns:{narrow:/^(B\.?C\.?|A\.?D\.?)/i,abbreviated:/^(\u7d00\u5143[\u524d\u5f8c]|\u897f\u66a6)/i,wide:/^(\u7d00\u5143[\u524d\u5f8c]|\u897f\u66a6)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^B/i,/^A/i],any:[/^(\u7d00\u5143\u524d)/i,/^(\u897f\u66a6|\u7d00\u5143\u5f8c)/i]},defaultParseWidth:"any"}),quarter:Object(I.a)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^Q[1234]/i,wide:/^\u7b2c[1234\u4e00\u4e8c\u4e09\u56db\uff11\uff12\uff13\uff14]\u56db\u534a\u671f/i},defaultMatchWidth:"wide",parsePatterns:{any:[/(1|\u4e00|\uff11)/i,/(2|\u4e8c|\uff12)/i,/(3|\u4e09|\uff13)/i,/(4|\u56db|\uff14)/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Object(I.a)({matchPatterns:{narrow:/^([123456789]|1[012])/,abbreviated:/^([123456789]|1[012])\u6708/i,wide:/^([123456789]|1[012])\u6708/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^1\D/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},defaultParseWidth:"any"}),day:Object(I.a)({matchPatterns:{narrow:/^[\u65e5\u6708\u706b\u6c34\u6728\u91d1\u571f]/,short:/^[\u65e5\u6708\u706b\u6c34\u6728\u91d1\u571f]/,abbreviated:/^[\u65e5\u6708\u706b\u6c34\u6728\u91d1\u571f]/,wide:/^[\u65e5\u6708\u706b\u6c34\u6728\u91d1\u571f]\u66dc\u65e5/},defaultMatchWidth:"wide",parsePatterns:{any:[/^\u65e5/,/^\u6708/,/^\u706b/,/^\u6c34/,/^\u6728/,/^\u91d1/,/^\u571f/]},defaultParseWidth:"any"}),dayPeriod:Object(I.a)({matchPatterns:{any:/^(AM|PM|\u5348\u524d|\u5348\u5f8c|\u6b63\u5348|\u6df1\u591c|\u771f\u591c\u4e2d|\u591c|\u671d)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^(A|\u5348\u524d)/i,pm:/^(P|\u5348\u5f8c)/i,midnight:/^\u6df1\u591c|\u771f\u591c\u4e2d/i,noon:/^\u6b63\u5348/i,morning:/^\u671d/i,afternoon:/^\u5348\u5f8c/i,evening:/^\u591c/i,night:/^\u6df1\u591c/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}},B={lessThanXSeconds:{one:"kurang dari 1 detik",other:"kurang dari {{count}} detik"},xSeconds:{one:"1 detik",other:"{{count}} detik"},halfAMinute:"setengah menit",lessThanXMinutes:{one:"kurang dari 1 menit",other:"kurang dari {{count}} menit"},xMinutes:{one:"1 menit",other:"{{count}} menit"},aboutXHours:{one:"sekitar 1 jam",other:"sekitar {{count}} jam"},xHours:{one:"1 jam",other:"{{count}} jam"},xDays:{one:"1 hari",other:"{{count}} hari"},aboutXWeeks:{one:"sekitar 1 minggu",other:"sekitar {{count}} minggu"},xWeeks:{one:"1 minggu",other:"{{count}} minggu"},aboutXMonths:{one:"sekitar 1 bulan",other:"sekitar {{count}} bulan"},xMonths:{one:"1 bulan",other:"{{count}} bulan"},aboutXYears:{one:"sekitar 1 tahun",other:"sekitar {{count}} tahun"},xYears:{one:"1 tahun",other:"{{count}} tahun"},overXYears:{one:"lebih dari 1 tahun",other:"lebih dari {{count}} tahun"},almostXYears:{one:"hampir 1 tahun",other:"hampir {{count}} tahun"}},W={date:Object(x.a)({formats:{full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"d/M/yyyy"},defaultWidth:"full"}),time:Object(x.a)({formats:{full:"HH.mm.ss",long:"HH.mm.ss",medium:"HH.mm",short:"HH.mm"},defaultWidth:"full"}),dateTime:Object(x.a)({formats:{full:"{{date}} 'pukul' {{time}}",long:"{{date}} 'pukul' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},H={lastWeek:"eeee 'lalu pukul' p",yesterday:"'Kemarin pukul' p",today:"'Hari ini pukul' p",tomorrow:"'Besok pukul' p",nextWeek:"eeee 'pukul' p",other:"P"},U={code:"id",formatDistance:function(e,t,n){var i,r=B[e];return i="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",t.toString()),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"dalam waktu "+i:i+" yang lalu":i},formatLong:W,formatRelative:function(e,t,n,i){return H[e]},localize:{ordinalNumber:function(e,t){return"ke-"+Number(e)},era:Object(D.a)({values:{narrow:["SM","M"],abbreviated:["SM","M"],wide:["Sebelum Masehi","Masehi"]},defaultWidth:"wide"}),quarter:Object(D.a)({values:{narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["Kuartal ke-1","Kuartal ke-2","Kuartal ke-3","Kuartal ke-4"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:Object(D.a)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Agt","Sep","Okt","Nov","Des"],wide:["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"]},defaultWidth:"wide"}),day:Object(D.a)({values:{narrow:["M","S","S","R","K","J","S"],short:["Min","Sen","Sel","Rab","Kam","Jum","Sab"],abbreviated:["Min","Sen","Sel","Rab","Kam","Jum","Sab"],wide:["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"]},defaultWidth:"wide"}),dayPeriod:Object(D.a)({values:{narrow:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},abbreviated:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},wide:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"}},defaultWidth:"wide",formattingValues:{narrow:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},abbreviated:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},wide:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:Object(A.a)({matchPattern:/^ke-(\d+)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:Object(I.a)({matchPatterns:{narrow:/^(sm|m)/i,abbreviated:/^(s\.?\s?m\.?|s\.?\s?e\.?\s?u\.?|m\.?|e\.?\s?u\.?)/i,wide:/^(sebelum masehi|sebelum era umum|masehi|era umum)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^s/i,/^(m|e)/i]},defaultParseWidth:"any"}),quarter:Object(I.a)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^K-?\s[1234]/i,wide:/^Kuartal ke-?\s?[1234]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Object(I.a)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|mei|jun|jul|agt|sep|okt|nov|des)/i,wide:/^(januari|februari|maret|april|mei|juni|juli|agustus|september|oktober|november|desember)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^ma/i,/^ap/i,/^me/i,/^jun/i,/^jul/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:Object(I.a)({matchPatterns:{narrow:/^[srkjm]/i,short:/^(min|sen|sel|rab|kam|jum|sab)/i,abbreviated:/^(min|sen|sel|rab|kam|jum|sab)/i,wide:/^(minggu|senin|selasa|rabu|kamis|jumat|sabtu)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^m/i,/^s/i,/^s/i,/^r/i,/^k/i,/^j/i,/^s/i],any:[/^m/i,/^sen/i,/^sel/i,/^r/i,/^k/i,/^j/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:Object(I.a)({matchPatterns:{narrow:/^(a|p|tengah m|tengah h|(di(\swaktu)?) (pagi|siang|sore|malam))/i,any:/^([ap]\.?\s?m\.?|tengah malam|tengah hari|(di(\swaktu)?) (pagi|siang|sore|malam))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^pm/i,midnight:/^tengah m/i,noon:/^tengah h/i,morning:/pagi/i,afternoon:/siang/i,evening:/sore/i,night:/malam/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}},$={lessThanXSeconds:{one:"menos de un segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"medio minuto",lessThanXMinutes:{one:"menos de un minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"alrededor de 1 hora",other:"alrededor de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 d\xeda",other:"{{count}} d\xedas"},aboutXWeeks:{one:"alrededor de 1 semana",other:"alrededor de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"alrededor de 1 mes",other:"alrededor de {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"alrededor de 1 a\xf1o",other:"alrededor de {{count}} a\xf1os"},xYears:{one:"1 a\xf1o",other:"{{count}} a\xf1os"},overXYears:{one:"m\xe1s de 1 a\xf1o",other:"m\xe1s de {{count}} a\xf1os"},almostXYears:{one:"casi 1 a\xf1o",other:"casi {{count}} a\xf1os"}},Q={date:Object(x.a)({formats:{full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:Object(x.a)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:Object(x.a)({formats:{full:"{{date}} 'a las' {{time}}",long:"{{date}} 'a las' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},G={lastWeek:"'el' eeee 'pasado a la' p",yesterday:"'ayer a la' p",today:"'hoy a la' p",tomorrow:"'ma\xf1ana a la' p",nextWeek:"eeee 'a la' p",other:"P"},Y={lastWeek:"'el' eeee 'pasado a las' p",yesterday:"'ayer a las' p",today:"'hoy a las' p",tomorrow:"'ma\xf1ana a las' p",nextWeek:"eeee 'a las' p",other:"P"},K={code:"es",formatDistance:function(e,t,n){var i,r=$[e];return i="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",t.toString()),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"en "+i:"hace "+i:i},formatLong:Q,formatRelative:function(e,t,n,i){return 1!==t.getUTCHours()?Y[e]:G[e]},localize:{ordinalNumber:function(e,t){return Number(e)+"\xba"},era:Object(D.a)({values:{narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","despu\xe9s de cristo"]},defaultWidth:"wide"}),quarter:Object(D.a)({values:{narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1\xba trimestre","2\xba trimestre","3\xba trimestre","4\xba trimestre"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:Object(D.a)({values:{narrow:["e","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],wide:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]},defaultWidth:"wide"}),day:Object(D.a)({values:{narrow:["d","l","m","m","j","v","s"],short:["do","lu","ma","mi","ju","vi","s\xe1"],abbreviated:["dom","lun","mar","mi\xe9","jue","vie","s\xe1b"],wide:["domingo","lunes","martes","mi\xe9rcoles","jueves","viernes","s\xe1bado"]},defaultWidth:"wide"}),dayPeriod:Object(D.a)({values:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"ma\xf1ana",afternoon:"tarde",evening:"tarde",night:"noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"ma\xf1ana",afternoon:"tarde",evening:"tarde",night:"noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"ma\xf1ana",afternoon:"tarde",evening:"tarde",night:"noche"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"de la ma\xf1ana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"de la ma\xf1ana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"de la ma\xf1ana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:Object(A.a)({matchPattern:/^(\d+)(\xba)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:Object(I.a)({matchPatterns:{narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes de la era com[u\xfa]n|despu[e\xe9]s de cristo|era com[u\xfa]n)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes de la era com[u\xfa]n)/i,/^(despu[e\xe9]s de cristo|era com[u\xfa]n)/i]},defaultParseWidth:"any"}),quarter:Object(I.a)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](\xba)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Object(I.a)({matchPatterns:{narrow:/^[efmajsond]/i,abbreviated:/^(ene|feb|mar|abr|may|jun|jul|ago|sep|oct|nov|dic)/i,wide:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^e/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^en/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i]},defaultParseWidth:"any"}),day:Object(I.a)({matchPatterns:{narrow:/^[dlmjvs]/i,short:/^(do|lu|ma|mi|ju|vi|s[\xe1a])/i,abbreviated:/^(dom|lun|mar|mi[\xe9e]|jue|vie|s[\xe1a]b)/i,wide:/^(domingo|lunes|martes|mi[\xe9e]rcoles|jueves|viernes|s[\xe1a]bado)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^do/i,/^lu/i,/^ma/i,/^mi/i,/^ju/i,/^vi/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:Object(I.a)({matchPatterns:{narrow:/^(a|p|mn|md|(de la|a las) (ma\xf1ana|tarde|noche))/i,any:/^([ap]\.?\s?m\.?|medianoche|mediodia|(de la|a las) (ma\xf1ana|tarde|noche))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/^md/i,morning:/ma\xf1ana/i,afternoon:/tarde/i,evening:/tarde/i,night:/noche/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}},X={lessThanXSeconds:{one:"moins d\u2019une seconde",other:"moins de {{count}} secondes"},xSeconds:{one:"1 seconde",other:"{{count}} secondes"},halfAMinute:"30 secondes",lessThanXMinutes:{one:"moins d\u2019une minute",other:"moins de {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"environ 1 heure",other:"environ {{count}} heures"},xHours:{one:"1 heure",other:"{{count}} heures"},xDays:{one:"1 jour",other:"{{count}} jours"},aboutXWeeks:{one:"environ 1 semaine",other:"environ {{count}} semaines"},xWeeks:{one:"1 semaine",other:"{{count}} semaines"},aboutXMonths:{one:"environ 1 mois",other:"environ {{count}} mois"},xMonths:{one:"1 mois",other:"{{count}} mois"},aboutXYears:{one:"environ 1 an",other:"environ {{count}} ans"},xYears:{one:"1 an",other:"{{count}} ans"},overXYears:{one:"plus d\u2019un an",other:"plus de {{count}} ans"},almostXYears:{one:"presqu\u2019un an",other:"presque {{count}} ans"}},q={date:Object(x.a)({formats:{full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:Object(x.a)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:Object(x.a)({formats:{full:"{{date}} '\xe0' {{time}}",long:"{{date}} '\xe0' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},J={lastWeek:"eeee 'dernier \xe0' p",yesterday:"'hier \xe0' p",today:"'aujourd\u2019hui \xe0' p",tomorrow:"'demain \xe0' p'",nextWeek:"eeee 'prochain \xe0' p",other:"P"},Z={code:"fr",formatDistance:function(e,t,n){var i,r=X[e];return i="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",String(t)),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"dans "+i:"il y a "+i:i},formatLong:q,formatRelative:function(e,t,n,i){return J[e]},localize:{ordinalNumber:function(e,t){var n=Number(e),i=null==t?void 0:t.unit;return 0===n?"0":n+(1===n?i&&["year","week","hour","minute","second"].includes(i)?"\xe8re":"er":"\xe8me")},era:Object(D.a)({values:{narrow:["av. J.-C","ap. J.-C"],abbreviated:["av. J.-C","ap. J.-C"],wide:["avant J\xe9sus-Christ","apr\xe8s J\xe9sus-Christ"]},defaultWidth:"wide"}),quarter:Object(D.a)({values:{narrow:["T1","T2","T3","T4"],abbreviated:["1er trim.","2\xe8me trim.","3\xe8me trim.","4\xe8me trim."],wide:["1er trimestre","2\xe8me trimestre","3\xe8me trimestre","4\xe8me trimestre"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:Object(D.a)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","f\xe9vr.","mars","avr.","mai","juin","juil.","ao\xfbt","sept.","oct.","nov.","d\xe9c."],wide:["janvier","f\xe9vrier","mars","avril","mai","juin","juillet","ao\xfbt","septembre","octobre","novembre","d\xe9cembre"]},defaultWidth:"wide"}),day:Object(D.a)({values:{narrow:["D","L","M","M","J","V","S"],short:["di","lu","ma","me","je","ve","sa"],abbreviated:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],wide:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},defaultWidth:"wide"}),dayPeriod:Object(D.a)({values:{narrow:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"mat.",afternoon:"ap.m.",evening:"soir",night:"mat."},abbreviated:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"matin",afternoon:"apr\xe8s-midi",evening:"soir",night:"matin"},wide:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"du matin",afternoon:"de l\u2019apr\xe8s-midi",evening:"du soir",night:"du matin"}},defaultWidth:"wide"})},match:{ordinalNumber:Object(A.a)({matchPattern:/^(\d+)(i\xe8me|\xe8re|\xe8me|er|e)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e)}}),era:Object(I.a)({matchPatterns:{narrow:/^(av\.J\.C|ap\.J\.C|ap\.J\.-C)/i,abbreviated:/^(av\.J\.-C|av\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i,wide:/^(avant J\xe9sus-Christ|apr\xe8s J\xe9sus-Christ)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^av/i,/^ap/i]},defaultParseWidth:"any"}),quarter:Object(I.a)({matchPatterns:{narrow:/^T?[1234]/i,abbreviated:/^[1234](er|\xe8me|e)? trim\.?/i,wide:/^[1234](er|\xe8me|e)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Object(I.a)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(janv|f\xe9vr|mars|avr|mai|juin|juill|juil|ao\xfbt|sept|oct|nov|d\xe9c)\.?/i,wide:/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^av/i,/^ma/i,/^juin/i,/^juil/i,/^ao/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:Object(I.a)({matchPatterns:{narrow:/^[lmjvsd]/i,short:/^(di|lu|ma|me|je|ve|sa)/i,abbreviated:/^(dim|lun|mar|mer|jeu|ven|sam)\.?/i,wide:/^(dimanche|lundi|mardi|mercredi|jeudi|vendredi|samedi)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^di/i,/^lu/i,/^ma/i,/^me/i,/^je/i,/^ve/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:Object(I.a)({matchPatterns:{narrow:/^(a|p|minuit|midi|mat\.?|ap\.?m\.?|soir|nuit)/i,any:/^([ap]\.?\s?m\.?|du matin|de l'apr\xe8s[-\s]midi|du soir|de la nuit)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^min/i,noon:/^mid/i,morning:/mat/i,afternoon:/ap/i,evening:/soir/i,night:/nuit/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}};function ee(e,t){if(void 0!==e.one&&1===t)return e.one;var n=t%10,i=t%100;return 1===n&&11!==i?e.singularNominative.replace("{{count}}",String(t)):n>=2&&n<=4&&(i<10||i>20)?e.singularGenitive.replace("{{count}}",String(t)):e.pluralGenitive.replace("{{count}}",String(t))}function te(e){return function(t,n){return null!=n&&n.addSuffix?n.comparison&&n.comparison>0?e.future?ee(e.future,t):"\u0447\u0435\u0440\u0435\u0437 "+ee(e.regular,t):e.past?ee(e.past,t):ee(e.regular,t)+" \u043d\u0430\u0437\u0430\u0434":ee(e.regular,t)}}var ne={lessThanXSeconds:te({regular:{one:"\u043c\u0435\u043d\u044c\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434\u044b",singularNominative:"\u043c\u0435\u043d\u044c\u0448\u0435 {{count}} \u0441\u0435\u043a\u0443\u043d\u0434\u044b",singularGenitive:"\u043c\u0435\u043d\u044c\u0448\u0435 {{count}} \u0441\u0435\u043a\u0443\u043d\u0434",pluralGenitive:"\u043c\u0435\u043d\u044c\u0448\u0435 {{count}} \u0441\u0435\u043a\u0443\u043d\u0434"},future:{one:"\u043c\u0435\u043d\u044c\u0448\u0435, \u0447\u0435\u043c \u0447\u0435\u0440\u0435\u0437 \u0441\u0435\u043a\u0443\u043d\u0434\u0443",singularNominative:"\u043c\u0435\u043d\u044c\u0448\u0435, \u0447\u0435\u043c \u0447\u0435\u0440\u0435\u0437 {{count}} \u0441\u0435\u043a\u0443\u043d\u0434\u0443",singularGenitive:"\u043c\u0435\u043d\u044c\u0448\u0435, \u0447\u0435\u043c \u0447\u0435\u0440\u0435\u0437 {{count}} \u0441\u0435\u043a\u0443\u043d\u0434\u044b",pluralGenitive:"\u043c\u0435\u043d\u044c\u0448\u0435, \u0447\u0435\u043c \u0447\u0435\u0440\u0435\u0437 {{count}} \u0441\u0435\u043a\u0443\u043d\u0434"}}),xSeconds:te({regular:{singularNominative:"{{count}} \u0441\u0435\u043a\u0443\u043d\u0434\u0430",singularGenitive:"{{count}} \u0441\u0435\u043a\u0443\u043d\u0434\u044b",pluralGenitive:"{{count}} \u0441\u0435\u043a\u0443\u043d\u0434"},past:{singularNominative:"{{count}} \u0441\u0435\u043a\u0443\u043d\u0434\u0443 \u043d\u0430\u0437\u0430\u0434",singularGenitive:"{{count}} \u0441\u0435\u043a\u0443\u043d\u0434\u044b \u043d\u0430\u0437\u0430\u0434",pluralGenitive:"{{count}} \u0441\u0435\u043a\u0443\u043d\u0434 \u043d\u0430\u0437\u0430\u0434"},future:{singularNominative:"\u0447\u0435\u0440\u0435\u0437 {{count}} \u0441\u0435\u043a\u0443\u043d\u0434\u0443",singularGenitive:"\u0447\u0435\u0440\u0435\u0437 {{count}} \u0441\u0435\u043a\u0443\u043d\u0434\u044b",pluralGenitive:"\u0447\u0435\u0440\u0435\u0437 {{count}} \u0441\u0435\u043a\u0443\u043d\u0434"}}),halfAMinute:function(e,t){return null!=t&&t.addSuffix?t.comparison&&t.comparison>0?"\u0447\u0435\u0440\u0435\u0437 \u043f\u043e\u043b\u043c\u0438\u043d\u0443\u0442\u044b":"\u043f\u043e\u043b\u043c\u0438\u043d\u0443\u0442\u044b \u043d\u0430\u0437\u0430\u0434":"\u043f\u043e\u043b\u043c\u0438\u043d\u0443\u0442\u044b"},lessThanXMinutes:te({regular:{one:"\u043c\u0435\u043d\u044c\u0448\u0435 \u043c\u0438\u043d\u0443\u0442\u044b",singularNominative:"\u043c\u0435\u043d\u044c\u0448\u0435 {{count}} \u043c\u0438\u043d\u0443\u0442\u044b",singularGenitive:"\u043c\u0435\u043d\u044c\u0448\u0435 {{count}} \u043c\u0438\u043d\u0443\u0442",pluralGenitive:"\u043c\u0435\u043d\u044c\u0448\u0435 {{count}} \u043c\u0438\u043d\u0443\u0442"},future:{one:"\u043c\u0435\u043d\u044c\u0448\u0435, \u0447\u0435\u043c \u0447\u0435\u0440\u0435\u0437 \u043c\u0438\u043d\u0443\u0442\u0443",singularNominative:"\u043c\u0435\u043d\u044c\u0448\u0435, \u0447\u0435\u043c \u0447\u0435\u0440\u0435\u0437 {{count}} \u043c\u0438\u043d\u0443\u0442\u0443",singularGenitive:"\u043c\u0435\u043d\u044c\u0448\u0435, \u0447\u0435\u043c \u0447\u0435\u0440\u0435\u0437 {{count}} \u043c\u0438\u043d\u0443\u0442\u044b",pluralGenitive:"\u043c\u0435\u043d\u044c\u0448\u0435, \u0447\u0435\u043c \u0447\u0435\u0440\u0435\u0437 {{count}} \u043c\u0438\u043d\u0443\u0442"}}),xMinutes:te({regular:{singularNominative:"{{count}} \u043c\u0438\u043d\u0443\u0442\u0430",singularGenitive:"{{count}} \u043c\u0438\u043d\u0443\u0442\u044b",pluralGenitive:"{{count}} \u043c\u0438\u043d\u0443\u0442"},past:{singularNominative:"{{count}} \u043c\u0438\u043d\u0443\u0442\u0443 \u043d\u0430\u0437\u0430\u0434",singularGenitive:"{{count}} \u043c\u0438\u043d\u0443\u0442\u044b \u043d\u0430\u0437\u0430\u0434",pluralGenitive:"{{count}} \u043c\u0438\u043d\u0443\u0442 \u043d\u0430\u0437\u0430\u0434"},future:{singularNominative:"\u0447\u0435\u0440\u0435\u0437 {{count}} \u043c\u0438\u043d\u0443\u0442\u0443",singularGenitive:"\u0447\u0435\u0440\u0435\u0437 {{count}} \u043c\u0438\u043d\u0443\u0442\u044b",pluralGenitive:"\u0447\u0435\u0440\u0435\u0437 {{count}} \u043c\u0438\u043d\u0443\u0442"}}),aboutXHours:te({regular:{singularNominative:"\u043e\u043a\u043e\u043b\u043e {{count}} \u0447\u0430\u0441\u0430",singularGenitive:"\u043e\u043a\u043e\u043b\u043e {{count}} \u0447\u0430\u0441\u043e\u0432",pluralGenitive:"\u043e\u043a\u043e\u043b\u043e {{count}} \u0447\u0430\u0441\u043e\u0432"},future:{singularNominative:"\u043f\u0440\u0438\u0431\u043b\u0438\u0437\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0447\u0435\u0440\u0435\u0437 {{count}} \u0447\u0430\u0441",singularGenitive:"\u043f\u0440\u0438\u0431\u043b\u0438\u0437\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0447\u0435\u0440\u0435\u0437 {{count}} \u0447\u0430\u0441\u0430",pluralGenitive:"\u043f\u0440\u0438\u0431\u043b\u0438\u0437\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0447\u0435\u0440\u0435\u0437 {{count}} \u0447\u0430\u0441\u043e\u0432"}}),xHours:te({regular:{singularNominative:"{{count}} \u0447\u0430\u0441",singularGenitive:"{{count}} \u0447\u0430\u0441\u0430",pluralGenitive:"{{count}} \u0447\u0430\u0441\u043e\u0432"}}),xDays:te({regular:{singularNominative:"{{count}} \u0434\u0435\u043d\u044c",singularGenitive:"{{count}} \u0434\u043d\u044f",pluralGenitive:"{{count}} \u0434\u043d\u0435\u0439"}}),aboutXWeeks:te({regular:{singularNominative:"\u043e\u043a\u043e\u043b\u043e {{count}} \u043d\u0435\u0434\u0435\u043b\u0438",singularGenitive:"\u043e\u043a\u043e\u043b\u043e {{count}} \u043d\u0435\u0434\u0435\u043b\u044c",pluralGenitive:"\u043e\u043a\u043e\u043b\u043e {{count}} \u043d\u0435\u0434\u0435\u043b\u044c"},future:{singularNominative:"\u043f\u0440\u0438\u0431\u043b\u0438\u0437\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0447\u0435\u0440\u0435\u0437 {{count}} \u043d\u0435\u0434\u0435\u043b\u044e",singularGenitive:"\u043f\u0440\u0438\u0431\u043b\u0438\u0437\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0447\u0435\u0440\u0435\u0437 {{count}} \u043d\u0435\u0434\u0435\u043b\u0438",pluralGenitive:"\u043f\u0440\u0438\u0431\u043b\u0438\u0437\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0447\u0435\u0440\u0435\u0437 {{count}} \u043d\u0435\u0434\u0435\u043b\u044c"}}),xWeeks:te({regular:{singularNominative:"{{count}} \u043d\u0435\u0434\u0435\u043b\u044f",singularGenitive:"{{count}} \u043d\u0435\u0434\u0435\u043b\u0438",pluralGenitive:"{{count}} \u043d\u0435\u0434\u0435\u043b\u044c"}}),aboutXMonths:te({regular:{singularNominative:"\u043e\u043a\u043e\u043b\u043e {{count}} \u043c\u0435\u0441\u044f\u0446\u0430",singularGenitive:"\u043e\u043a\u043e\u043b\u043e {{count}} \u043c\u0435\u0441\u044f\u0446\u0435\u0432",pluralGenitive:"\u043e\u043a\u043e\u043b\u043e {{count}} \u043c\u0435\u0441\u044f\u0446\u0435\u0432"},future:{singularNominative:"\u043f\u0440\u0438\u0431\u043b\u0438\u0437\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0447\u0435\u0440\u0435\u0437 {{count}} \u043c\u0435\u0441\u044f\u0446",singularGenitive:"\u043f\u0440\u0438\u0431\u043b\u0438\u0437\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0447\u0435\u0440\u0435\u0437 {{count}} \u043c\u0435\u0441\u044f\u0446\u0430",pluralGenitive:"\u043f\u0440\u0438\u0431\u043b\u0438\u0437\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0447\u0435\u0440\u0435\u0437 {{count}} \u043c\u0435\u0441\u044f\u0446\u0435\u0432"}}),xMonths:te({regular:{singularNominative:"{{count}} \u043c\u0435\u0441\u044f\u0446",singularGenitive:"{{count}} \u043c\u0435\u0441\u044f\u0446\u0430",pluralGenitive:"{{count}} \u043c\u0435\u0441\u044f\u0446\u0435\u0432"}}),aboutXYears:te({regular:{singularNominative:"\u043e\u043a\u043e\u043b\u043e {{count}} \u0433\u043e\u0434\u0430",singularGenitive:"\u043e\u043a\u043e\u043b\u043e {{count}} \u043b\u0435\u0442",pluralGenitive:"\u043e\u043a\u043e\u043b\u043e {{count}} \u043b\u0435\u0442"},future:{singularNominative:"\u043f\u0440\u0438\u0431\u043b\u0438\u0437\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0447\u0435\u0440\u0435\u0437 {{count}} \u0433\u043e\u0434",singularGenitive:"\u043f\u0440\u0438\u0431\u043b\u0438\u0437\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0447\u0435\u0440\u0435\u0437 {{count}} \u0433\u043e\u0434\u0430",pluralGenitive:"\u043f\u0440\u0438\u0431\u043b\u0438\u0437\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0447\u0435\u0440\u0435\u0437 {{count}} \u043b\u0435\u0442"}}),xYears:te({regular:{singularNominative:"{{count}} \u0433\u043e\u0434",singularGenitive:"{{count}} \u0433\u043e\u0434\u0430",pluralGenitive:"{{count}} \u043b\u0435\u0442"}}),overXYears:te({regular:{singularNominative:"\u0431\u043e\u043b\u044c\u0448\u0435 {{count}} \u0433\u043e\u0434\u0430",singularGenitive:"\u0431\u043e\u043b\u044c\u0448\u0435 {{count}} \u043b\u0435\u0442",pluralGenitive:"\u0431\u043e\u043b\u044c\u0448\u0435 {{count}} \u043b\u0435\u0442"},future:{singularNominative:"\u0431\u043e\u043b\u044c\u0448\u0435, \u0447\u0435\u043c \u0447\u0435\u0440\u0435\u0437 {{count}} \u0433\u043e\u0434",singularGenitive:"\u0431\u043e\u043b\u044c\u0448\u0435, \u0447\u0435\u043c \u0447\u0435\u0440\u0435\u0437 {{count}} \u0433\u043e\u0434\u0430",pluralGenitive:"\u0431\u043e\u043b\u044c\u0448\u0435, \u0447\u0435\u043c \u0447\u0435\u0440\u0435\u0437 {{count}} \u043b\u0435\u0442"}}),almostXYears:te({regular:{singularNominative:"\u043f\u043e\u0447\u0442\u0438 {{count}} \u0433\u043e\u0434",singularGenitive:"\u043f\u043e\u0447\u0442\u0438 {{count}} \u0433\u043e\u0434\u0430",pluralGenitive:"\u043f\u043e\u0447\u0442\u0438 {{count}} \u043b\u0435\u0442"},future:{singularNominative:"\u043f\u043e\u0447\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 {{count}} \u0433\u043e\u0434",singularGenitive:"\u043f\u043e\u0447\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 {{count}} \u0433\u043e\u0434\u0430",pluralGenitive:"\u043f\u043e\u0447\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 {{count}} \u043b\u0435\u0442"}})},ie={date:Object(x.a)({formats:{full:"EEEE, d MMMM y '\u0433.'",long:"d MMMM y '\u0433.'",medium:"d MMM y '\u0433.'",short:"dd.MM.y"},defaultWidth:"full"}),time:Object(x.a)({formats:{full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:Object(x.a)({formats:{any:"{{date}}, {{time}}"},defaultWidth:"any"})},re=["\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435","\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a","\u0432\u0442\u043e\u0440\u043d\u0438\u043a","\u0441\u0440\u0435\u0434\u0443","\u0447\u0435\u0442\u0432\u0435\u0440\u0433","\u043f\u044f\u0442\u043d\u0438\u0446\u0443","\u0441\u0443\u0431\u0431\u043e\u0442\u0443"];function oe(e){var t=re[e];return 2===e?"'\u0432\u043e "+t+" \u0432' p":"'\u0432 "+t+" \u0432' p"}var se={lastWeek:function(e,t,n){var i=e.getUTCDay();return k(e,t,n)?oe(i):function(e){var t=re[e];switch(e){case 0:return"'\u0432 \u043f\u0440\u043e\u0448\u043b\u043e\u0435 "+t+" \u0432' p";case 1:case 2:case 4:return"'\u0432 \u043f\u0440\u043e\u0448\u043b\u044b\u0439 "+t+" \u0432' p";case 3:case 5:case 6:return"'\u0432 \u043f\u0440\u043e\u0448\u043b\u0443\u044e "+t+" \u0432' p"}}(i)},yesterday:"'\u0432\u0447\u0435\u0440\u0430 \u0432' p",today:"'\u0441\u0435\u0433\u043e\u0434\u043d\u044f \u0432' p",tomorrow:"'\u0437\u0430\u0432\u0442\u0440\u0430 \u0432' p",nextWeek:function(e,t,n){var i=e.getUTCDay();return k(e,t,n)?oe(i):function(e){var t=re[e];switch(e){case 0:return"'\u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435 "+t+" \u0432' p";case 1:case 2:case 4:return"'\u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 "+t+" \u0432' p";case 3:case 5:case 6:return"'\u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e "+t+" \u0432' p"}}(i)},other:"P"},ae={code:"ru",formatDistance:function(e,t,n){return ne[e](t,n)},formatLong:ie,formatRelative:function(e,t,n,i){var r=se[e];return"function"==typeof r?r(t,n,i):r},localize:{ordinalNumber:function(e,t){var n=Number(e),i=null==t?void 0:t.unit;return n+("date"===i?"-\u0435":"week"===i||"minute"===i||"second"===i?"-\u044f":"-\u0439")},era:Object(D.a)({values:{narrow:["\u0434\u043e \u043d.\u044d.","\u043d.\u044d."],abbreviated:["\u0434\u043e \u043d. \u044d.","\u043d. \u044d."],wide:["\u0434\u043e \u043d\u0430\u0448\u0435\u0439 \u044d\u0440\u044b","\u043d\u0430\u0448\u0435\u0439 \u044d\u0440\u044b"]},defaultWidth:"wide"}),quarter:Object(D.a)({values:{narrow:["1","2","3","4"],abbreviated:["1-\u0439 \u043a\u0432.","2-\u0439 \u043a\u0432.","3-\u0439 \u043a\u0432.","4-\u0439 \u043a\u0432."],wide:["1-\u0439 \u043a\u0432\u0430\u0440\u0442\u0430\u043b","2-\u0439 \u043a\u0432\u0430\u0440\u0442\u0430\u043b","3-\u0439 \u043a\u0432\u0430\u0440\u0442\u0430\u043b","4-\u0439 \u043a\u0432\u0430\u0440\u0442\u0430\u043b"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:Object(D.a)({values:{narrow:["\u042f","\u0424","\u041c","\u0410","\u041c","\u0418","\u0418","\u0410","\u0421","\u041e","\u041d","\u0414"],abbreviated:["\u044f\u043d\u0432.","\u0444\u0435\u0432.","\u043c\u0430\u0440\u0442","\u0430\u043f\u0440.","\u043c\u0430\u0439","\u0438\u044e\u043d\u044c","\u0438\u044e\u043b\u044c","\u0430\u0432\u0433.","\u0441\u0435\u043d\u0442.","\u043e\u043a\u0442.","\u043d\u043e\u044f\u0431.","\u0434\u0435\u043a."],wide:["\u044f\u043d\u0432\u0430\u0440\u044c","\u0444\u0435\u0432\u0440\u0430\u043b\u044c","\u043c\u0430\u0440\u0442","\u0430\u043f\u0440\u0435\u043b\u044c","\u043c\u0430\u0439","\u0438\u044e\u043d\u044c","\u0438\u044e\u043b\u044c","\u0430\u0432\u0433\u0443\u0441\u0442","\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c","\u043e\u043a\u0442\u044f\u0431\u0440\u044c","\u043d\u043e\u044f\u0431\u0440\u044c","\u0434\u0435\u043a\u0430\u0431\u0440\u044c"]},defaultWidth:"wide",formattingValues:{narrow:["\u042f","\u0424","\u041c","\u0410","\u041c","\u0418","\u0418","\u0410","\u0421","\u041e","\u041d","\u0414"],abbreviated:["\u044f\u043d\u0432.","\u0444\u0435\u0432.","\u043c\u0430\u0440.","\u0430\u043f\u0440.","\u043c\u0430\u044f","\u0438\u044e\u043d.","\u0438\u044e\u043b.","\u0430\u0432\u0433.","\u0441\u0435\u043d\u0442.","\u043e\u043a\u0442.","\u043d\u043e\u044f\u0431.","\u0434\u0435\u043a."],wide:["\u044f\u043d\u0432\u0430\u0440\u044f","\u0444\u0435\u0432\u0440\u0430\u043b\u044f","\u043c\u0430\u0440\u0442\u0430","\u0430\u043f\u0440\u0435\u043b\u044f","\u043c\u0430\u044f","\u0438\u044e\u043d\u044f","\u0438\u044e\u043b\u044f","\u0430\u0432\u0433\u0443\u0441\u0442\u0430","\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f","\u043e\u043a\u0442\u044f\u0431\u0440\u044f","\u043d\u043e\u044f\u0431\u0440\u044f","\u0434\u0435\u043a\u0430\u0431\u0440\u044f"]},defaultFormattingWidth:"wide"}),day:Object(D.a)({values:{narrow:["\u0412","\u041f","\u0412","\u0421","\u0427","\u041f","\u0421"],short:["\u0432\u0441","\u043f\u043d","\u0432\u0442","\u0441\u0440","\u0447\u0442","\u043f\u0442","\u0441\u0431"],abbreviated:["\u0432\u0441\u043a","\u043f\u043d\u0434","\u0432\u0442\u0440","\u0441\u0440\u0434","\u0447\u0442\u0432","\u043f\u0442\u043d","\u0441\u0443\u0431"],wide:["\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435","\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a","\u0432\u0442\u043e\u0440\u043d\u0438\u043a","\u0441\u0440\u0435\u0434\u0430","\u0447\u0435\u0442\u0432\u0435\u0440\u0433","\u043f\u044f\u0442\u043d\u0438\u0446\u0430","\u0441\u0443\u0431\u0431\u043e\u0442\u0430"]},defaultWidth:"wide"}),dayPeriod:Object(D.a)({values:{narrow:{am:"\u0414\u041f",pm:"\u041f\u041f",midnight:"\u043f\u043e\u043b\u043d.",noon:"\u043f\u043e\u043b\u0434.",morning:"\u0443\u0442\u0440\u043e",afternoon:"\u0434\u0435\u043d\u044c",evening:"\u0432\u0435\u0447.",night:"\u043d\u043e\u0447\u044c"},abbreviated:{am:"\u0414\u041f",pm:"\u041f\u041f",midnight:"\u043f\u043e\u043b\u043d.",noon:"\u043f\u043e\u043b\u0434.",morning:"\u0443\u0442\u0440\u043e",afternoon:"\u0434\u0435\u043d\u044c",evening:"\u0432\u0435\u0447.",night:"\u043d\u043e\u0447\u044c"},wide:{am:"\u0414\u041f",pm:"\u041f\u041f",midnight:"\u043f\u043e\u043b\u043d\u043e\u0447\u044c",noon:"\u043f\u043e\u043b\u0434\u0435\u043d\u044c",morning:"\u0443\u0442\u0440\u043e",afternoon:"\u0434\u0435\u043d\u044c",evening:"\u0432\u0435\u0447\u0435\u0440",night:"\u043d\u043e\u0447\u044c"}},defaultWidth:"any",formattingValues:{narrow:{am:"\u0414\u041f",pm:"\u041f\u041f",midnight:"\u043f\u043e\u043b\u043d.",noon:"\u043f\u043e\u043b\u0434.",morning:"\u0443\u0442\u0440\u0430",afternoon:"\u0434\u043d\u044f",evening:"\u0432\u0435\u0447.",night:"\u043d\u043e\u0447\u0438"},abbreviated:{am:"\u0414\u041f",pm:"\u041f\u041f",midnight:"\u043f\u043e\u043b\u043d.",noon:"\u043f\u043e\u043b\u0434.",morning:"\u0443\u0442\u0440\u0430",afternoon:"\u0434\u043d\u044f",evening:"\u0432\u0435\u0447.",night:"\u043d\u043e\u0447\u0438"},wide:{am:"\u0414\u041f",pm:"\u041f\u041f",midnight:"\u043f\u043e\u043b\u043d\u043e\u0447\u044c",noon:"\u043f\u043e\u043b\u0434\u0435\u043d\u044c",morning:"\u0443\u0442\u0440\u0430",afternoon:"\u0434\u043d\u044f",evening:"\u0432\u0435\u0447\u0435\u0440\u0430",night:"\u043d\u043e\u0447\u0438"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:Object(A.a)({matchPattern:/^(\d+)(-?(\u0435|\u044f|\u0439|\u043e\u0435|\u044c\u0435|\u0430\u044f|\u044c\u044f|\u044b\u0439|\u043e\u0439|\u0438\u0439|\u044b\u0439))?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:Object(I.a)({matchPatterns:{narrow:/^((\u0434\u043e )?\u043d\.?\s?\u044d\.?)/i,abbreviated:/^((\u0434\u043e )?\u043d\.?\s?\u044d\.?)/i,wide:/^(\u0434\u043e \u043d\u0430\u0448\u0435\u0439 \u044d\u0440\u044b|\u043d\u0430\u0448\u0435\u0439 \u044d\u0440\u044b|\u043d\u0430\u0448\u0430 \u044d\u0440\u0430)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^\u0434/i,/^\u043d/i]},defaultParseWidth:"any"}),quarter:Object(I.a)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^[1234](-?[\u044b\u043e\u0438]?\u0439?)? \u043a\u0432.?/i,wide:/^[1234](-?[\u044b\u043e\u0438]?\u0439?)? \u043a\u0432\u0430\u0440\u0442\u0430\u043b/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Object(I.a)({matchPatterns:{narrow:/^[\u044f\u0444\u043c\u0430\u0438\u0441\u043e\u043d\u0434]/i,abbreviated:/^(\u044f\u043d\u0432|\u0444\u0435\u0432|\u043c\u0430\u0440\u0442?|\u0430\u043f\u0440|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]?|\u0438\u044e\u043b[\u044c\u044f]?|\u0430\u0432\u0433|\u0441\u0435\u043d\u0442?|\u043e\u043a\u0442|\u043d\u043e\u044f\u0431?|\u0434\u0435\u043a)\.?/i,wide:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043b[\u044c\u044f]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f])/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^\u044f/i,/^\u0444/i,/^\u043c/i,/^\u0430/i,/^\u043c/i,/^\u0438/i,/^\u0438/i,/^\u0430/i,/^\u0441/i,/^\u043e/i,/^\u043d/i,/^\u044f/i],any:[/^\u044f/i,/^\u0444/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432/i,/^\u0441/i,/^\u043e/i,/^\u043d/i,/^\u0434/i]},defaultParseWidth:"any"}),day:Object(I.a)({matchPatterns:{narrow:/^[\u0432\u043f\u0441\u0447]/i,short:/^(\u0432\u0441|\u0432\u043e|\u043f\u043d|\u043f\u043e|\u0432\u0442|\u0441\u0440|\u0447\u0442|\u0447\u0435|\u043f\u0442|\u043f\u044f|\u0441\u0431|\u0441\u0443)\.?/i,abbreviated:/^(\u0432\u0441\u043a|\u0432\u043e\u0441|\u043f\u043d\u0434|\u043f\u043e\u043d|\u0432\u0442\u0440|\u0432\u0442\u043e|\u0441\u0440\u0434|\u0441\u0440\u0435|\u0447\u0442\u0432|\u0447\u0435\u0442|\u043f\u0442\u043d|\u043f\u044f\u0442|\u0441\u0443\u0431).?/i,wide:/^(\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c[\u0435\u044f]|\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a\u0430?|\u0432\u0442\u043e\u0440\u043d\u0438\u043a\u0430?|\u0441\u0440\u0435\u0434[\u0430\u044b]|\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430?|\u043f\u044f\u0442\u043d\u0438\u0446[\u0430\u044b]|\u0441\u0443\u0431\u0431\u043e\u0442[\u0430\u044b])/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^\u0432/i,/^\u043f/i,/^\u0432/i,/^\u0441/i,/^\u0447/i,/^\u043f/i,/^\u0441/i],any:[/^\u0432[\u043e\u0441]/i,/^\u043f[\u043e\u043d]/i,/^\u0432/i,/^\u0441\u0440/i,/^\u0447/i,/^\u043f[\u044f\u0442]/i,/^\u0441[\u0443\u0431]/i]},defaultParseWidth:"any"}),dayPeriod:Object(I.a)({matchPatterns:{narrow:/^([\u0434\u043f]\u043f|\u043f\u043e\u043b\u043d\.?|\u043f\u043e\u043b\u0434\.?|\u0443\u0442\u0440[\u043e\u0430]|\u0434\u0435\u043d\u044c|\u0434\u043d\u044f|\u0432\u0435\u0447\.?|\u043d\u043e\u0447[\u044c\u0438])/i,abbreviated:/^([\u0434\u043f]\u043f|\u043f\u043e\u043b\u043d\.?|\u043f\u043e\u043b\u0434\.?|\u0443\u0442\u0440[\u043e\u0430]|\u0434\u0435\u043d\u044c|\u0434\u043d\u044f|\u0432\u0435\u0447\.?|\u043d\u043e\u0447[\u044c\u0438])/i,wide:/^([\u0434\u043f]\u043f|\u043f\u043e\u043b\u043d\u043e\u0447\u044c|\u043f\u043e\u043b\u0434\u0435\u043d\u044c|\u0443\u0442\u0440[\u043e\u0430]|\u0434\u0435\u043d\u044c|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430?|\u043d\u043e\u0447[\u044c\u0438])/i},defaultMatchWidth:"wide",parsePatterns:{any:{am:/^\u0434\u043f/i,pm:/^\u043f\u043f/i,midnight:/^\u043f\u043e\u043b\u043d/i,noon:/^\u043f\u043e\u043b\u0434/i,morning:/^\u0443/i,afternoon:/^\u0434[\u0435\u043d]/i,evening:/^\u0432/i,night:/^\u043d/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}},ce={lessThanXSeconds:{one:"\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629",two:"\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u062a\u064a\u0646",threeToTen:"\u0623\u0642\u0644 \u0645\u0646 {{count}} \u062b\u0648\u0627\u0646\u064a",other:"\u0623\u0642\u0644 \u0645\u0646 {{count}} \u062b\u0627\u0646\u064a\u0629"},xSeconds:{one:"\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",two:"\u062b\u0627\u0646\u064a\u062a\u0627\u0646",threeToTen:"{{count}} \u062b\u0648\u0627\u0646\u064a",other:"{{count}} \u062b\u0627\u0646\u064a\u0629"},halfAMinute:"\u0646\u0635\u0641 \u062f\u0642\u064a\u0642\u0629",lessThanXMinutes:{one:"\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629",two:"\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u062a\u064a\u0646",threeToTen:"\u0623\u0642\u0644 \u0645\u0646 {{count}} \u062f\u0642\u0627\u0626\u0642",other:"\u0623\u0642\u0644 \u0645\u0646 {{count}} \u062f\u0642\u064a\u0642\u0629"},xMinutes:{one:"\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",two:"\u062f\u0642\u064a\u0642\u062a\u0627\u0646",threeToTen:"{{count}} \u062f\u0642\u0627\u0626\u0642",other:"{{count}} \u062f\u0642\u064a\u0642\u0629"},aboutXHours:{one:"\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629 \u062a\u0642\u0631\u064a\u0628\u0627\u064b",two:"\u0633\u0627\u0639\u062a\u064a\u0646 \u062a\u0642\u0631\u064a\u0628\u0627",threeToTen:"{{count}} \u0633\u0627\u0639\u0627\u062a \u062a\u0642\u0631\u064a\u0628\u0627\u064b",other:"{{count}} \u0633\u0627\u0639\u0629 \u062a\u0642\u0631\u064a\u0628\u0627\u064b"},xHours:{one:"\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",two:"\u0633\u0627\u0639\u062a\u0627\u0646",threeToTen:"{{count}} \u0633\u0627\u0639\u0627\u062a",other:"{{count}} \u0633\u0627\u0639\u0629"},xDays:{one:"\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",two:"\u064a\u0648\u0645\u0627\u0646",threeToTen:"{{count}} \u0623\u064a\u0627\u0645",other:"{{count}} \u064a\u0648\u0645"},aboutXWeeks:{one:"\u0623\u0633\u0628\u0648\u0639 \u0648\u0627\u062d\u062f \u062a\u0642\u0631\u064a\u0628\u0627",two:"\u0623\u0633\u0628\u0648\u0639\u064a\u0646 \u062a\u0642\u0631\u064a\u0628\u0627",threeToTen:"{{count}} \u0623\u0633\u0627\u0628\u064a\u0639 \u062a\u0642\u0631\u064a\u0628\u0627",other:"{{count}} \u0623\u0633\u0628\u0648\u0639\u0627 \u062a\u0642\u0631\u064a\u0628\u0627"},xWeeks:{one:"\u0623\u0633\u0628\u0648\u0639 \u0648\u0627\u062d\u062f",two:"\u0623\u0633\u0628\u0648\u0639\u0627\u0646",threeToTen:"{{count}} \u0623\u0633\u0627\u0628\u064a\u0639",other:"{{count}} \u0623\u0633\u0628\u0648\u0639\u0627"},aboutXMonths:{one:"\u0634\u0647\u0631 \u0648\u0627\u062d\u062f \u062a\u0642\u0631\u064a\u0628\u0627\u064b",two:"\u0634\u0647\u0631\u064a\u0646 \u062a\u0642\u0631\u064a\u0628\u0627",threeToTen:"{{count}} \u0623\u0634\u0647\u0631 \u062a\u0642\u0631\u064a\u0628\u0627",other:"{{count}} \u0634\u0647\u0631\u0627 \u062a\u0642\u0631\u064a\u0628\u0627\u064b"},xMonths:{one:"\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",two:"\u0634\u0647\u0631\u0627\u0646",threeToTen:"{{count}} \u0623\u0634\u0647\u0631",other:"{{count}} \u0634\u0647\u0631\u0627"},aboutXYears:{one:"\u0633\u0646\u0629 \u0648\u0627\u062d\u062f\u0629 \u062a\u0642\u0631\u064a\u0628\u0627\u064b",two:"\u0633\u0646\u062a\u064a\u0646 \u062a\u0642\u0631\u064a\u0628\u0627",threeToTen:"{{count}} \u0633\u0646\u0648\u0627\u062a \u062a\u0642\u0631\u064a\u0628\u0627\u064b",other:"{{count}} \u0633\u0646\u0629 \u062a\u0642\u0631\u064a\u0628\u0627\u064b"},xYears:{one:"\u0633\u0646\u0629 \u0648\u0627\u062d\u062f",two:"\u0633\u0646\u062a\u0627\u0646",threeToTen:"{{count}} \u0633\u0646\u0648\u0627\u062a",other:"{{count}} \u0633\u0646\u0629"},overXYears:{one:"\u0623\u0643\u062b\u0631 \u0645\u0646 \u0633\u0646\u0629",two:"\u0623\u0643\u062b\u0631 \u0645\u0646 \u0633\u0646\u062a\u064a\u0646",threeToTen:"\u0623\u0643\u062b\u0631 \u0645\u0646 {{count}} \u0633\u0646\u0648\u0627\u062a",other:"\u0623\u0643\u062b\u0631 \u0645\u0646 {{count}} \u0633\u0646\u0629"},almostXYears:{one:"\u0645\u0627 \u064a\u0642\u0627\u0631\u0628 \u0633\u0646\u0629 \u0648\u0627\u062d\u062f\u0629",two:"\u0645\u0627 \u064a\u0642\u0627\u0631\u0628 \u0633\u0646\u062a\u064a\u0646",threeToTen:"\u0645\u0627 \u064a\u0642\u0627\u0631\u0628 {{count}} \u0633\u0646\u0648\u0627\u062a",other:"\u0645\u0627 \u064a\u0642\u0627\u0631\u0628 {{count}} \u0633\u0646\u0629"}},le={date:Object(x.a)({formats:{full:"EEEE\u060c do MMMM y",long:"do MMMM y",medium:"d MMM y",short:"dd/MM/yyyy"},defaultWidth:"full"}),time:Object(x.a)({formats:{full:"HH:mm:ss",long:"HH:mm:ss",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:Object(x.a)({formats:{full:"{{date}} '\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629' {{time}}",long:"{{date}} '\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},ue={lastWeek:"eeee '\u0627\u0644\u0645\u0627\u0636\u064a \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629' p",yesterday:"'\u0627\u0644\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629' p",today:"'\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629' p",tomorrow:"'\u063a\u062f\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629' p",nextWeek:"eeee '\u0627\u0644\u0642\u0627\u062f\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629' p",other:"P"},de={code:"ar",formatDistance:function(e,t,n){var i,r=ce[e];return i="string"==typeof r?r:1===t?r.one:2===t?r.two:t<=10?r.threeToTen.replace("{{count}}",String(t)):r.other.replace("{{count}}",String(t)),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"\u062e\u0644\u0627\u0644 "+i:"\u0645\u0646\u0630 "+i:i},formatLong:le,formatRelative:function(e){return ue[e]},localize:{ordinalNumber:function(e){return String(e)},era:Object(D.a)({values:{narrow:["\u0642","\u0628"],abbreviated:["\u0642.\u0645.","\u0628.\u0645."],wide:["\u0642\u0628\u0644 \u0627\u0644\u0645\u064a\u0644\u0627\u062f","\u0628\u0639\u062f \u0627\u0644\u0645\u064a\u0644\u0627\u062f"]},defaultWidth:"wide"}),quarter:Object(D.a)({values:{narrow:["1","2","3","4"],abbreviated:["\u06311","\u06312","\u06313","\u06314"],wide:["\u0627\u0644\u0631\u0628\u0639 \u0627\u0644\u0623\u0648\u0644","\u0627\u0644\u0631\u0628\u0639 \u0627\u0644\u062b\u0627\u0646\u064a","\u0627\u0644\u0631\u0628\u0639 \u0627\u0644\u062b\u0627\u0644\u062b","\u0627\u0644\u0631\u0628\u0639 \u0627\u0644\u0631\u0627\u0628\u0639"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:Object(D.a)({values:{narrow:["\u064a","\u0641","\u0645","\u0623","\u0645","\u064a","\u064a","\u0623","\u0633","\u0623","\u0646","\u062f"],abbreviated:["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"],wide:["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"]},defaultWidth:"wide"}),day:Object(D.a)({values:{narrow:["\u062d","\u0646","\u062b","\u0631","\u062e","\u062c","\u0633"],short:["\u0623\u062d\u062f","\u0627\u062b\u0646\u064a\u0646","\u062b\u0644\u0627\u062b\u0627\u0621","\u0623\u0631\u0628\u0639\u0627\u0621","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639\u0629","\u0633\u0628\u062a"],abbreviated:["\u0623\u062d\u062f","\u0627\u062b\u0646\u064a\u0646","\u062b\u0644\u0627\u062b\u0627\u0621","\u0623\u0631\u0628\u0639\u0627\u0621","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639\u0629","\u0633\u0628\u062a"],wide:["\u0627\u0644\u0623\u062d\u062f","\u0627\u0644\u0627\u062b\u0646\u064a\u0646","\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621","\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621","\u0627\u0644\u062e\u0645\u064a\u0633","\u0627\u0644\u062c\u0645\u0639\u0629","\u0627\u0644\u0633\u0628\u062a"]},defaultWidth:"wide"}),dayPeriod:Object(D.a)({values:{narrow:{am:"\u0635",pm:"\u0645",morning:"\u0627\u0644\u0635\u0628\u0627\u062d",noon:"\u0627\u0644\u0638\u0647\u0631",afternoon:"\u0628\u0639\u062f \u0627\u0644\u0638\u0647\u0631",evening:"\u0627\u0644\u0645\u0633\u0627\u0621",night:"\u0627\u0644\u0644\u064a\u0644",midnight:"\u0645\u0646\u062a\u0635\u0641 \u0627\u0644\u0644\u064a\u0644"},abbreviated:{am:"\u0635",pm:"\u0645",morning:"\u0627\u0644\u0635\u0628\u0627\u062d",noon:"\u0627\u0644\u0638\u0647\u0631",afternoon:"\u0628\u0639\u062f \u0627\u0644\u0638\u0647\u0631",evening:"\u0627\u0644\u0645\u0633\u0627\u0621",night:"\u0627\u0644\u0644\u064a\u0644",midnight:"\u0645\u0646\u062a\u0635\u0641 \u0627\u0644\u0644\u064a\u0644"},wide:{am:"\u0635",pm:"\u0645",morning:"\u0627\u0644\u0635\u0628\u0627\u062d",noon:"\u0627\u0644\u0638\u0647\u0631",afternoon:"\u0628\u0639\u062f \u0627\u0644\u0638\u0647\u0631",evening:"\u0627\u0644\u0645\u0633\u0627\u0621",night:"\u0627\u0644\u0644\u064a\u0644",midnight:"\u0645\u0646\u062a\u0635\u0641 \u0627\u0644\u0644\u064a\u0644"}},defaultWidth:"wide",formattingValues:{narrow:{am:"\u0635",pm:"\u0645",morning:"\u0641\u064a \u0627\u0644\u0635\u0628\u0627\u062d",noon:"\u0627\u0644\u0638\u0647\u0631",afternoon:"\u0628\u0639\u062f \u0627\u0644\u0638\u0647\u0631",evening:"\u0641\u064a \u0627\u0644\u0645\u0633\u0627\u0621",night:"\u0641\u064a \u0627\u0644\u0644\u064a\u0644",midnight:"\u0645\u0646\u062a\u0635\u0641 \u0627\u0644\u0644\u064a\u0644"},abbreviated:{am:"\u0635",pm:"\u0645",morning:"\u0641\u064a \u0627\u0644\u0635\u0628\u0627\u062d",noon:"\u0627\u0644\u0638\u0647\u0631",afternoon:"\u0628\u0639\u062f \u0627\u0644\u0638\u0647\u0631",evening:"\u0641\u064a \u0627\u0644\u0645\u0633\u0627\u0621",night:"\u0641\u064a \u0627\u0644\u0644\u064a\u0644",midnight:"\u0645\u0646\u062a\u0635\u0641 \u0627\u0644\u0644\u064a\u0644"},wide:{am:"\u0635",pm:"\u0645",morning:"\u0641\u064a \u0627\u0644\u0635\u0628\u0627\u062d",noon:"\u0627\u0644\u0638\u0647\u0631",afternoon:"\u0628\u0639\u062f \u0627\u0644\u0638\u0647\u0631",evening:"\u0641\u064a \u0627\u0644\u0645\u0633\u0627\u0621",night:"\u0641\u064a \u0627\u0644\u0644\u064a\u0644",midnight:"\u0645\u0646\u062a\u0635\u0641 \u0627\u0644\u0644\u064a\u0644"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:Object(A.a)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:Object(I.a)({matchPatterns:{narrow:/[\u0642\u0628]/,abbreviated:/[\u0642\u0628]\.\u0645\./,wide:/(\u0642\u0628\u0644|\u0628\u0639\u062f) \u0627\u0644\u0645\u064a\u0644\u0627\u062f/},defaultMatchWidth:"wide",parsePatterns:{any:[/\u0642\u0628\u0644/,/\u0628\u0639\u062f/]},defaultParseWidth:"any"}),quarter:Object(I.a)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/\u0631[1234]/,wide:/\u0627\u0644\u0631\u0628\u0639 (\u0627\u0644\u0623\u0648\u0644|\u0627\u0644\u062b\u0627\u0646\u064a|\u0627\u0644\u062b\u0627\u0644\u062b|\u0627\u0644\u0631\u0627\u0628\u0639)/},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Object(I.a)({matchPatterns:{narrow:/^[\u0623\u064a\u0641\u0645\u0633\u0646\u062f]/,abbreviated:/^(\u064a\u0646\u0627\u064a\u0631|\u0641\u0628\u0631\u0627\u064a\u0631|\u0645\u0627\u0631\u0633|\u0623\u0628\u0631\u064a\u0644|\u0645\u0627\u064a\u0648|\u064a\u0648\u0646\u064a\u0648|\u064a\u0648\u0644\u064a\u0648|\u0623\u063a\u0633\u0637\u0633|\u0633\u0628\u062a\u0645\u0628\u0631|\u0623\u0643\u062a\u0648\u0628\u0631|\u0646\u0648\u0641\u0645\u0628\u0631|\u062f\u064a\u0633\u0645\u0628\u0631)/,wide:/^(\u064a\u0646\u0627\u064a\u0631|\u0641\u0628\u0631\u0627\u064a\u0631|\u0645\u0627\u0631\u0633|\u0623\u0628\u0631\u064a\u0644|\u0645\u0627\u064a\u0648|\u064a\u0648\u0646\u064a\u0648|\u064a\u0648\u0644\u064a\u0648|\u0623\u063a\u0633\u0637\u0633|\u0633\u0628\u062a\u0645\u0628\u0631|\u0623\u0643\u062a\u0648\u0628\u0631|\u0646\u0648\u0641\u0645\u0628\u0631|\u062f\u064a\u0633\u0645\u0628\u0631)/},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^\u064a/i,/^\u0641/i,/^\u0645/i,/^\u0623/i,/^\u0645/i,/^\u064a/i,/^\u064a/i,/^\u0623/i,/^\u0633/i,/^\u0623/i,/^\u0646/i,/^\u062f/i],any:[/^\u064a\u0646\u0627\u064a\u0631/i,/^\u0641\u0628\u0631\u0627\u064a\u0631/i,/^\u0645\u0627\u0631\u0633/i,/^\u0623\u0628\u0631\u064a\u0644/i,/^\u0645\u0627\u064a\u0648/i,/^\u064a\u0648\u0646\u064a\u0648/i,/^\u064a\u0648\u0644\u064a\u0648/i,/^\u0623\u063a\u0633\u0637\u0633/i,/^\u0633\u0628\u062a\u0645\u0628\u0631/i,/^\u0623\u0643\u062a\u0648\u0628\u0631/i,/^\u0646\u0648\u0641\u0645\u0628\u0631/i,/^\u062f\u064a\u0633\u0645\u0628\u0631/i]},defaultParseWidth:"any"}),day:Object(I.a)({matchPatterns:{narrow:/^[\u062d\u0646\u062b\u0631\u062e\u062c\u0633]/i,short:/^(\u0623\u062d\u062f|\u0627\u062b\u0646\u064a\u0646|\u062b\u0644\u0627\u062b\u0627\u0621|\u0623\u0631\u0628\u0639\u0627\u0621|\u062e\u0645\u064a\u0633|\u062c\u0645\u0639\u0629|\u0633\u0628\u062a)/i,abbreviated:/^(\u0623\u062d\u062f|\u0627\u062b\u0646\u064a\u0646|\u062b\u0644\u0627\u062b\u0627\u0621|\u0623\u0631\u0628\u0639\u0627\u0621|\u062e\u0645\u064a\u0633|\u062c\u0645\u0639\u0629|\u0633\u0628\u062a)/i,wide:/^(\u0627\u0644\u0623\u062d\u062f|\u0627\u0644\u0627\u062b\u0646\u064a\u0646|\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621|\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621|\u0627\u0644\u062e\u0645\u064a\u0633|\u0627\u0644\u062c\u0645\u0639\u0629|\u0627\u0644\u0633\u0628\u062a)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^\u062d/i,/^\u0646/i,/^\u062b/i,/^\u0631/i,/^\u062e/i,/^\u062c/i,/^\u0633/i],wide:[/^\u0627\u0644\u0623\u062d\u062f/i,/^\u0627\u0644\u0627\u062b\u0646\u064a\u0646/i,/^\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621/i,/^\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621/i,/^\u0627\u0644\u062e\u0645\u064a\u0633/i,/^\u0627\u0644\u062c\u0645\u0639\u0629/i,/^\u0627\u0644\u0633\u0628\u062a/i],any:[/^\u0623\u062d/i,/^\u0627\u062b/i,/^\u062b/i,/^\u0623\u0631/i,/^\u062e/i,/^\u062c/i,/^\u0633/i]},defaultParseWidth:"any"}),dayPeriod:Object(I.a)({matchPatterns:{narrow:/^(\u0635|\u0645|\u0645\u0646\u062a\u0635\u0641 \u0627\u0644\u0644\u064a\u0644|\u0627\u0644\u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0644\u0638\u0647\u0631|\u0641\u064a \u0627\u0644\u0635\u0628\u0627\u062d|\u0641\u064a \u0627\u0644\u0645\u0633\u0627\u0621|\u0641\u064a \u0627\u0644\u0644\u064a\u0644)/,any:/^(\u0635|\u0645|\u0645\u0646\u062a\u0635\u0641 \u0627\u0644\u0644\u064a\u0644|\u0627\u0644\u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0644\u0638\u0647\u0631|\u0641\u064a \u0627\u0644\u0635\u0628\u0627\u062d|\u0641\u064a \u0627\u0644\u0645\u0633\u0627\u0621|\u0641\u064a \u0627\u0644\u0644\u064a\u0644)/},defaultMatchWidth:"any",parsePatterns:{any:{am:/^\u0635/,pm:/^\u0645/,midnight:/\u0645\u0646\u062a\u0635\u0641 \u0627\u0644\u0644\u064a\u0644/,noon:/\u0627\u0644\u0638\u0647\u0631/,afternoon:/\u0628\u0639\u062f \u0627\u0644\u0638\u0647\u0631/,morning:/\u0641\u064a \u0627\u0644\u0635\u0628\u0627\u062d/,evening:/\u0641\u064a \u0627\u0644\u0645\u0633\u0627\u0621/,night:/\u0641\u064a \u0627\u0644\u0644\u064a\u0644/}},defaultParseWidth:"any"})},options:{weekStartsOn:6,firstWeekContainsDate:1}},he={lessThanXSeconds:{one:"1\ucd08 \ubbf8\ub9cc",other:"{{count}}\ucd08 \ubbf8\ub9cc"},xSeconds:{one:"1\ucd08",other:"{{count}}\ucd08"},halfAMinute:"30\ucd08",lessThanXMinutes:{one:"1\ubd84 \ubbf8\ub9cc",other:"{{count}}\ubd84 \ubbf8\ub9cc"},xMinutes:{one:"1\ubd84",other:"{{count}}\ubd84"},aboutXHours:{one:"\uc57d 1\uc2dc\uac04",other:"\uc57d {{count}}\uc2dc\uac04"},xHours:{one:"1\uc2dc\uac04",other:"{{count}}\uc2dc\uac04"},xDays:{one:"1\uc77c",other:"{{count}}\uc77c"},aboutXWeeks:{one:"\uc57d 1\uc8fc",other:"\uc57d {{count}}\uc8fc"},xWeeks:{one:"1\uc8fc",other:"{{count}}\uc8fc"},aboutXMonths:{one:"\uc57d 1\uac1c\uc6d4",other:"\uc57d {{count}}\uac1c\uc6d4"},xMonths:{one:"1\uac1c\uc6d4",other:"{{count}}\uac1c\uc6d4"},aboutXYears:{one:"\uc57d 1\ub144",other:"\uc57d {{count}}\ub144"},xYears:{one:"1\ub144",other:"{{count}}\ub144"},overXYears:{one:"1\ub144 \uc774\uc0c1",other:"{{count}}\ub144 \uc774\uc0c1"},almostXYears:{one:"\uac70\uc758 1\ub144",other:"\uac70\uc758 {{count}}\ub144"}},pe={date:Object(x.a)({formats:{full:"y\ub144 M\uc6d4 d\uc77c EEEE",long:"y\ub144 M\uc6d4 d\uc77c",medium:"y.MM.dd",short:"y.MM.dd"},defaultWidth:"full"}),time:Object(x.a)({formats:{full:"a H\uc2dc mm\ubd84 ss\ucd08 zzzz",long:"a H:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:Object(x.a)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},fe={lastWeek:"'\uc9c0\ub09c' eeee p",yesterday:"'\uc5b4\uc81c' p",today:"'\uc624\ub298' p",tomorrow:"'\ub0b4\uc77c' p",nextWeek:"'\ub2e4\uc74c' eeee p",other:"P"},ge={code:"ko",formatDistance:function(e,t,n){var i,r=he[e];return i="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",t.toString()),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?i+" \ud6c4":i+" \uc804":i},formatLong:pe,formatRelative:function(e,t,n,i){return fe[e]},localize:{ordinalNumber:function(e,t){var n=Number(e);switch(String(null==t?void 0:t.unit)){case"minute":case"second":return String(n);case"date":return n+"\uc77c";default:return n+"\ubc88\uc9f8"}},era:Object(D.a)({values:{narrow:["BC","AD"],abbreviated:["BC","AD"],wide:["\uae30\uc6d0\uc804","\uc11c\uae30"]},defaultWidth:"wide"}),quarter:Object(D.a)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1\ubd84\uae30","2\ubd84\uae30","3\ubd84\uae30","4\ubd84\uae30"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:Object(D.a)({values:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1\uc6d4","2\uc6d4","3\uc6d4","4\uc6d4","5\uc6d4","6\uc6d4","7\uc6d4","8\uc6d4","9\uc6d4","10\uc6d4","11\uc6d4","12\uc6d4"],wide:["1\uc6d4","2\uc6d4","3\uc6d4","4\uc6d4","5\uc6d4","6\uc6d4","7\uc6d4","8\uc6d4","9\uc6d4","10\uc6d4","11\uc6d4","12\uc6d4"]},defaultWidth:"wide"}),day:Object(D.a)({values:{narrow:["\uc77c","\uc6d4","\ud654","\uc218","\ubaa9","\uae08","\ud1a0"],short:["\uc77c","\uc6d4","\ud654","\uc218","\ubaa9","\uae08","\ud1a0"],abbreviated:["\uc77c","\uc6d4","\ud654","\uc218","\ubaa9","\uae08","\ud1a0"],wide:["\uc77c\uc694\uc77c","\uc6d4\uc694\uc77c","\ud654\uc694\uc77c","\uc218\uc694\uc77c","\ubaa9\uc694\uc77c","\uae08\uc694\uc77c","\ud1a0\uc694\uc77c"]},defaultWidth:"wide"}),dayPeriod:Object(D.a)({values:{narrow:{am:"\uc624\uc804",pm:"\uc624\ud6c4",midnight:"\uc790\uc815",noon:"\uc815\uc624",morning:"\uc544\uce68",afternoon:"\uc624\ud6c4",evening:"\uc800\ub141",night:"\ubc24"},abbreviated:{am:"\uc624\uc804",pm:"\uc624\ud6c4",midnight:"\uc790\uc815",noon:"\uc815\uc624",morning:"\uc544\uce68",afternoon:"\uc624\ud6c4",evening:"\uc800\ub141",night:"\ubc24"},wide:{am:"\uc624\uc804",pm:"\uc624\ud6c4",midnight:"\uc790\uc815",noon:"\uc815\uc624",morning:"\uc544\uce68",afternoon:"\uc624\ud6c4",evening:"\uc800\ub141",night:"\ubc24"}},defaultWidth:"wide",formattingValues:{narrow:{am:"\uc624\uc804",pm:"\uc624\ud6c4",midnight:"\uc790\uc815",noon:"\uc815\uc624",morning:"\uc544\uce68",afternoon:"\uc624\ud6c4",evening:"\uc800\ub141",night:"\ubc24"},abbreviated:{am:"\uc624\uc804",pm:"\uc624\ud6c4",midnight:"\uc790\uc815",noon:"\uc815\uc624",morning:"\uc544\uce68",afternoon:"\uc624\ud6c4",evening:"\uc800\ub141",night:"\ubc24"},wide:{am:"\uc624\uc804",pm:"\uc624\ud6c4",midnight:"\uc790\uc815",noon:"\uc815\uc624",morning:"\uc544\uce68",afternoon:"\uc624\ud6c4",evening:"\uc800\ub141",night:"\ubc24"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:Object(A.a)({matchPattern:/^(\d+)(\uc77c|\ubc88\uc9f8)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:Object(I.a)({matchPatterns:{narrow:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(\uae30\uc6d0\uc804|\uc11c\uae30)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^(bc|\uae30\uc6d0\uc804)/i,/^(ad|\uc11c\uae30)/i]},defaultParseWidth:"any"}),quarter:Object(I.a)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234]\uc0ac?\ubd84\uae30/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Object(I.a)({matchPatterns:{narrow:/^(1[012]|[123456789])/,abbreviated:/^(1[012]|[123456789])\uc6d4/i,wide:/^(1[012]|[123456789])\uc6d4/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^1\uc6d4?$/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},defaultParseWidth:"any"}),day:Object(I.a)({matchPatterns:{narrow:/^[\uc77c\uc6d4\ud654\uc218\ubaa9\uae08\ud1a0]/,short:/^[\uc77c\uc6d4\ud654\uc218\ubaa9\uae08\ud1a0]/,abbreviated:/^[\uc77c\uc6d4\ud654\uc218\ubaa9\uae08\ud1a0]/,wide:/^[\uc77c\uc6d4\ud654\uc218\ubaa9\uae08\ud1a0]\uc694\uc77c/},defaultMatchWidth:"wide",parsePatterns:{any:[/^\uc77c/,/^\uc6d4/,/^\ud654/,/^\uc218/,/^\ubaa9/,/^\uae08/,/^\ud1a0/]},defaultParseWidth:"any"}),dayPeriod:Object(I.a)({matchPatterns:{any:/^(am|pm|\uc624\uc804|\uc624\ud6c4|\uc790\uc815|\uc815\uc624|\uc544\uce68|\uc800\ub141|\ubc24)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^(am|\uc624\uc804)/i,pm:/^(pm|\uc624\ud6c4)/i,midnight:/^\uc790\uc815/i,noon:/^\uc815\uc624/i,morning:/^\uc544\uce68/i,afternoon:/^\uc624\ud6c4/i,evening:/^\uc800\ub141/i,night:/^\ubc24/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}},be={lessThanXSeconds:{one:"menos de um segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"meio minuto",lessThanXMinutes:{one:"menos de um minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"cerca de 1 hora",other:"cerca de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 dia",other:"{{count}} dias"},aboutXWeeks:{one:"cerca de 1 semana",other:"cerca de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"cerca de 1 m\xeas",other:"cerca de {{count}} meses"},xMonths:{one:"1 m\xeas",other:"{{count}} meses"},aboutXYears:{one:"cerca de 1 ano",other:"cerca de {{count}} anos"},xYears:{one:"1 ano",other:"{{count}} anos"},overXYears:{one:"mais de 1 ano",other:"mais de {{count}} anos"},almostXYears:{one:"quase 1 ano",other:"quase {{count}} anos"}},me={date:Object(x.a)({formats:{full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/yyyy"},defaultWidth:"full"}),time:Object(x.a)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:Object(x.a)({formats:{full:"{{date}} '\xe0s' {{time}}",long:"{{date}} '\xe0s' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},ye={lastWeek:function(e){var t=e.getUTCDay();return"'"+(0===t||6===t?"\xfaltimo":"\xfaltima")+"' eeee '\xe0s' p"},yesterday:"'ontem \xe0s' p",today:"'hoje \xe0s' p",tomorrow:"'amanh\xe3 \xe0s' p",nextWeek:"eeee '\xe0s' p",other:"P"},ve={ordinalNumber:function(e,t){var n=Number(e);return"week"===(null==t?void 0:t.unit)?n+"\xaa":n+"\xba"},era:Object(D.a)({values:{narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","depois de cristo"]},defaultWidth:"wide"}),quarter:Object(D.a)({values:{narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1\xba trimestre","2\xba trimestre","3\xba trimestre","4\xba trimestre"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:Object(D.a)({values:{narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez"],wide:["janeiro","fevereiro","mar\xe7o","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"]},defaultWidth:"wide"}),day:Object(D.a)({values:{narrow:["D","S","T","Q","Q","S","S"],short:["dom","seg","ter","qua","qui","sex","sab"],abbreviated:["domingo","segunda","ter\xe7a","quarta","quinta","sexta","s\xe1bado"],wide:["domingo","segunda-feira","ter\xe7a-feira","quarta-feira","quinta-feira","sexta-feira","s\xe1bado"]},defaultWidth:"wide"}),dayPeriod:Object(D.a)({values:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"manh\xe3",afternoon:"tarde",evening:"tarde",night:"noite"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manh\xe3",afternoon:"tarde",evening:"tarde",night:"noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"meia-noite",noon:"meio-dia",morning:"manh\xe3",afternoon:"tarde",evening:"tarde",night:"noite"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"da manh\xe3",afternoon:"da tarde",evening:"da tarde",night:"da noite"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manh\xe3",afternoon:"da tarde",evening:"da tarde",night:"da noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"meia-noite",noon:"meio-dia",morning:"da manh\xe3",afternoon:"da tarde",evening:"da tarde",night:"da noite"}},defaultFormattingWidth:"wide"})},Ce={ordinalNumber:Object(A.a)({matchPattern:/^(\d+)[\xba\xaao]?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:Object(I.a)({matchPatterns:{narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|d\.?\s?c\.?)/i,wide:/^(antes de cristo|depois de cristo)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^ac/i,/^dc/i],wide:[/^antes de cristo/i,/^depois de cristo/i]},defaultParseWidth:"any"}),quarter:Object(I.a)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](\xba)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Object(I.a)({matchPatterns:{narrow:/^[jfmajsond]/i,abbreviated:/^(jan|fev|mar|abr|mai|jun|jul|ago|set|out|nov|dez)/i,wide:/^(janeiro|fevereiro|mar\xe7o|abril|maio|junho|julho|agosto|setembro|outubro|novembro|dezembro)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^fev/i,/^mar/i,/^abr/i,/^mai/i,/^jun/i,/^jul/i,/^ago/i,/^set/i,/^out/i,/^nov/i,/^dez/i]},defaultParseWidth:"any"}),day:Object(I.a)({matchPatterns:{narrow:/^(dom|[23456]\xaa?|s[a\xe1]b)/i,short:/^(dom|[23456]\xaa?|s[a\xe1]b)/i,abbreviated:/^(dom|seg|ter|qua|qui|sex|s[a\xe1]b)/i,wide:/^(domingo|(segunda|ter[c\xe7]a|quarta|quinta|sexta)([- ]feira)?|s[a\xe1]bado)/i},defaultMatchWidth:"wide",parsePatterns:{short:[/^d/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^s[a\xe1]/i],narrow:[/^d/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^s[a\xe1]/i],any:[/^d/i,/^seg/i,/^t/i,/^qua/i,/^qui/i,/^sex/i,/^s[a\xe1]b/i]},defaultParseWidth:"any"}),dayPeriod:Object(I.a)({matchPatterns:{narrow:/^(a|p|mn|md|(da) (manh\xe3|tarde|noite))/i,any:/^([ap]\.?\s?m\.?|meia[-\s]noite|meio[-\s]dia|(da) (manh\xe3|tarde|noite))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mn|^meia[-\s]noite/i,noon:/^md|^meio[-\s]dia/i,morning:/manh\xe3/i,afternoon:/tarde/i,evening:/tarde/i,night:/noite/i}},defaultParseWidth:"any"})};const we={"zh-CN":R,"en-US":j.a,"ja-JP":F,"id-ID":U,"es-ES":K,"fr-FR":Z,"ru-RU":ae,"ar-AE":de,"ko-KR":ge,"pt-BR":{code:"pt-BR",formatDistance:function(e,t,n){var i,r=be[e];return i="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",String(t)),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"em "+i:"h\xe1 "+i:i},formatLong:me,formatRelative:function(e,t,n,i){var r=ye[e];return"function"==typeof r?r(t):r},localize:ve,match:Ce,options:{weekStartsOn:0,firstWeekContainsDate:1}}},Se=Object.keys(we).reduce((e,t)=>(e.set(t,we[t]),e.set(t.slice(0,2),we[t]),e),new Map);let _e=(()=>{class e{static get today(){return this.getToday()}static getDate(e){return"string"==typeof e&&this.DATE_REGEXP.test(e.trim())&&(e+="T00:00:00"),new Date(e||new Date)}static parseCheckInOutDate(e){return this.getDate(e)}static getString(t,n=e.DEFAULT_DATE_TIME_FORMAT){const i=window.document.documentElement.lang,r=Se.get(i);return Object(_.a)(e.getDate(t),n,{locale:r})}static getDayDistance(e,t){const n=window.document.documentElement.lang,i=Se.get(n);return function(e,t,n){var i,r;Object(g.a)(2,arguments);var o=Object(s.a)(),y=null!==(i=null!==(r=null==n?void 0:n.locale)&&void 0!==r?r:o.locale)&&void 0!==i?i:u.a;if(!y.formatDistance)throw new RangeError("locale must contain formatDistance property");var v=Object(a.a)(e,t);if(isNaN(v))throw new RangeError("Invalid time value");var C,w,S=Object(h.a)(p(n),{addSuffix:Boolean(null==n?void 0:n.addSuffix),comparison:v});v>0?(C=Object(d.a)(t),w=Object(d.a)(e)):(C=Object(d.a)(e),w=Object(d.a)(t));var _,O=Object(l.a)(w,C),x=(Object(f.a)(w)-Object(f.a)(C))/1e3,z=Math.round((O-x)/60);if(z<2)return null!=n&&n.includeSeconds?O<5?y.formatDistance("lessThanXSeconds",5,S):O<10?y.formatDistance("lessThanXSeconds",10,S):O<20?y.formatDistance("lessThanXSeconds",20,S):O<40?y.formatDistance("halfAMinute",0,S):y.formatDistance(O<60?"lessThanXMinutes":"xMinutes",1,S):0===z?y.formatDistance("lessThanXMinutes",1,S):y.formatDistance("xMinutes",z,S);if(z<45)return y.formatDistance("xMinutes",z,S);if(z<90)return y.formatDistance("aboutXHours",1,S);if(zt)&&(t=o);const s=Object(y.a)(t,i);(!n||n0}static unique(e){return Array.from(new Set(e))}static twoDimensionalize(e,t){const n=e.map(e=>e),i=[];do{const e=n.splice(0,t);i.push(e)}while(n.length>0);return i}static toMap(e,t){const n=new Map;return e.forEach(e=>{n.set(t(e),e)}),n}static sum(e,t){let n=0;return e.forEach(e=>n+=t(e)),n}}class xe{static get isInWeChatWebView(){return navigator.userAgent.indexOf("MicroMessenger")>-1}static get isInWebView(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}static get isOutdated(){return navigator.userAgent.indexOf("Trident")>-1}}class ze{}class Te{static deepCopy(e){return JSON.parse(JSON.stringify(e),this.dateReviver)}static toArray(e){return Array.isArray(e)?e:null==e?[]:[e]}static dateReviver(e,t){let n;return"string"==typeof t&&(n=/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2}(?:\.\d*)?)Z$/.exec(t),n)?new Date(Date.UTC(+n[1],+n[2]-1,+n[3],+n[4],+n[5],+n[6])):t}static assign(...e){return e.reduce((e,t)=>{if(!t)return e;for(const n in t)void 0===t[n]&&null===t[n]||(e[n]=t[n]);return e})}static getStructor(e){return Object.keys(e).map(t=>{const n=e[t];({name:t,value:n,type:""}).type=Array.isArray(n)?"array":typeof n})}static clone(e,t=!0){return Te.isNotAnObject(e)?e:t?Te.deepClone(e):Array.isArray(e)?e.map(e=>Te.clone(e,!1)):e instanceof Date?new Date(e):Object.assign({},e)}static deepClone(e){if(Te.isNotAnObject(e))return e;if(Array.isArray(e))return e.map(e=>Te.deepClone(e));if(e instanceof Date)return new Date(e);{const t={};for(const n in e)if(e.hasOwnProperty(n)){const i=Te.deepClone(e[n]);t[n]=i}return t}}static isNotAnObject(e){return"object"!=typeof e||null===e}static diff(e,t){if(e===t)return[];if(null!=e&&null!=t){const n=typeof e;if(n!==typeof t)throw new Error("cannot execute diff for different types of object");if("object"!==n||e instanceof Date)throw new Error("cannot execute diff for non-object values")}const n=Te.flatten(Te.deepClone(e)),i=Te.flatten(Te.deepClone(t)).reduce((e,t)=>(e[t.path]=t,e),{}),r=[];return n.forEach(e=>{const t=i[e.path];if(t){let n=!1;t.val instanceof Date&&e.val instanceof Date?n=t.val.getTime()===e.val.getTime():(t.val instanceof ze&&e.val instanceof ze||t.val===e.val)&&(n=!0),n||r.push({path:e.path,a:e.val,b:t.val}),delete i[e.path]}else r.push({path:e.path,a:e.val,b:void 0})}),Object.values(i).forEach(e=>{r.push({path:e.path,a:void 0,b:e.val})}),r}static flatten(e,t="",n=[]){if(Te.isNotAnObject(e))n.push({path:t,val:e});else if(Array.isArray(e))0===e.length?n.push({path:t,val:new ze}):(t=Te.getObjectPathPrefix(t),e.forEach((e,i)=>{Te.flatten(e,`${t}-:[${i}]`,n)}));else if(e instanceof Date)n.push({path:t,val:e});else{t=Te.getObjectPathPrefix(t);for(const i in e)e.hasOwnProperty(i)&&Te.flatten(e[i],`${t}${i}`,n)}return n}static getObjectPathPrefix(e){return""===e?"":e+"."}static isEmptyOrFalsy(e){return"string"!=typeof e&&!e}}class ke{static getMatchs(e,t,n=!1){let i=[];if(e&&t){i=[];const r=t.replace(/[^\u4e00-\u9fa5a-zA-Z0-9\s]/gi,"").trim().split(/\s+/).sort((e,t)=>t.length-e.length),o=e.trim().split(/\s+/),s={};r.forEach(e=>{o.forEach(t=>{s[t]||(n&&t.toLowerCase().indexOf(e.toLowerCase())>-1||t.indexOf(e)>-1)&&(s[t]=e)})}),o.forEach(e=>{i.push({word:e,key:s[e]})})}return i}static hasMatch(e,t,n=!0){if(e=e.trim(),t=t&&t.trim(),e&&t){const i=t.replace(/[^\u4e00-\u9fa5a-zA-Z0-9\s]/gi,"").split(/\s+/).sort((e,t)=>t.length-e.length),r=e.split(/\s+/);return!!i.find(e=>!!r.find(t=>n?t.toLowerCase().includes(e.toLowerCase()):t.includes(e)))}return!1}}var Pe=n("38dE");class Ee{static getBreakpoint(e){let t;return t=e<=480?Pe.a.xs:e<=768?Pe.a.sm:e<=992?Pe.a.md:e<=1200?Pe.a.lg:e<=1600?Pe.a.xl:Pe.a.xxl,t}static getBreakpointPropertyName(e,t="na"){return`${t}${Pe.a[e]}`}static forEach(e){const t=Pe.a;for(const n in t)t.hasOwnProperty(n)&&e(n,t[n])}}class De{static toAvailableBackgroundUrl(e){return encodeURI(e)}static addParams(e,t){const n=Object.keys(t);if(n.length<1)return e;const i=n.map(e=>`${e}=${t[e]}`).join("&"),r=e.indexOf("?")>0?"&":"?";return e+r+i}static normalizeStaticUrl(e,t=!1){if("boolean"==typeof t&&(t={orDefault:t}),!e){if(!t.orDefault)return e;e="/v2-app/images/image-fallback.svg"}if(e.includes("%")||(e=encodeURI(e)),e.includes("://"))return e;let[n="",i=""]=e.split("?");if(t.postfix&&(n=n.replace(/(\.[^.]+$)/,`_${t.postfix}$1`)),!n.endsWith(".svg")&&t.width&&!i.includes("x-oss-process")){i&&(i+="&");let e=Math.ceil(t.width*devicePixelRatio);e=Math.min(e,3840),i+="x-oss-process=image/resize,w_"+e}return e=n,i&&(e+="?"+i),t.basePath&&(e.startsWith("/")&&(e=e.slice(1)),e=t.basePath.endsWith("/")?t.basePath+e:t.basePath+"/"+e),e.includes("//")?e:`https://dsimage.didatravel.com${e}`}}let Me=(()=>{class e{static containsChinese(e){return/[\u4e00-\u9fa5]/.test(e)}static isPhoneNumber(e){return this.PhoneNumberPattern.test(e)}static isAlphanumberic(e){return this.AlphanumbericPattern.test(e)}static isTaxId(t){const n=null==t?void 0:t.trim().replace(/\s/g,"");return 18===n.length&&e.isAlphanumberic(n)}static getPasswordError(e){if(e.lengththis.PasswordMaxLength)return{maxlength:{requiredLength:this.PasswordMaxLength,actualLength:e.length}};if(!/[0-9]+/.test(e))return{digit:!0};if(!/[a-zA-Z]+/.test(e))return{letter:!0};const t=o.getRepeatingSubString(e,this.PasswordMaxRepeat+1);if(null!==t)return{maxrepeat:{max:this.PasswordMaxRepeat,actual:t}};if(!this.PasswordLegalCharPattern.test(e))return{legal:!0};const n=o.getConsecutiveSubString(e,this.PasswordMaxConsecutive+1,null);return null!=n?{maxconsecutive:{max:this.PasswordMaxConsecutive,actual:n}}:void 0}static getNameError(t,n){return t?n.strict&&!this.GuestNamePattern.test(t)?{pattern:!0}:n.noChinese&&e.containsChinese(t)?{noChinese:!0}:n.noSpace&&t.includes(" ")?{noSpace:!0}:t.length>this.GuestNameMaxLength?{maxlength:{max:this.GuestNameMaxLength,actual:t.length}}:void 0:null}static getGuestNameError(e,t={}){var n,i;const r=null===(n=null==e?void 0:e[t.firstNameKey||"FirstName"])||void 0===n?void 0:n.trim(),o=null===(i=null==e?void 0:e[t.lastNameKey||"LastName"])||void 0===i?void 0:i.trim();if(t.required&&!r&&!o)return{required:!0};const s=this.getNameError(r,t);if(s)return{firstName:s};const a=this.getNameError(o,t);return a?{lastName:a}:(r?1:0)+(o?1:0)==1?{complete:!0}:null}}return e.PhoneNumberPattern=/^(\+[1-9][0-9]{0,3}\-)?[-0-9]{7,}$/,e.AlphanumbericPattern=/^[\da-zA-Z]+$/,e.PasswordMinLength=8,e.PasswordMaxLength=50,e.PasswordMaxRepeat=3,e.PasswordMaxConsecutive=4,e.PasswordLegalCharPattern=/^\s+$|^([a-zA-Z0-9]+)$/,e.GuestNameMaxLength=100,e.GuestNameWithoutChinesePattern=/^[A-Za-z'\s.]{1,100}$/,e.GuestNamePattern=/^[\u4e00-\u9fa5A-Za-z'\s.]{1,100}$/,e})();function Ie(e){const t=e.value;return Me.isPhoneNumber(null==t?void 0:t.trim())?null:{phone:{value:e.value}}}function Ae(e){const t=e.value;return t?/^[\u4e00-\u9fa5A-Za-z'\s.]{1,100}$/.test(t)?null:{nameValidator:{value:e.value}}:null}function Re(e){const t=e.value;return t?/^[A-Za-z'\s.]{1,100}$/.test(t)?null:{ASCII:{value:e.value}}:null}function je(e){return/\s+/.test(e.value)?{spaceValidator:{value:e.value}}:null}const Ve=new Map([["\u7b80\u5355\u54a8\u8be2","Information query"],["\u5230\u5e97\u67e5\u65e0\u9884\u8ba2","Check no reservation at the store"],["\u91cd\u590d\u6263\u8d39","Payment issue"],["\u91cd\u590d\u6263\u53d6\u623f\u8d39","Repeated deduction of room fee"],["\u91cd\u590d\u6263\u53d6\u9910\u8d39","Repeated deduction of meal expenses"],["\u62bc\u91d1/\u9884\u6388\u6743\u672a\u9000\u8fd8","Deposit / pre authorization not refunded"],["\u5176\u4ed6","Others"],["\u786e\u8ba4\u53f7","Hotel confirmation number"],["\u623f\u8d39\u95ee\u9898","Room rate problem"],["\u9057\u7559\u7269\u54c1","Leftover items"],["\u7279\u6b8a\u5907\u6ce8","Special request"],["\u8ba2\u5355\u5b89\u6392\u4e0d\u7b26","Booking mismatch"],["\u623f\u578b\u5b89\u6392\u4e0d\u7b26","Inconsistent room type arrangement"],["\u5e8a\u578b\u5b89\u6392\u4e0d\u7b26","Inconsistent bed arrangement"],["\u9910\u578b\u5b89\u6392\u4e0d\u7b26","Inconsistent meal arrangement"],["\u5165\u4f4f\u4eba\u59d3\u540d\u5b89\u6392\u4e0d\u7b26","The name of the check-in is inconsistent with the arrangement"],["\u8ba2\u5355\u5165\u79bb\u5e97\u65f6\u95f4\u4e0d\u7b26","The arrival and departure time of the order is inconsistent"],["\u8ba2\u5355\u9000\u6b3e","Order refund"],["\u9152\u5e97\u8bbe\u65bd","Hotel facilities"],["\u88ab\u5916\u9001\u81f3\u5176\u4ed6\u9152\u5e97","Sent to other hotels"],["\u4fee\u6539\u65e5\u671f","Modification date"],["\u4e0d\u53ef\u6297\u529b\u56e0\u7d20","Force majeure"],["\u5ba2\u4eba\u75be\u75c5\u56e0\u7d20","Guest disease factors"],["\u7b7e\u8bc1\u62d2\u7b7e","Visa refusal"],["\u884c\u7a0b\u53d8\u66f4","Travel change"],["\u5176\u4ed6\u56e0\u7d20","Other factors"],["\u7533\u8bf7\u63d0\u524d\u79bb\u5e97","Apply for early departure"],["\u589e\u52a0/\u4fee\u6539\u5165\u4f4f\u4eba","Add / modify occupants"],["\u7533\u8bf7\u5168\u5355\u53d6\u6d88","Cancel all application forms"],["\u9152\u5e97\u6d4b\u8bd5\u5355","Hotel test sheet"],["\u91cd\u590d\u9884\u8ba2","Duplicated bookings"],["\u7533\u8bf7\u90e8\u5206\u53d6\u6d88","Partial cancellation of application"],["\u52a0\u65e9","Add early"],["\u52a0\u5e8a","Have an extra bed"],["\u67e5\u65e0\u9884\u8ba2","Check no reservation"]]);function Le(e,t){return function(e,t,n){return n?e:t||function(e){return Ve.get(e)||e}(e)}(null==e?void 0:e.Name,null==e?void 0:e.Name_EN,t)}},VRyK:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("HDdC"),r=n("z+Ro"),o=n("bHdf"),s=n("yCtX");function a(...e){let t=Number.POSITIVE_INFINITY,n=null,a=e[e.length-1];return Object(r.a)(a)?(n=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof a&&(t=e.pop()),null===n&&1===e.length&&e[0]instanceof i.a?e[0]:Object(o.a)(t)(Object(s.a)(e,n))}},WMd4:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var i=n("EY2u"),r=n("LRne"),o=n("z6cu");let s=(()=>{class e{constructor(e,t,n){this.kind=e,this.value=t,this.error=n,this.hasValue="N"===e}observe(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}}do(e,t,n){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return n&&n()}}accept(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)}toObservable(){switch(this.kind){case"N":return Object(r.a)(this.value);case"E":return Object(o.a)(this.error);case"C":return Object(i.b)()}throw new Error("unexpected notification kind value")}static createNext(t){return void 0!==t?new e("N",t):e.undefinedValueNotification}static createError(t){return new e("E",void 0,t)}static createComplete(){return e.completeNotification}}return e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e})()},WN2g:function(e,t,n){"use strict";n("fXoL")},WYAk:function(e,t,n){var i,r;e.exports=(i=n("Ib8C"),r=i.enc.Utf8,void(i.algo.HMAC=i.lib.Base.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=r.parse(t));var n=e.blockSize,i=4*n;t.sigBytes>i&&(t=e.finalize(t)),t.clamp();for(var o=this._oKey=t.clone(),s=this._iKey=t.clone(),a=o.words,c=s.words,l=0;l{class e{constructor(e,t,n){this.nzConfigService=e,this.cdr=t,this.directionality=n,this._nzModuleName=x,this.nzCloseText=null,this.nzIconType=null,this.nzMessage=null,this.nzDescription=null,this.nzType="info",this.nzCloseable=!1,this.nzShowIcon=!1,this.nzBanner=!1,this.nzNoAnimation=!1,this.nzOnClose=new o.n,this.closed=!1,this.iconTheme="fill",this.inferredIconType="info-circle",this.dir="ltr",this.isTypeSet=!1,this.isShowIconSet=!1,this.destroy$=new l.a,this.nzConfigService.getConfigChangeEventForComponent(x).pipe(Object(u.a)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}ngOnInit(){var e;null===(e=this.directionality.change)||void 0===e||e.pipe(Object(u.a)(this.destroy$)).subscribe(e=>{this.dir=e,this.cdr.detectChanges()}),this.dir=this.directionality.value}closeAlert(){this.closed=!0}onFadeAnimationDone(){this.closed&&this.nzOnClose.emit(!0)}ngOnChanges(e){const{nzShowIcon:t,nzDescription:n,nzType:i,nzBanner:r}=e;if(t&&(this.isShowIconSet=!0),i)switch(this.isTypeSet=!0,this.nzType){case"error":this.inferredIconType="close-circle";break;case"success":this.inferredIconType="check-circle";break;case"info":this.inferredIconType="info-circle";break;case"warning":this.inferredIconType="exclamation-circle"}n&&(this.iconTheme=this.nzDescription?"outline":"fill"),r&&(this.isTypeSet||(this.nzType="warning"),this.isShowIconSet||(this.nzShowIcon=!0))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(o.Qb(a.b),o.Qb(o.h),o.Qb(r.c,8))},e.\u0275cmp=o.Kb({type:e,selectors:[["nz-alert"]],inputs:{nzCloseText:"nzCloseText",nzIconType:"nzIconType",nzMessage:"nzMessage",nzDescription:"nzDescription",nzType:"nzType",nzCloseable:"nzCloseable",nzShowIcon:"nzShowIcon",nzBanner:"nzBanner",nzNoAnimation:"nzNoAnimation"},outputs:{nzOnClose:"nzOnClose"},exportAs:["nzAlert"],features:[o.Ab],decls:1,vars:1,consts:[["class","ant-alert",3,"ant-alert-rtl","ant-alert-success","ant-alert-info","ant-alert-warning","ant-alert-error","ant-alert-no-icon","ant-alert-banner","ant-alert-closable","ant-alert-with-description",4,"ngIf"],[1,"ant-alert"],[4,"ngIf"],["class","ant-alert-content",4,"ngIf"],["type","button","tabindex","0","class","ant-alert-close-icon",3,"click",4,"ngIf"],["nz-icon","",1,"ant-alert-icon",3,"nzType","nzTheme"],[1,"ant-alert-content"],["class","ant-alert-message",4,"ngIf"],["class","ant-alert-description",4,"ngIf"],[1,"ant-alert-message"],[4,"nzStringTemplateOutlet"],[1,"ant-alert-description"],["type","button","tabindex","0",1,"ant-alert-close-icon",3,"click"],["closeDefaultTemplate",""],[4,"ngIf","ngIfElse"],["nz-icon","","nzType","close"],[1,"ant-alert-close-text"]],template:function(e,t){1&e&&o.Qc(0,O,4,23,"div",0),2&e&&o.wc("ngIf",!t.closed)},directives:[d.o,p.a,h.b],encapsulation:2,data:{animation:[s.e]},changeDetection:0}),Object(i.b)([Object(a.c)(),Object(c.a)(),Object(i.c)("design:type",Boolean)],e.prototype,"nzCloseable",void 0),Object(i.b)([Object(a.c)(),Object(c.a)(),Object(i.c)("design:type",Boolean)],e.prototype,"nzShowIcon",void 0),Object(i.b)([Object(c.a)(),Object(i.c)("design:type",Object)],e.prototype,"nzBanner",void 0),Object(i.b)([Object(c.a)(),Object(i.c)("design:type",Object)],e.prototype,"nzNoAnimation",void 0),e})(),T=(()=>{class e{}return e.\u0275mod=o.Ob({type:e}),e.\u0275inj=o.Nb({factory:function(t){return new(t||e)},imports:[[r.a,d.c,p.b,h.a]]}),e})()},XDbj:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n("sVev"),r=n("7o/Q");function o(e=c){return t=>t.lift(new s(e))}class s{constructor(e){this.errorFactory=e}call(e,t){return t.subscribe(new a(e,this.errorFactory))}}class a extends r.a{constructor(e,t){super(e),this.errorFactory=t,this.hasValue=!1}_next(e){this.hasValue=!0,this.destination.next(e)}_complete(){if(this.hasValue)return this.destination.complete();{let t;try{t=this.errorFactory()}catch(e){t=e}this.destination.error(t)}}}function c(){return new i.a}},XNiG:function(e,t,n){"use strict";n.d(t,"b",function(){return l}),n.d(t,"a",function(){return u});var i=n("HDdC"),r=n("7o/Q"),o=n("quSY"),s=n("9ppp"),a=n("Ylt2"),c=n("2QA8");class l extends r.a{constructor(e){super(e),this.destination=e}}let u=(()=>{class e extends i.a{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[c.a](){return new l(this)}lift(e){const t=new d(this,this);return t.operator=e,t}next(e){if(this.closed)throw new s.a;if(!this.isStopped){const{observers:t}=this,n=t.length,i=t.slice();for(let r=0;rnew d(e,t),e})();class d extends u{constructor(e,t){super(),this.destination=e,this.source=t}next(e){const{destination:t}=this;t&&t.next&&t.next(e)}error(e){const{destination:t}=this;t&&t.error&&this.destination.error(e)}complete(){const{destination:e}=this;e&&e.complete&&this.destination.complete()}_subscribe(e){const{source:t}=this;return t?this.source.subscribe(e):o.a.EMPTY}}},XoHu:function(e,t,n){"use strict";function i(e){return null!==e&&"object"==typeof e}n.d(t,"a",function(){return i})},"Xy/U":function(e,t,n){"use strict";n.d(t,"a",function(){return m.a}),n.d(t,"b",function(){return y});var i=n("ofXK"),r=n("3Pt+"),o=n("3rB1"),s=n("57/M"),a=n("KYnA"),c=n("B+r4"),l=n("fXoL");let u=(()=>{class e{}return e.\u0275mod=l.Ob({type:e}),e.\u0275inj=l.Nb({factory:function(t){return new(t||e)},imports:[[i.c,c.b,a.a]]}),e})();var d=n("rDax"),h=n("tyNb"),p=n("qf9Q"),f=n("TaO5"),g=n("JgHy"),b=n("cuYk"),m=n("dGGt");let y=(()=>{class e{}return e.\u0275mod=l.Ob({type:e}),e.\u0275inj=l.Nb({factory:function(t){return new(t||e)},imports:[[i.c,r.k,h.k,u,s.a,o.a,b.a,p.a,f.b,g.c,d.f]]}),e})()},Y7HM:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("DH7j");function r(e){return!Object(i.a)(e)&&e-parseFloat(e)+1>=0}},YF2q:function(e,t,n){"use strict";n.d(t,"a",function(){return u}),n.d(t,"b",function(){return d});var i=n("ofXK"),r=n("mrSG"),o=n("8LU1"),s=n("R1ws"),a=n("/KA4"),c=n("fXoL");const l="nz-animate-disabled";let u=(()=>{class e{constructor(e,t,n){this.element=e,this.renderer=t,this.animationType=n,this.nzNoAnimation=!1}ngOnChanges(){this.updateClass()}ngAfterViewInit(){this.updateClass()}updateClass(){const e=Object(o.e)(this.element);e&&(this.nzNoAnimation||"NoopAnimations"===this.animationType?this.renderer.addClass(e,l):this.renderer.removeClass(e,l))}}return e.\u0275fac=function(t){return new(t||e)(c.Qb(c.l),c.Qb(c.G),c.Qb(s.a,8))},e.\u0275dir=c.Lb({type:e,selectors:[["","nzNoAnimation",""]],inputs:{nzNoAnimation:"nzNoAnimation"},exportAs:["nzNoAnimation"],features:[c.Ab]}),Object(r.b)([Object(a.a)(),Object(r.c)("design:type",Boolean)],e.prototype,"nzNoAnimation",void 0),e})(),d=(()=>{class e{}return e.\u0275mod=c.Ob({type:e}),e.\u0275inj=c.Nb({factory:function(t){return new(t||e)},imports:[[i.c]]}),e})()},Ylt2:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("quSY");class r extends i.a{constructor(e,t){super(),this.subject=e,this.subscriber=t,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const e=this.subject,t=e.observers;if(this.subject=null,!t||0===t.length||e.isStopped||e.closed)return;const n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}},ZUHj:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var i=n("51Dv"),r=n("SeVD"),o=n("HDdC");function s(e,t,n,s,a=new i.a(e,n,s)){if(!a.closed)return t instanceof o.a?t.subscribe(a):Object(r.a)(t)(a)}},a59x:function(e,t,n){"use strict";n.d(t,"a",function(){return O});var i=n("tb4M"),r=n("y6qV"),o=n("pFuZ"),s=n("fXoL"),a=n("ofXK");function c(e,t){1&e&&(s.Ub(0),s.ac(1,3),s.Tb())}function l(e,t){1&e&&(s.Ub(0),s.ac(1,4),s.Tb())}function u(e,t){1&e&&(s.Ub(0),s.ac(1,5),s.Tb())}function d(e,t){1&e&&(s.Ub(0),s.ac(1,6),s.Tb())}function h(e,t){1&e&&(s.Ub(0),s.ac(1,10),s.Tb())}function p(e,t){1&e&&(s.Ub(0),s.ac(1,11),s.Tb())}function f(e,t){if(1&e&&s.Sb(0,12),2&e){s.oc(2);const e=s.Ec(3);s.wc("ngTemplateOutlet",e)}}function g(e,t){if(1&e&&(s.Ub(0),s.Ub(1,1),s.Qc(2,h,2,0,"ng-container",2),s.Qc(3,p,2,0,"ng-container",2),s.Qc(4,f,1,1,"ng-container",9),s.Tb(),s.Tb()),2&e){const e=s.oc(3);s.Cb(1),s.wc("ngSwitch",e.ticketOperation),s.Cb(1),s.wc("ngSwitchCase",e.TicketOperations.Add),s.Cb(1),s.wc("ngSwitchCase",e.TicketOperations.Complete)}}function b(e,t){1&e&&s.ac(0,13)}function m(e,t){if(1&e&&(s.Ub(0),s.Qc(1,g,5,3,"ng-container",7),s.Qc(2,b,1,0,"ng-template",null,8,s.Rc),s.Tb()),2&e){const e=s.Ec(3),t=s.oc(2);s.Cb(1),s.wc("ngIf",null!=t.ticketOperation)("ngIfElse",e)}}function y(e,t){1&e&&(s.Ub(0),s.ac(1,14),s.Tb())}function v(e,t){1&e&&(s.Ub(0),s.ac(1,15),s.Tb())}function C(e,t){1&e&&(s.Ub(0),s.ac(1,16),s.Tb())}function w(e,t){1&e&&(s.Ub(0),s.ac(1,17),s.Tb())}function S(e,t){1&e&&(s.Ub(0),s.Sc(1,"\u8ba2\u5355\u53d1\u7968\u63d0\u9192"),s.Tb())}function _(e,t){if(1&e&&(s.Ub(0,1),s.Qc(1,c,2,0,"ng-container",2),s.Qc(2,l,2,0,"ng-container",2),s.Qc(3,u,2,0,"ng-container",2),s.Qc(4,d,2,0,"ng-container",2),s.Qc(5,m,4,2,"ng-container",2),s.Qc(6,y,2,0,"ng-container",2),s.Qc(7,v,2,0,"ng-container",2),s.Qc(8,C,2,0,"ng-container",2),s.Qc(9,w,2,0,"ng-container",2),s.Qc(10,S,2,0,"ng-container",2),s.Tb()),2&e){const e=s.oc();s.wc("ngSwitch",e.ndMessageEntity.Category),s.Cb(1),s.wc("ngSwitchCase",e.MessageCategoryTypeEnum.System),s.Cb(1),s.wc("ngSwitchCase",e.MessageCategoryTypeEnum.BookingFreeCancellationNotice),s.Cb(1),s.wc("ngSwitchCase",e.MessageCategoryTypeEnum.BookingLowerPriceNotice),s.Cb(1),s.wc("ngSwitchCase",e.MessageCategoryTypeEnum.BookingHotelConfirmationNotice),s.Cb(1),s.wc("ngSwitchCase",e.MessageCategoryTypeEnum.WorkOrderStatusChange),s.Cb(1),s.wc("ngSwitchCase",e.MessageCategoryTypeEnum.InvoiceStatusChange),s.Cb(1),s.wc("ngSwitchCase",e.MessageCategoryTypeEnum.BillStatusChange),s.Cb(1),s.wc("ngSwitchCase",e.MessageCategoryTypeEnum.PointsExchange),s.Cb(1),s.wc("ngSwitchCase",e.MessageCategoryTypeEnum.CouponNearExpiration),s.Cb(1),s.wc("ngSwitchCase",e.MessageCategoryTypeEnum.InvoiceNearExpiration)}}let O=(()=>{class e extends i.n{constructor(){super(),this.MessageCategoryTypeEnum=r.a,this.TicketOperations=o.d}get ticketOperation(){return this.ndMessageEntity.ExtraSetting&&this.ndMessageEntity.ExtraSetting.TicketSettings?this.ndMessageEntity.ExtraSetting.TicketSettings.OperationID:null}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=s.Kb({type:e,selectors:[["nd-message-complex-category"]],inputs:{ndMessageEntity:"ndMessageEntity"},features:[s.zb],decls:1,vars:1,consts:function(){let e,t,n,i,r,o,s,a,c,l,u;return e="System Notification",t="Next Day Cancellation Penalty",n="Price drop",i="Hotel Confirmation#",r="Create Ticket",o="Ticket Completed",s="Work Order Status",a="Request invoice",c="Bill Status",l="Points Redeem",u="Coupon Reminder",[[3,"ngSwitch",4,"ngIf"],[3,"ngSwitch"],[4,"ngSwitchCase"],e,t,n,i,[4,"ngIf","ngIfElse"],["ticketStateUpdateTemp",""],[3,"ngTemplateOutlet",4,"ngSwitchDefault"],r,o,[3,"ngTemplateOutlet"],s,a,c,l,u]},template:function(e,t){1&e&&s.Qc(0,_,11,11,"ng-container",0),2&e&&s.wc("ngIf",t.ndMessageEntity)},directives:[a.o,a.q,a.r,a.s,a.t],encapsulation:2,changeDetection:0}),e})()},a8Jl:function(e,t,n){"use strict";n.d(t,"a",function(){return f});var i=n("fXoL"),r=n("B7ZD"),o=n("BVU9"),s=n("8mR2"),a=n("Nqz0"),c=n("FwiY"),l=n("C2AL"),u=n("IuAY"),d=n("Q8cG"),h=n("ofXK");function p(e,t){if(1&e){const e=i.Xb();i.Wb(0,"li",9),i.lc("click",function(){i.Hc(e);const n=t.$implicit;return i.oc().langSelected(n.langCode)}),i.Sc(1,"\n "),i.Rb(2,"i",4),i.Sc(3),i.Vb()}if(2&e){const e=t.$implicit,n=i.oc();i.wc("nzSelected",e.langCode===n.lang),i.Cb(2),i.wc("nzType",e.icon),i.Cb(1),i.Uc("",e.displayTxt,"\n ")}}let f=(()=>{class e{constructor(e){this.cdr=e,this.ndLanguageChange=new i.n,this.Icons=o.a,this.LanguageType=r.d,this.languages=r.a.map(e=>r.b.get(e))}get isCN(){return this.lang&&(this.lang===r.d.zh_CN||this.lang===r.d._zh_CN)}ngOnInit(){this.lang||(this.lang=r.d.zh_CN),this.syncOptions(),this.syncSelection()}langSelected(e){const t=e;this.lang=t,this.syncSelection(),this.ndLanguageChange.emit(new s.a(this,t)),this.cdr.markForCheck()}ngOnChanges(e){e.lang&&this.syncSelection(),e.hiddenLanguages&&this.syncOptions()}syncOptions(){var e;let t=r.a;(null===(e=this.hiddenLanguages)||void 0===e?void 0:e.length)>0&&(t=t.filter(e=>this.hiddenLanguages.indexOf(e)<0)),this.languages=t.map(e=>r.b.get(e))}syncSelection(){const e=r.b.get(this.lang);e&&(this.iconType=e.icon,this.displayTxt=e.abbr)}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.h))},e.\u0275cmp=i.Kb({type:e,selectors:[["nd-navbar-lang-switch"]],inputs:{lang:"lang",navType:"navType",canShowExtraLang:"canShowExtraLang",hiddenLanguages:"hiddenLanguages"},outputs:{ndLanguageChange:"ndLanguageChange"},features:[i.Ab],decls:23,vars:7,consts:[[1,"nd-lang-switch"],["nz-dropdown","","nzTrigger","click","nzOverlayClassName","nd-navbar__wide-menu",1,"nd-navbar__nav-link",3,"nzDropdownMenu","nzVisibleChange"],["langDropdown","nzDropdown"],[1,"nd-lang-switch__selected-value"],["nz-icon","",1,"nd-lang-switch__lang-icon",3,"nzType"],["nz-icon","",1,"nd-navbar__dropdown-arrow",3,"nzType"],["menu","nzDropdownMenu"],["nz-menu",""],["nz-menu-item","",3,"nzSelected","click",4,"ngFor","ngForOf"],["nz-menu-item","",3,"nzSelected","click"]],template:function(e,t){if(1&e&&(i.Wb(0,"div",0),i.Sc(1,"\n "),i.Wb(2,"a",1,2),i.lc("nzVisibleChange",function(e){return t.isOpen=e}),i.Sc(4,"\n "),i.Wb(5,"span",3),i.Sc(6,"\n "),i.Rb(7,"i",4),i.Sc(8),i.Rb(9,"i",5),i.Sc(10,"\n "),i.Vb(),i.Sc(11,"\n "),i.Vb(),i.Sc(12,"\n\n "),i.Wb(13,"nz-dropdown-menu",null,6),i.Sc(15,"\n "),i.Wb(16,"ul",7),i.Sc(17,"\n "),i.Qc(18,p,4,3,"li",8),i.Sc(19,"\n "),i.Vb(),i.Sc(20,"\n "),i.Vb(),i.Sc(21,"\n"),i.Vb(),i.Sc(22,"\n")),2&e){const e=i.Ec(14);i.Cb(2),i.wc("nzDropdownMenu",e),i.Cb(5),i.wc("nzType",t.iconType),i.Cb(1),i.Uc("\n \xa0",t.displayTxt,"\xa0\n "),i.Cb(1),i.Ib("nd-navbar__dropdown-arrow_opened",t.isOpen),i.wc("nzType","nd:arrow-dark"),i.Cb(9),i.wc("ngForOf",t.languages)}},directives:[a.a,a.b,c.a,l.a,u.a,a.d,d.c,h.n,d.d],styles:[".nd-lang-switch__selected-value{display:flex;align-items:center}.nd-lang-switch__lang-icon svg{font-size:16px;border:1px solid #ced4da;border-radius:100%}.nd-lang-switch-dropdown>nz-option-container{padding:0}.nd-language-select-popover{width:230px}.nd-language-select-popover__section{margin-bottom:12px}.nd-language-select-popover__section:last-child{margin-bottom:0}"],encapsulation:2,changeDetection:0}),e})()},"aT9+":function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("fXoL");let r=(()=>{class e{constructor(e){this.template=e}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.N))},e.\u0275dir=i.Lb({type:e,selectors:[["","ndCountDownExpired",""]]}),e})()},aetl:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("/Tr7"),r=n("/h9T"),o=n("jIYg"),s=n("vq9N");function a(e,t){var n,a,c,l,u,d,h,p;Object(o.a)(1,arguments);var f=Object(s.a)(),g=Object(r.a)(null!==(n=null!==(a=null!==(c=null!==(l=null==t?void 0:t.weekStartsOn)&&void 0!==l?l:null==t||null===(u=t.locale)||void 0===u||null===(d=u.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==c?c:f.weekStartsOn)&&void 0!==a?a:null===(h=f.locale)||void 0===h||null===(p=h.options)||void 0===p?void 0:p.weekStartsOn)&&void 0!==n?n:0);if(!(g>=0&&g<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var b=Object(i.a)(e),m=b.getDay(),y=(m{class e{constructor(){this._currencyList=[],this.currencyChange=new i.n,this.popularCurrencies=[],this.availableCurrencies=[]}set currency(e){this._currency=e,this.selectedCurrency=r.a.get(e)}set currencyList(e){this._currencyList=e,this.initCurrencyResourceList()}ngOnInit(){this._currency||(this.currency="CNY"),this.popularCurrencies=u.map(e=>r.a.get(e)).filter(e=>!!e)}initCurrencyResourceList(){this.availableCurrencies=this._currencyList.map(e=>r.a.get(e)).filter(e=>!!e&&!e.isUnknown)}currencyPopoverVisibleChange(e){this.isOpen=e}currencySelected(e){var t;(null===(t=this.selectedCurrency)||void 0===t?void 0:t.code)!==(null==e?void 0:e.code)&&(this.currency=e.code,this.currencyChange.emit(new o.a(this,e))),this.isOpen=!1}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Kb({type:e,selectors:[["nd-currency-select"]],inputs:{currency:"currency",currencyList:"currencyList",lang:"lang",navType:"navType"},outputs:{currencyChange:"currencyChange"},decls:31,vars:2,consts:function(){let e,t,n;return e="Please choose your reference currency",t="Popular Currencies",n="All Currency",[[1,"nd-currency-select"],[1,"nd-currency-select__section"],[1,"nd-currency-select__title","nd-text-title"],e,[1,"nd-currency-select__section","nd-currency-holder"],[1,"nd-currency-holder__title"],t,["nz-row","","nzGutter","12",1,"nd-currency-holder__list","nd-currency-list"],["nz-col","",3,"nzSpan",4,"ngFor","ngForOf"],n,["nz-col","",3,"nzSpan"],[1,"nd-currency-list__item",3,"click"],[1,"nd-currency-list__currency-code"],[1,"nd-currency-list__currency-name","nd-text-ellipsis"]]},template:function(e,t){1&e&&(i.Sc(0," "),i.Wb(1,"div",0),i.Sc(2,"\n "),i.Wb(3,"div",1),i.Sc(4,"\n "),i.Wb(5,"h4",2),i.ac(6,3),i.Vb(),i.Sc(7,"\n "),i.Vb(),i.Sc(8,"\n "),i.Wb(9,"div",4),i.Sc(10,"\n "),i.Wb(11,"h4",5),i.ac(12,6),i.Vb(),i.Sc(13,"\n "),i.Wb(14,"div",7),i.Sc(15,"\n "),i.Qc(16,c,11,5,"div",8),i.Sc(17,"\n "),i.Vb(),i.Sc(18,"\n "),i.Vb(),i.Sc(19,"\n "),i.Wb(20,"div",4),i.Sc(21,"\n "),i.Wb(22,"h4",5),i.ac(23,9),i.Vb(),i.Sc(24,"\n "),i.Wb(25,"div",7),i.Sc(26,"\n "),i.Qc(27,l,11,5,"div",8),i.Sc(28,"\n "),i.Vb(),i.Sc(29,"\n "),i.Vb(),i.Sc(30,"\n "),i.Vb()),2&e&&(i.Cb(16),i.wc("ngForOf",t.popularCurrencies),i.Cb(11),i.wc("ngForOf",t.availableCurrencies))},directives:[s.c,a.n,s.a],styles:[".nd-currency-select__section[_ngcontent-%COMP%]:last-child{margin-bottom:0}.nd-currency-holder__title[_ngcontent-%COMP%]{margin:0;padding:0 0 8px}.nd-currency-list__item[_ngcontent-%COMP%]{cursor:pointer;padding:4px 8px;white-space:nowrap;border-radius:4px;border:1px solid #ced4da;margin-bottom:14px}.nd-currency-list__item[_ngcontent-%COMP%]:hover, .nd-currency-list__item_active[_ngcontent-%COMP%]{background-color:#fbeff0;border-color:#fbeff0}.nd-currency-list__currency-code[_ngcontent-%COMP%]{font-weight:700;color:#1f2b4b}.nd-currency-list__currency-name[_ngcontent-%COMP%]{font-weight:400;color:#676f86}"],changeDetection:0}),e})()},arSf:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n("w1tV"),r=n("XNiG");const o=new class{constructor(){this.storageSubject=new r.a,this.changes=this.storageSubject.asObservable().pipe(Object(i.a)()),window&&window.addEventListener("storage",this.storageEventListener.bind(this))}storageEventListener(e){e.storageArea===localStorage&&this.storageSubject.next({key:e.key,value:e.newValue,external:!0})}get(e){return localStorage.getItem(e)}save(e,t){localStorage.setItem(e,t),this.storageSubject.next({key:e,value:t,external:!1})}clear(e){localStorage.removeItem(e),this.storageSubject.next({key:e,value:null,external:!1})}keys(){if(localStorage.length>0){const e=[];for(let t=0;t{class e extends o.a{constructor(e){super(e),this.destroyed=new i.n}ngOnDestroy(){super.ngOnDestroy(),this.instance.onClick.complete()}onClick(e){this.instance.onClick.next(e)}close(){this.destroy(!0)}get state(){return"enter"===this.instance.state?"topLeft"===this.placement||"bottomLeft"===this.placement?"enterLeft":"enterRight":this.instance.state}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.h))},e.\u0275cmp=i.Kb({type:e,selectors:[["nz-notification"]],inputs:{instance:"instance",placement:"placement",index:"index"},outputs:{destroyed:"destroyed"},exportAs:["nzNotification"],features:[i.zb],decls:8,vars:12,consts:[[1,"ant-notification-notice","ant-notification-notice-closable",3,"ngStyle","ngClass","click","mouseenter","mouseleave"],["class","ant-notification-notice-content",4,"ngIf"],[3,"ngIf","ngTemplateOutlet","ngTemplateOutletContext"],["tabindex","0",1,"ant-notification-notice-close",3,"click"],[1,"ant-notification-notice-close-x"],[4,"ngIf","ngIfElse"],["iconTpl",""],[1,"ant-notification-notice-content"],[1,"ant-notification-notice-content",3,"ngClass"],[3,"ngSwitch"],["nz-icon","","nzType","check-circle","class","ant-notification-notice-icon ant-notification-notice-icon-success",4,"ngSwitchCase"],["nz-icon","","nzType","info-circle","class","ant-notification-notice-icon ant-notification-notice-icon-info",4,"ngSwitchCase"],["nz-icon","","nzType","exclamation-circle","class","ant-notification-notice-icon ant-notification-notice-icon-warning",4,"ngSwitchCase"],["nz-icon","","nzType","close-circle","class","ant-notification-notice-icon ant-notification-notice-icon-error",4,"ngSwitchCase"],[1,"ant-notification-notice-message",3,"innerHTML"],[1,"ant-notification-notice-description",3,"innerHTML"],["nz-icon","","nzType","check-circle",1,"ant-notification-notice-icon","ant-notification-notice-icon-success"],["nz-icon","","nzType","info-circle",1,"ant-notification-notice-icon","ant-notification-notice-icon-info"],["nz-icon","","nzType","exclamation-circle",1,"ant-notification-notice-icon","ant-notification-notice-icon-warning"],["nz-icon","","nzType","close-circle",1,"ant-notification-notice-icon","ant-notification-notice-icon-error"],[4,"nzStringTemplateOutlet"],["nz-icon","",3,"nzType"],["nz-icon","","nzType","close",1,"ant-notification-close-icon"]],template:function(e,t){if(1&e&&(i.Wb(0,"div",0),i.lc("@notificationMotion.done",function(e){return t.animationStateChanged.next(e)})("click",function(e){return t.onClick(e)})("mouseenter",function(){return t.onEnter()})("mouseleave",function(){return t.onLeave()}),i.Qc(1,w,10,12,"div",1),i.Qc(2,S,0,0,"ng-template",2),i.Wb(3,"a",3),i.lc("click",function(){return t.close()}),i.Wb(4,"span",4),i.Qc(5,O,2,1,"ng-container",5),i.Qc(6,x,1,0,"ng-template",null,6,i.Rc),i.Vb(),i.Vb(),i.Vb()),2&e){const e=i.Ec(7);i.wc("ngStyle",(null==t.instance.options?null:t.instance.options.nzStyle)||null)("ngClass",(null==t.instance.options?null:t.instance.options.nzClass)||"")("@notificationMotion",t.state),i.Cb(1),i.wc("ngIf",!t.instance.template),i.Cb(1),i.wc("ngIf",t.instance.template)("ngTemplateOutlet",t.instance.template)("ngTemplateOutletContext",i.Cc(9,z,t,null==t.instance.options?null:t.instance.options.nzData)),i.Cb(3),i.wc("ngIf",null==t.instance.options?null:t.instance.options.nzCloseIcon)("ngIfElse",e)}},directives:[c.p,c.m,c.o,c.t,c.q,c.r,u.a,l.b],encapsulation:2,data:{animation:[r.d]}}),e})();const M="notification",I={nzTop:"24px",nzBottom:"24px",nzPlacement:"topRight",nzDuration:4500,nzMaxStack:7,nzPauseOnHover:!0,nzAnimate:!0,nzDirection:"ltr"};let A=(()=>{class e extends o.b{constructor(e,t){super(e,t),this.dir="ltr",this.instances=[],this.topLeftInstances=[],this.topRightInstances=[],this.bottomLeftInstances=[],this.bottomRightInstances=[];const n=this.nzConfigService.getConfigForComponent(M);this.dir=(null==n?void 0:n.nzDirection)||"ltr"}create(e){const t=this.onCreate(e),n=t.options.nzKey,i=this.instances.find(t=>t.options.nzKey===e.options.nzKey);return n&&i?this.replaceNotification(i,t):(this.instances.length>=this.config.nzMaxStack&&(this.instances=this.instances.slice(1)),this.instances=[...this.instances,t]),this.readyInstances(),t}onCreate(e){return e.options=this.mergeOptions(e.options),e.onClose=new h.a,e.onClick=new h.a,e}subscribeConfigChange(){this.nzConfigService.getConfigChangeEventForComponent(M).pipe(Object(p.a)(this.destroy$)).subscribe(()=>{this.updateConfig();const e=this.nzConfigService.getConfigForComponent(M);if(e){const{nzDirection:t}=e;this.dir=t||this.dir}})}updateConfig(){this.config=Object.assign(Object.assign(Object.assign({},I),this.config),this.nzConfigService.getConfigForComponent(M)),this.top=Object(d.r)(this.config.nzTop),this.bottom=Object(d.r)(this.config.nzBottom),this.cdr.markForCheck()}replaceNotification(e,t){e.title=t.title,e.content=t.content,e.template=t.template,e.type=t.type,e.options=t.options}readyInstances(){this.topLeftInstances=this.instances.filter(e=>"topLeft"===e.options.nzPlacement),this.topRightInstances=this.instances.filter(e=>"topRight"===e.options.nzPlacement||!e.options.nzPlacement),this.bottomLeftInstances=this.instances.filter(e=>"bottomLeft"===e.options.nzPlacement),this.bottomRightInstances=this.instances.filter(e=>"bottomRight"===e.options.nzPlacement),this.cdr.detectChanges()}mergeOptions(e){const{nzDuration:t,nzAnimate:n,nzPauseOnHover:i,nzPlacement:r}=this.config;return Object.assign({nzDuration:t,nzAnimate:n,nzPauseOnHover:i,nzPlacement:r},e)}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.h),i.Qb(g.b))},e.\u0275cmp=i.Kb({type:e,selectors:[["nz-notification-container"]],exportAs:["nzNotificationContainer"],features:[i.zb],decls:8,vars:28,consts:[[1,"ant-notification","ant-notification-topLeft"],[3,"instance","placement","destroyed",4,"ngFor","ngForOf"],[1,"ant-notification","ant-notification-topRight"],[1,"ant-notification","ant-notification-bottomLeft"],[1,"ant-notification","ant-notification-bottomRight"],[3,"instance","placement","destroyed"]],template:function(e,t){1&e&&(i.Wb(0,"div",0),i.Qc(1,T,1,2,"nz-notification",1),i.Vb(),i.Wb(2,"div",2),i.Qc(3,k,1,2,"nz-notification",1),i.Vb(),i.Wb(4,"div",3),i.Qc(5,P,1,2,"nz-notification",1),i.Vb(),i.Wb(6,"div",4),i.Qc(7,E,1,2,"nz-notification",1),i.Vb()),2&e&&(i.Nc("top",t.top)("left","0px"),i.Ib("ant-notification-rtl","rtl"===t.dir),i.Cb(1),i.wc("ngForOf",t.topLeftInstances),i.Cb(1),i.Nc("top",t.top)("right","0px"),i.Ib("ant-notification-rtl","rtl"===t.dir),i.Cb(1),i.wc("ngForOf",t.topRightInstances),i.Cb(1),i.Nc("bottom",t.bottom)("left","0px"),i.Ib("ant-notification-rtl","rtl"===t.dir),i.Cb(1),i.wc("ngForOf",t.bottomLeftInstances),i.Cb(1),i.Nc("bottom",t.bottom)("right","0px"),i.Ib("ant-notification-rtl","rtl"===t.dir),i.Cb(1),i.wc("ngForOf",t.bottomRightInstances))},directives:[c.n,D],encapsulation:2,changeDetection:0}),e})(),R=(()=>{class e{}return e.\u0275mod=i.Ob({type:e}),e.\u0275inj=i.Nb({factory:function(t){return new(t||e)}}),e})(),j=(()=>{class e{}return e.\u0275mod=i.Ob({type:e}),e.\u0275inj=i.Nb({factory:function(t){return new(t||e)},imports:[[s.a,c.c,a.f,u.b,l.a,R]]}),e})(),V=0,L=(()=>{class e extends o.c{constructor(e,t,n){super(e,t,n),this.componentPrefix="notification-"}success(e,t,n){return this.createInstance({type:"success",title:e,content:t},n)}error(e,t,n){return this.createInstance({type:"error",title:e,content:t},n)}info(e,t,n){return this.createInstance({type:"info",title:e,content:t},n)}warning(e,t,n){return this.createInstance({type:"warning",title:e,content:t},n)}blank(e,t,n){return this.createInstance({type:"blank",title:e,content:t},n)}create(e,t,n,i){return this.createInstance({type:e,title:t,content:n},i)}template(e,t){return this.createInstance({template:e},t)}generateMessageId(){return`${this.componentPrefix}-${V++}`}createInstance(e,t){return this.container=this.withContainer(A),this.container.create(Object.assign(Object.assign({},e),{createdAt:new Date,messageId:this.generateMessageId(),options:t}))}}return e.\u0275fac=function(t){return new(t||e)(i.hc(f.f),i.hc(a.d),i.hc(i.s))},e.\u0275prov=Object(i.Mb)({factory:function(){return new e(Object(i.hc)(f.f),Object(i.hc)(a.d),Object(i.hc)(i.o))},token:e,providedIn:R}),e})()},bOdf:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("5+tZ");function r(e,t){return Object(i.a)(e,t,1)}},bQjk:function(e,t,n){var i,r,o;e.exports=(o=n("Ib8C"),n("OLod"),i=o.lib.CipherParams,r=o.enc.Hex,o.format.Hex={stringify:function(e){return e.ciphertext.toString(r)},parse:function(e){var t=r.parse(e);return i.create({ciphertext:t})}},o.format.Hex)},c2HN:function(e,t,n){"use strict";function i(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}n.d(t,"a",function(){return i})},cH1L:function(e,t,n){"use strict";n.d(t,"a",function(){return c}),n.d(t,"b",function(){return a}),n.d(t,"c",function(){return s});var i=n("fXoL"),r=n("ofXK");const o=new i.r("cdk-dir-doc",{providedIn:"root",factory:function(){return Object(i.W)(r.e)}});let s=(()=>{class e{constructor(e){if(this.value="ltr",this.change=new i.n,e){const t=e.documentElement?e.documentElement.dir:null,n=(e.body?e.body.dir:null)||t;this.value="ltr"===n||"rtl"===n?n:"ltr"}}ngOnDestroy(){this.change.complete()}}return e.\u0275fac=function(t){return new(t||e)(i.hc(o,8))},e.\u0275prov=Object(i.Mb)({factory:function(){return new e(Object(i.hc)(o,8))},token:e,providedIn:"root"}),e})(),a=(()=>{class e{constructor(){this._dir="ltr",this._isInitialized=!1,this.change=new i.n}get dir(){return this._dir}set dir(e){const t=this._dir,n=e?e.toLowerCase():e;this._rawDir=e,this._dir="ltr"===n||"rtl"===n?n:"ltr",t!==this._dir&&this._isInitialized&&this.change.emit(this._dir)}get value(){return this.dir}ngAfterContentInit(){this._isInitialized=!0}ngOnDestroy(){this.change.complete()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Lb({type:e,selectors:[["","dir",""]],hostVars:1,hostBindings:function(e,t){2&e&&i.Db("dir",t._rawDir)},inputs:{dir:"dir"},outputs:{change:"dirChange"},exportAs:["dir"],features:[i.Bb([{provide:s,useExisting:e}])]}),e})(),c=(()=>{class e{}return e.\u0275mod=i.Ob({type:e}),e.\u0275inj=i.Nb({factory:function(t){return new(t||e)}}),e})()},cuYk:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("ofXK"),r=n("FwiY"),o=n("fXoL");const s="https://cdn.didatravel.com/icons-svg/";let a=(()=>{class e{constructor(e,t){this.nzIconService=t,e||(console.log(`[DidaUITKIconModule] setting icon assets source to: ${s}`),this.nzIconService.changeAssetsSource(s))}}return e.\u0275mod=o.Ob({type:e}),e.\u0275inj=o.Nb({factory:function(t){return new(t||e)(o.hc(e,12),o.hc(r.c))},imports:[[i.c,r.b],r.b]}),e})()},cv67:function(e,t,n){var i;e.exports=(i=n("Ib8C"),function(e){var t=i,n=t.lib,r=n.WordArray,o=n.Hasher,s=t.algo,a=[];!function(){for(var t=0;t<64;t++)a[t]=4294967296*e.abs(e.sin(t+1))|0}();var c=s.MD5=o.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var i=t+n,r=e[i];e[i]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8)}var o=this._hash.words,s=e[t+0],c=e[t+1],p=e[t+2],f=e[t+3],g=e[t+4],b=e[t+5],m=e[t+6],y=e[t+7],v=e[t+8],C=e[t+9],w=e[t+10],S=e[t+11],_=e[t+12],O=e[t+13],x=e[t+14],z=e[t+15],T=o[0],k=o[1],P=o[2],E=o[3];T=l(T,k,P,E,s,7,a[0]),E=l(E,T,k,P,c,12,a[1]),P=l(P,E,T,k,p,17,a[2]),k=l(k,P,E,T,f,22,a[3]),T=l(T,k,P,E,g,7,a[4]),E=l(E,T,k,P,b,12,a[5]),P=l(P,E,T,k,m,17,a[6]),k=l(k,P,E,T,y,22,a[7]),T=l(T,k,P,E,v,7,a[8]),E=l(E,T,k,P,C,12,a[9]),P=l(P,E,T,k,w,17,a[10]),k=l(k,P,E,T,S,22,a[11]),T=l(T,k,P,E,_,7,a[12]),E=l(E,T,k,P,O,12,a[13]),P=l(P,E,T,k,x,17,a[14]),T=u(T,k=l(k,P,E,T,z,22,a[15]),P,E,c,5,a[16]),E=u(E,T,k,P,m,9,a[17]),P=u(P,E,T,k,S,14,a[18]),k=u(k,P,E,T,s,20,a[19]),T=u(T,k,P,E,b,5,a[20]),E=u(E,T,k,P,w,9,a[21]),P=u(P,E,T,k,z,14,a[22]),k=u(k,P,E,T,g,20,a[23]),T=u(T,k,P,E,C,5,a[24]),E=u(E,T,k,P,x,9,a[25]),P=u(P,E,T,k,f,14,a[26]),k=u(k,P,E,T,v,20,a[27]),T=u(T,k,P,E,O,5,a[28]),E=u(E,T,k,P,p,9,a[29]),P=u(P,E,T,k,y,14,a[30]),T=d(T,k=u(k,P,E,T,_,20,a[31]),P,E,b,4,a[32]),E=d(E,T,k,P,v,11,a[33]),P=d(P,E,T,k,S,16,a[34]),k=d(k,P,E,T,x,23,a[35]),T=d(T,k,P,E,c,4,a[36]),E=d(E,T,k,P,g,11,a[37]),P=d(P,E,T,k,y,16,a[38]),k=d(k,P,E,T,w,23,a[39]),T=d(T,k,P,E,O,4,a[40]),E=d(E,T,k,P,s,11,a[41]),P=d(P,E,T,k,f,16,a[42]),k=d(k,P,E,T,m,23,a[43]),T=d(T,k,P,E,C,4,a[44]),E=d(E,T,k,P,_,11,a[45]),P=d(P,E,T,k,z,16,a[46]),T=h(T,k=d(k,P,E,T,p,23,a[47]),P,E,s,6,a[48]),E=h(E,T,k,P,y,10,a[49]),P=h(P,E,T,k,x,15,a[50]),k=h(k,P,E,T,b,21,a[51]),T=h(T,k,P,E,_,6,a[52]),E=h(E,T,k,P,f,10,a[53]),P=h(P,E,T,k,w,15,a[54]),k=h(k,P,E,T,c,21,a[55]),T=h(T,k,P,E,v,6,a[56]),E=h(E,T,k,P,z,10,a[57]),P=h(P,E,T,k,m,15,a[58]),k=h(k,P,E,T,O,21,a[59]),T=h(T,k,P,E,g,6,a[60]),E=h(E,T,k,P,S,10,a[61]),P=h(P,E,T,k,p,15,a[62]),k=h(k,P,E,T,C,21,a[63]),o[0]=o[0]+T|0,o[1]=o[1]+k|0,o[2]=o[2]+P|0,o[3]=o[3]+E|0},_doFinalize:function(){var t=this._data,n=t.words,i=8*this._nDataBytes,r=8*t.sigBytes;n[r>>>5]|=128<<24-r%32;var o=e.floor(i/4294967296),s=i;n[15+(r+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),n[14+(r+64>>>9<<4)]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),t.sigBytes=4*(n.length+1),this._process();for(var a=this._hash,c=a.words,l=0;l<4;l++){var u=c[l];c[l]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}return a},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});function l(e,t,n,i,r,o,s){var a=e+(t&n|~t&i)+r+s;return(a<>>32-o)+t}function u(e,t,n,i,r,o,s){var a=e+(t&i|n&~i)+r+s;return(a<>>32-o)+t}function d(e,t,n,i,r,o,s){var a=e+(t^n^i)+r+s;return(a<>>32-o)+t}function h(e,t,n,i,r,o,s){var a=e+(n^(t|~i))+r+s;return(a<>>32-o)+t}t.MD5=o._createHelper(c),t.HmacMD5=o._createHmacHelper(c)}(Math),i.MD5)},dAoj:function(e,t,n){"use strict";n.d(t,"a",function(){return u});var i=n("fXoL"),r=n("pLZG"),o=n("tb4M"),s=n("2Vo4"),a=n("dgj+"),c=n("SOqu");let l=0,u=(()=>{class e{constructor(e,t,n,i,r){this.templateRef=e,this.viewContainer=t,this.appService=n,this.appEventHub=i,this.localeId=r,this.visible=!1,this.ignoreEmpty=!1,this.setSubject=new s.a(!0),this.instNumber=l+=1}set ndAccessControl(e){this._populatePermissionCtrl(e),this.setSubject.next({})}set ndAccessControlExpCtrl(e){this._populateExperimentCtrl(e),this.setSubject.next({})}ngOnInit(){this.setSub=this.setSubject.subscribe(e=>{this._updateView()}),this.subscription=this.appEventHub.events.pipe(Object(r.a)(e=>e instanceof o.d||e instanceof o.g)).subscribe(e=>{this.setSubject.next(e)})}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe(),this.setSub&&this.setSub.unsubscribe()}_populatePermissionCtrl(e){this.needGrantAll=!1,e?(this.needCheckPermissions=!0,e instanceof Array?this.permissions=e:"string"==typeof e?this.permissions=[e]:(this.needGrantAll=e.grantAll,this.permissions=e.permissions)):this.permissions=[]}_populateExperimentCtrl(e){e&&(this.needCheckExperiments=!0,e instanceof Array?(this.includes=e,this.excludes=null):"object"==typeof e?(this.includes=e.includes,this.excludes=e.excludes,this.ignoreEmpty=!!e.ignoreEmpty):isNaN(e)?(this.includes=null,this.excludes=null):(this.includes=[e],this.excludes=null))}_updateView(){const e=this.visible,t=this._checkLanguage()&&this._checkExperiments()&&this._checkPermissions();t!==e&&(this.visible=t,this.visible?this.visible&&this.viewContainer.createEmbeddedView(this.templateRef):this.viewContainer.clear())}_checkPermissions(){return!this.needCheckPermissions||(this.needGrantAll?a.b.isAllGranted(this.permissions,this.appService.storage.iamInfo):a.b.isGrantedAny(this.permissions,this.appService.storage.iamInfo))}_checkExperiments(){return!this.needCheckExperiments||!(!this.ignoreEmpty||null!=this.includes&&0!==this.includes.length||null!=this.excludes&&0!==this.excludes.length)||c.b.isAllowControl({includes:this.includes,excludes:this.excludes},this.appService.storage)}_checkLanguage(){if(this.ndAccessControlLang){if(!(this.ndAccessControlLang instanceof Array))return this.ndAccessControlLang===this.localeId;if(this.ndAccessControlLang.indexOf(this.localeId)<0)return!1}return!0}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.N),i.Qb(i.R),i.Qb(o.j),i.Qb(o.f),i.Qb(i.v))},e.\u0275dir=i.Lb({type:e,selectors:[["","ndAccessControl",""]],inputs:{ndAccessControl:"ndAccessControl",ndAccessControlExpCtrl:"ndAccessControlExpCtrl",ndAccessControlLang:"ndAccessControlLang"}}),e})()},dEAy:function(e,t,n){"use strict";n.d(t,"a",function(){return Te}),n.d(t,"b",function(){return Oe}),n.d(t,"c",function(){return xe}),n.d(t,"d",function(){return Me}),n.d(t,"e",function(){return Se}),n.d(t,"f",function(){return _e}),n.d(t,"g",function(){return ze});var i=n("cH1L"),r=n("rDax"),o=n("+rOU"),s=n("fXoL"),a=n("79xS"),c=n("/KA4"),l=n("XNiG"),u=n("NXyV"),d=n("1G5W"),h=n("pLZG"),p=n("IzEk"),f=n("JX91"),g=n("ofXK"),b=n("R1ws"),m=n("Rm4T"),y=n("R0Ic"),v=n("mrSG"),C=n("FtGj"),w=n("OzZK"),S=n("YF2q"),_=n("pdGh"),O=n("FwiY");n("jhN1");let x=(()=>{class e{transform(e,t="px"){let n="px";return["cm","mm","Q","in","pc","pt","px","em","ex","ch","rem","1h","vw","vh","vmin","vmax","%"].some(e=>e===t)&&(n=t),"number"==typeof e?`${e}${n}`:`${e}`}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=s.Pb({name:"nzToCssUnit",type:e,pure:!0}),e})(),z=(()=>{class e{}return e.\u0275mod=s.Ob({type:e}),e.\u0275inj=s.Nb({factory:function(t){return new(t||e)},imports:[[g.c]]}),e})();var T=n("u47x"),k=n("2Suw"),P=n("C2AL"),E=n("RwU8");const D=["modalElement"];function M(e,t){if(1&e){const e=s.Xb();s.Wb(0,"button",16),s.lc("click",function(){return s.Hc(e),s.oc().onCloseClick()}),s.Vb()}}function I(e,t){if(1&e&&(s.Ub(0),s.Rb(1,"span",17),s.Tb()),2&e){const e=s.oc();s.Cb(1),s.wc("innerHTML",e.config.nzTitle,s.Ic)}}function A(e,t){}function R(e,t){if(1&e&&s.Rb(0,"div",17),2&e){const e=s.oc();s.wc("innerHTML",e.config.nzContent,s.Ic)}}function j(e,t){if(1&e){const e=s.Xb();s.Wb(0,"button",18),s.lc("click",function(){return s.Hc(e),s.oc().onCancel()}),s.Sc(1),s.Vb()}if(2&e){const e=s.oc();s.wc("nzLoading",!!e.config.nzCancelLoading)("disabled",e.config.nzCancelDisabled),s.Db("cdkFocusInitial","cancel"===e.config.nzAutofocus||null),s.Cb(1),s.Uc(" ",e.config.nzCancelText||e.locale.cancelText," ")}}function V(e,t){if(1&e){const e=s.Xb();s.Wb(0,"button",19),s.lc("click",function(){return s.Hc(e),s.oc().onOk()}),s.Sc(1),s.Vb()}if(2&e){const e=s.oc();s.wc("nzType",e.config.nzOkType)("nzLoading",!!e.config.nzOkLoading)("disabled",e.config.nzOkDisabled)("nzDanger",e.config.nzOkDanger),s.Db("cdkFocusInitial","ok"===e.config.nzAutofocus||null),s.Cb(1),s.Uc(" ",e.config.nzOkText||e.locale.okText," ")}}function L(e,t){if(1&e){const e=s.Xb();s.Wb(0,"button",9),s.lc("click",function(){return s.Hc(e),s.oc().onCloseClick()}),s.Vb()}}function N(e,t){1&e&&s.Rb(0,"div",10)}function F(e,t){}function B(e,t){if(1&e&&s.Rb(0,"div",11),2&e){const e=s.oc();s.wc("innerHTML",e.config.nzContent,s.Ic)}}function W(e,t){if(1&e){const e=s.Xb();s.Wb(0,"div",12),s.lc("cancelTriggered",function(){return s.Hc(e),s.oc().onCloseClick()})("okTriggered",function(){return s.Hc(e),s.oc().onOkClick()}),s.Vb()}if(2&e){const e=s.oc();s.wc("modalRef",e.modalRef)}}function H(e,t){1&e&&s.uc(0)}const U=["*"],$=["nz-modal-close",""];function Q(e,t){if(1&e&&(s.Ub(0),s.Rb(1,"i",2),s.Tb()),2&e){const e=t.$implicit;s.Cb(1),s.wc("nzType",e)}}const G=["nz-modal-footer",""];function Y(e,t){if(1&e&&s.Rb(0,"div",5),2&e){const e=s.oc(3);s.wc("innerHTML",e.config.nzFooter,s.Ic)}}function K(e,t){if(1&e){const e=s.Xb();s.Wb(0,"button",7),s.lc("click",function(){s.Hc(e);const n=t.$implicit;return s.oc(4).onButtonClick(n)}),s.Sc(1),s.Vb()}if(2&e){const e=t.$implicit,n=s.oc(4);s.wc("hidden",!n.getButtonCallableProp(e,"show"))("nzLoading",n.getButtonCallableProp(e,"loading"))("disabled",n.getButtonCallableProp(e,"disabled"))("nzType",e.type)("nzDanger",e.danger)("nzShape",e.shape)("nzSize",e.size)("nzGhost",e.ghost),s.Cb(1),s.Uc(" ",e.label," ")}}function X(e,t){if(1&e&&(s.Ub(0),s.Qc(1,K,2,9,"button",6),s.Tb()),2&e){const e=s.oc(3);s.Cb(1),s.wc("ngForOf",e.buttons)}}function q(e,t){if(1&e&&(s.Ub(0),s.Qc(1,Y,1,1,"div",3),s.Qc(2,X,2,1,"ng-container",4),s.Tb()),2&e){const e=s.oc(2);s.Cb(1),s.wc("ngIf",!e.buttonsFooter),s.Cb(1),s.wc("ngIf",e.buttonsFooter)}}const J=function(e,t){return{$implicit:e,modalRef:t}};function Z(e,t){if(1&e&&(s.Ub(0),s.Qc(1,q,3,2,"ng-container",2),s.Tb()),2&e){const e=s.oc();s.Cb(1),s.wc("nzStringTemplateOutlet",e.config.nzFooter)("nzStringTemplateOutletContext",s.Cc(2,J,e.config.nzComponentParams,e.modalRef))}}function ee(e,t){if(1&e){const e=s.Xb();s.Wb(0,"button",10),s.lc("click",function(){return s.Hc(e),s.oc(2).onCancel()}),s.Sc(1),s.Vb()}if(2&e){const e=s.oc(2);s.wc("nzLoading",!!e.config.nzCancelLoading)("disabled",e.config.nzCancelDisabled),s.Db("cdkFocusInitial","cancel"===e.config.nzAutofocus||null),s.Cb(1),s.Uc(" ",e.config.nzCancelText||e.locale.cancelText," ")}}function te(e,t){if(1&e){const e=s.Xb();s.Wb(0,"button",11),s.lc("click",function(){return s.Hc(e),s.oc(2).onOk()}),s.Sc(1),s.Vb()}if(2&e){const e=s.oc(2);s.wc("nzType",e.config.nzOkType)("nzDanger",e.config.nzOkDanger)("nzLoading",!!e.config.nzOkLoading)("disabled",e.config.nzOkDisabled),s.Db("cdkFocusInitial","ok"===e.config.nzAutofocus||null),s.Cb(1),s.Uc(" ",e.config.nzOkText||e.locale.okText," ")}}function ne(e,t){if(1&e&&(s.Qc(0,ee,2,4,"button",8),s.Qc(1,te,2,6,"button",9)),2&e){const e=s.oc();s.wc("ngIf",null!==e.config.nzCancelText),s.Cb(1),s.wc("ngIf",null!==e.config.nzOkText)}}const ie=["nz-modal-title",""];function re(e,t){if(1&e&&(s.Ub(0),s.Rb(1,"div",2),s.Tb()),2&e){const e=s.oc();s.Cb(1),s.wc("innerHTML",e.config.nzTitle,s.Ic)}}const oe=()=>{};class se{constructor(){this.nzCentered=!1,this.nzClosable=!0,this.nzOkLoading=!1,this.nzOkDisabled=!1,this.nzCancelDisabled=!1,this.nzCancelLoading=!1,this.nzNoAnimation=!1,this.nzAutofocus="auto",this.nzKeyboard=!0,this.nzZIndex=1e3,this.nzWidth=520,this.nzCloseIcon="close",this.nzOkType="primary",this.nzOkDanger=!1,this.nzModalType="default",this.nzOnCancel=oe,this.nzOnOk=oe,this.nzIconType="question-circle"}}const ae="ant-zoom-enter",ce="ant-zoom-enter-active",le="ant-zoom-leave",ue="ant-zoom-leave-active",de="ant-fade-enter",he="ant-fade-enter-active",pe="ant-modal-mask",fe="modal",ge={modalContainer:Object(y.l)("modalContainer",[Object(y.i)("void, exit",Object(y.j)({})),Object(y.i)("enter",Object(y.j)({})),Object(y.k)("* => enter",Object(y.e)(".24s",Object(y.j)({}))),Object(y.k)("* => void, * => exit",Object(y.e)(".2s",Object(y.j)({})))])};function be(e,t,n){return void 0===e?void 0===t?n:t:e}function me(e){const{nzCentered:t,nzMask:n,nzMaskClosable:i,nzClosable:r,nzOkLoading:o,nzOkDisabled:s,nzCancelDisabled:a,nzCancelLoading:c,nzKeyboard:l,nzNoAnimation:u,nzContent:d,nzComponentParams:h,nzFooter:p,nzZIndex:f,nzWidth:g,nzWrapClassName:b,nzClassName:m,nzStyle:y,nzTitle:v,nzCloseIcon:C,nzMaskStyle:w,nzBodyStyle:S,nzOkText:_,nzCancelText:O,nzOkType:x,nzOkDanger:z,nzIconType:T,nzModalType:k,nzOnOk:P,nzOnCancel:E,nzAfterOpen:D,nzAfterClose:M,nzCloseOnNavigation:I,nzAutofocus:A}=e;return{nzCentered:t,nzMask:n,nzMaskClosable:i,nzClosable:r,nzOkLoading:o,nzOkDisabled:s,nzCancelDisabled:a,nzCancelLoading:c,nzKeyboard:l,nzNoAnimation:u,nzContent:d,nzComponentParams:h,nzFooter:p,nzZIndex:f,nzWidth:g,nzWrapClassName:b,nzClassName:m,nzStyle:y,nzTitle:v,nzCloseIcon:C,nzMaskStyle:w,nzBodyStyle:S,nzOkText:_,nzCancelText:O,nzOkType:x,nzOkDanger:z,nzIconType:T,nzModalType:k,nzOnOk:P,nzOnCancel:E,nzAfterOpen:D,nzAfterClose:M,nzCloseOnNavigation:I,nzAutofocus:A}}function ye(){throw Error("Attempting to attach modal content after content is already attached")}let ve=(()=>{class e extends o.a{constructor(e,t,n,i,r,o,a,c,u){super(),this.elementRef=e,this.focusTrapFactory=t,this.cdr=n,this.render=i,this.overlayRef=r,this.nzConfigService=o,this.config=a,this.animationType=u,this.animationStateChanged=new s.n,this.containerClick=new s.n,this.cancelTriggered=new s.n,this.okTriggered=new s.n,this.state="enter",this.isStringContent=!1,this.dir="ltr",this.elementFocusedBeforeModalWasOpened=null,this.mouseDown=!1,this.oldMaskStyle=null,this.destroy$=new l.a,this.document=c,this.dir=r.getDirection(),this.isStringContent="string"==typeof a.nzContent,this.nzConfigService.getConfigChangeEventForComponent(fe).pipe(Object(d.a)(this.destroy$)).subscribe(()=>{this.updateMaskClassname()})}get showMask(){const e=this.nzConfigService.getConfigForComponent(fe)||{};return!!be(this.config.nzMask,e.nzMask,!0)}get maskClosable(){const e=this.nzConfigService.getConfigForComponent(fe)||{};return!!be(this.config.nzMaskClosable,e.nzMaskClosable,!0)}onContainerClick(e){e.target===e.currentTarget&&!this.mouseDown&&this.showMask&&this.maskClosable&&this.containerClick.emit()}onMousedown(){this.mouseDown=!0}onMouseup(){this.mouseDown&&setTimeout(()=>{this.mouseDown=!1})}onCloseClick(){this.cancelTriggered.emit()}onOkClick(){this.okTriggered.emit()}attachComponentPortal(e){return this.portalOutlet.hasAttached()&&ye(),this.savePreviouslyFocusedElement(),this.setZIndexForBackdrop(),this.portalOutlet.attachComponentPortal(e)}attachTemplatePortal(e){return this.portalOutlet.hasAttached()&&ye(),this.savePreviouslyFocusedElement(),this.setZIndexForBackdrop(),this.portalOutlet.attachTemplatePortal(e)}attachStringContent(){this.savePreviouslyFocusedElement(),this.setZIndexForBackdrop()}getNativeElement(){return this.elementRef.nativeElement}animationDisabled(){return this.config.nzNoAnimation||"NoopAnimations"===this.animationType}setModalTransformOrigin(){const e=this.modalElementRef.nativeElement;if(this.elementFocusedBeforeModalWasOpened){const t=this.elementFocusedBeforeModalWasOpened.getBoundingClientRect(),n=Object(c.c)(this.elementFocusedBeforeModalWasOpened);this.render.setStyle(e,"transform-origin",`${n.left+t.width/2-e.offsetLeft}px ${n.top+t.height/2-e.offsetTop}px 0px`)}}savePreviouslyFocusedElement(){this.focusTrap||(this.focusTrap=this.focusTrapFactory.create(this.elementRef.nativeElement)),this.document&&(this.elementFocusedBeforeModalWasOpened=this.document.activeElement,this.elementRef.nativeElement.focus&&Promise.resolve().then(()=>this.elementRef.nativeElement.focus()))}trapFocus(){const e=this.elementRef.nativeElement;if(this.config.nzAutofocus)this.focusTrap.focusInitialElementWhenReady().then();else{const t=this.document.activeElement;t===e||e.contains(t)||e.focus()}}restoreFocus(){const e=this.elementFocusedBeforeModalWasOpened;if(e&&"function"==typeof e.focus){const t=this.document.activeElement,n=this.elementRef.nativeElement;t&&t!==this.document.body&&t!==n&&!n.contains(t)||e.focus()}this.focusTrap&&this.focusTrap.destroy()}setEnterAnimationClass(){if(this.animationDisabled())return;this.setModalTransformOrigin();const e=this.modalElementRef.nativeElement,t=this.overlayRef.backdropElement;e.classList.add(ae),e.classList.add(ce),t&&(t.classList.add(de),t.classList.add(he))}setExitAnimationClass(){const e=this.modalElementRef.nativeElement;e.classList.add(le),e.classList.add(ue),this.setMaskExitAnimationClass()}setMaskExitAnimationClass(e=!1){const t=this.overlayRef.backdropElement;if(t){if(this.animationDisabled()||e)return void t.classList.remove(pe);t.classList.add("ant-fade-leave"),t.classList.add("ant-fade-leave-active")}}cleanAnimationClass(){if(this.animationDisabled())return;const e=this.overlayRef.backdropElement,t=this.modalElementRef.nativeElement;e&&(e.classList.remove(de),e.classList.remove(he)),t.classList.remove(ae),t.classList.remove(ce),t.classList.remove(le),t.classList.remove(ue)}setZIndexForBackdrop(){const e=this.overlayRef.backdropElement;e&&Object(c.h)(this.config.nzZIndex)&&this.render.setStyle(e,"z-index",this.config.nzZIndex)}bindBackdropStyle(){const e=this.overlayRef.backdropElement;if(e&&(this.oldMaskStyle&&(Object.keys(this.oldMaskStyle).forEach(t=>{this.render.removeStyle(e,t)}),this.oldMaskStyle=null),this.setZIndexForBackdrop(),"object"==typeof this.config.nzMaskStyle&&Object.keys(this.config.nzMaskStyle).length)){const t=Object.assign({},this.config.nzMaskStyle);Object.keys(t).forEach(n=>{this.render.setStyle(e,n,t[n])}),this.oldMaskStyle=t}}updateMaskClassname(){const e=this.overlayRef.backdropElement;e&&(this.showMask?e.classList.add(pe):e.classList.remove(pe))}onAnimationDone(e){"enter"===e.toState?this.trapFocus():"exit"===e.toState&&this.restoreFocus(),this.cleanAnimationClass(),this.animationStateChanged.emit(e)}onAnimationStart(e){"enter"===e.toState?(this.setEnterAnimationClass(),this.bindBackdropStyle()):"exit"===e.toState&&this.setExitAnimationClass(),this.animationStateChanged.emit(e)}startExitAnimation(){this.state="exit",this.cdr.markForCheck()}ngOnDestroy(){this.setMaskExitAnimationClass(!0),this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(s.Qb(s.l),s.Qb(T.c),s.Qb(s.h),s.Qb(s.G),s.Qb(r.g),s.Qb(k.b),s.Qb(se),s.Qb(void 0),s.Qb(String))},e.\u0275dir=s.Lb({type:e,features:[s.zb]}),e})(),Ce=(()=>{class e extends ve{constructor(e,t,n,i,r,o,a,c,l,u){super(t,n,i,r,o,a,c,l,u),this.i18n=e,this.config=c,this.cancelTriggered=new s.n,this.okTriggered=new s.n,this.i18n.localeChange.pipe(Object(d.a)(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Modal")})}onCancel(){this.cancelTriggered.emit()}onOk(){this.okTriggered.emit()}}return e.\u0275fac=function(t){return new(t||e)(s.Qb(m.d),s.Qb(s.l),s.Qb(T.c),s.Qb(s.h),s.Qb(s.G),s.Qb(r.g),s.Qb(k.b),s.Qb(se),s.Qb(g.e,8),s.Qb(b.a,8))},e.\u0275cmp=s.Kb({type:e,selectors:[["nz-modal-confirm-container"]],viewQuery:function(e,t){if(1&e&&(s.Xc(o.b,3),s.Xc(D,3)),2&e){let e;s.Dc(e=s.mc())&&(t.portalOutlet=e.first),s.Dc(e=s.mc())&&(t.modalElementRef=e.first)}},hostAttrs:["tabindex","-1","role","dialog"],hostVars:10,hostBindings:function(e,t){1&e&&(s.Oc("@modalContainer.start",function(e){return t.onAnimationStart(e)})("@modalContainer.done",function(e){return t.onAnimationDone(e)}),s.lc("click",function(e){return t.onContainerClick(e)})("mouseup",function(){return t.onMouseup()})),2&e&&(s.Pc("@.disabled",t.config.nzNoAnimation)("@modalContainer",t.state),s.Eb(t.config.nzWrapClassName?"ant-modal-wrap "+t.config.nzWrapClassName:"ant-modal-wrap"),s.Nc("z-index",t.config.nzZIndex),s.Ib("ant-modal-wrap-rtl","rtl"===t.dir)("ant-modal-centered",t.config.nzCentered))},outputs:{cancelTriggered:"cancelTriggered",okTriggered:"okTriggered"},exportAs:["nzModalConfirmContainer"],features:[s.zb],decls:17,vars:13,consts:[["role","document",1,"ant-modal",3,"ngClass","ngStyle","mousedown"],["modalElement",""],[1,"ant-modal-content"],["nz-modal-close","",3,"click",4,"ngIf"],[1,"ant-modal-body",3,"ngStyle"],[1,"ant-modal-confirm-body-wrapper"],[1,"ant-modal-confirm-body"],["nz-icon","",3,"nzType"],[1,"ant-modal-confirm-title"],[4,"nzStringTemplateOutlet"],[1,"ant-modal-confirm-content"],["cdkPortalOutlet",""],[3,"innerHTML",4,"ngIf"],[1,"ant-modal-confirm-btns"],["nz-button","",3,"nzLoading","disabled","click",4,"ngIf"],["nz-button","",3,"nzType","nzLoading","disabled","nzDanger","click",4,"ngIf"],["nz-modal-close","",3,"click"],[3,"innerHTML"],["nz-button","",3,"nzLoading","disabled","click"],["nz-button","",3,"nzType","nzLoading","disabled","nzDanger","click"]],template:function(e,t){1&e&&(s.Wb(0,"div",0,1),s.lc("mousedown",function(){return t.onMousedown()}),s.pc(2,"nzToCssUnit"),s.Wb(3,"div",2),s.Qc(4,M,1,0,"button",3),s.Wb(5,"div",4),s.Wb(6,"div",5),s.Wb(7,"div",6),s.Rb(8,"i",7),s.Wb(9,"span",8),s.Qc(10,I,2,1,"ng-container",9),s.Vb(),s.Wb(11,"div",10),s.Qc(12,A,0,0,"ng-template",11),s.Qc(13,R,1,1,"div",12),s.Vb(),s.Vb(),s.Wb(14,"div",13),s.Qc(15,j,2,4,"button",14),s.Qc(16,V,2,6,"button",15),s.Vb(),s.Vb(),s.Vb(),s.Vb(),s.Vb()),2&e&&(s.Nc("width",s.qc(2,11,null==t.config?null:t.config.nzWidth)),s.wc("ngClass",t.config.nzClassName)("ngStyle",t.config.nzStyle),s.Cb(4),s.wc("ngIf",t.config.nzClosable),s.Cb(1),s.wc("ngStyle",t.config.nzBodyStyle),s.Cb(3),s.wc("nzType",t.config.nzIconType),s.Cb(2),s.wc("nzStringTemplateOutlet",t.config.nzTitle),s.Cb(3),s.wc("ngIf",t.isStringContent),s.Cb(2),s.wc("ngIf",null!==t.config.nzCancelText),s.Cb(1),s.wc("ngIf",null!==t.config.nzOkText))},directives:function(){return[g.m,g.p,g.o,P.a,O.a,_.b,o.b,ke,w.a,E.a]},pipes:function(){return[x]},encapsulation:2,data:{animation:[ge.modalContainer]}}),e})(),we=(()=>{class e extends ve{constructor(e,t,n,i,r,o,s,a,c){super(e,t,n,i,r,o,s,a,c),this.config=s}}return e.\u0275fac=function(t){return new(t||e)(s.Qb(s.l),s.Qb(T.c),s.Qb(s.h),s.Qb(s.G),s.Qb(r.g),s.Qb(k.b),s.Qb(se),s.Qb(g.e,8),s.Qb(b.a,8))},e.\u0275cmp=s.Kb({type:e,selectors:[["nz-modal-container"]],viewQuery:function(e,t){if(1&e&&(s.Xc(o.b,3),s.Xc(D,3)),2&e){let e;s.Dc(e=s.mc())&&(t.portalOutlet=e.first),s.Dc(e=s.mc())&&(t.modalElementRef=e.first)}},hostAttrs:["tabindex","-1","role","dialog"],hostVars:10,hostBindings:function(e,t){1&e&&(s.Oc("@modalContainer.start",function(e){return t.onAnimationStart(e)})("@modalContainer.done",function(e){return t.onAnimationDone(e)}),s.lc("click",function(e){return t.onContainerClick(e)})("mouseup",function(){return t.onMouseup()})),2&e&&(s.Pc("@.disabled",t.config.nzNoAnimation)("@modalContainer",t.state),s.Eb(t.config.nzWrapClassName?"ant-modal-wrap "+t.config.nzWrapClassName:"ant-modal-wrap"),s.Nc("z-index",t.config.nzZIndex),s.Ib("ant-modal-wrap-rtl","rtl"===t.dir)("ant-modal-centered",t.config.nzCentered))},exportAs:["nzModalContainer"],features:[s.zb],decls:10,vars:11,consts:[["role","document",1,"ant-modal",3,"ngClass","ngStyle","mousedown"],["modalElement",""],[1,"ant-modal-content"],["nz-modal-close","",3,"click",4,"ngIf"],["nz-modal-title","",4,"ngIf"],[1,"ant-modal-body",3,"ngStyle"],["cdkPortalOutlet",""],[3,"innerHTML",4,"ngIf"],["nz-modal-footer","",3,"modalRef","cancelTriggered","okTriggered",4,"ngIf"],["nz-modal-close","",3,"click"],["nz-modal-title",""],[3,"innerHTML"],["nz-modal-footer","",3,"modalRef","cancelTriggered","okTriggered"]],template:function(e,t){1&e&&(s.Wb(0,"div",0,1),s.lc("mousedown",function(){return t.onMousedown()}),s.pc(2,"nzToCssUnit"),s.Wb(3,"div",2),s.Qc(4,L,1,0,"button",3),s.Qc(5,N,1,0,"div",4),s.Wb(6,"div",5),s.Qc(7,F,0,0,"ng-template",6),s.Qc(8,B,1,1,"div",7),s.Vb(),s.Qc(9,W,1,1,"div",8),s.Vb(),s.Vb()),2&e&&(s.Nc("width",s.qc(2,9,null==t.config?null:t.config.nzWidth)),s.wc("ngClass",t.config.nzClassName)("ngStyle",t.config.nzStyle),s.Cb(4),s.wc("ngIf",t.config.nzClosable),s.Cb(1),s.wc("ngIf",t.config.nzTitle),s.Cb(1),s.wc("ngStyle",t.config.nzBodyStyle),s.Cb(2),s.wc("ngIf",t.isStringContent),s.Cb(1),s.wc("ngIf",null!==t.config.nzFooter))},directives:function(){return[g.m,g.p,g.o,o.b,ke,De,Pe]},pipes:function(){return[x]},encapsulation:2,data:{animation:[ge.modalContainer]}}),e})();class Se{constructor(e,t,n){this.overlayRef=e,this.config=t,this.containerInstance=n,this.componentInstance=null,this.state=0,this.afterClose=new l.a,this.afterOpen=new l.a,n.animationStateChanged.pipe(Object(h.a)(e=>"done"===e.phaseName&&"enter"===e.toState),Object(p.a)(1)).subscribe(()=>{this.afterOpen.next(),this.afterOpen.complete(),t.nzAfterOpen instanceof s.n&&t.nzAfterOpen.emit()}),n.animationStateChanged.pipe(Object(h.a)(e=>"done"===e.phaseName&&"exit"===e.toState),Object(p.a)(1)).subscribe(()=>{clearTimeout(this.closeTimeout),this._finishDialogClose()}),n.containerClick.pipe(Object(p.a)(1)).subscribe(()=>{!this.config.nzCancelLoading&&!this.config.nzOkLoading&&this.trigger("cancel")}),e.keydownEvents().pipe(Object(h.a)(e=>this.config.nzKeyboard&&!this.config.nzCancelLoading&&!this.config.nzOkLoading&&e.keyCode===C.f&&!Object(C.p)(e))).subscribe(e=>{e.preventDefault(),this.trigger("cancel")}),n.cancelTriggered.subscribe(()=>this.trigger("cancel")),n.okTriggered.subscribe(()=>this.trigger("ok")),e.detachments().subscribe(()=>{this.afterClose.next(this.result),this.afterClose.complete(),t.nzAfterClose instanceof s.n&&t.nzAfterClose.emit(this.result),this.componentInstance=null,this.overlayRef.dispose()})}getContentComponent(){return this.componentInstance}getElement(){return this.containerInstance.getNativeElement()}destroy(e){this.close(e)}triggerOk(){return this.trigger("ok")}triggerCancel(){return this.trigger("cancel")}close(e){this.result=e,this.containerInstance.animationStateChanged.pipe(Object(h.a)(e=>"start"===e.phaseName),Object(p.a)(1)).subscribe(e=>{this.overlayRef.detachBackdrop(),this.closeTimeout=setTimeout(()=>{this._finishDialogClose()},e.totalTime+100)}),this.containerInstance.startExitAnimation(),this.state=1}updateConfig(e){Object.assign(this.config,e),this.containerInstance.bindBackdropStyle(),this.containerInstance.cdr.markForCheck()}getState(){return this.state}getConfig(){return this.config}getBackdropElement(){return this.overlayRef.backdropElement}trigger(e){return Object(v.a)(this,void 0,void 0,function*(){const t={ok:this.config.nzOnOk,cancel:this.config.nzOnCancel}[e],n={ok:"nzOkLoading",cancel:"nzCancelLoading"}[e];if(!this.config[n])if(t instanceof s.n)t.emit(this.getContentComponent());else if("function"==typeof t){const e=t(this.getContentComponent());if(Object(c.j)(e)){this.config[n]=!0;let t=!1;try{t=yield e}finally{this.config[n]=!1,this.closeWhitResult(t)}}else this.closeWhitResult(e)}})}closeWhitResult(e){!1!==e&&this.close(e)}_finishDialogClose(){this.state=2,this.overlayRef.dispose()}}let _e=(()=>{class e{constructor(e,t,n,i,r){this.overlay=e,this.injector=t,this.nzConfigService=n,this.parentModal=i,this.directionality=r,this.openModalsAtThisLevel=[],this.afterAllClosedAtThisLevel=new l.a,this.afterAllClose=Object(u.a)(()=>this.openModals.length?this._afterAllClosed:this._afterAllClosed.pipe(Object(f.a)(void 0)))}get openModals(){return this.parentModal?this.parentModal.openModals:this.openModalsAtThisLevel}get _afterAllClosed(){const e=this.parentModal;return e?e._afterAllClosed:this.afterAllClosedAtThisLevel}create(e){return this.open(e.nzContent,e)}closeAll(){this.closeModals(this.openModals)}confirm(e={},t="confirm"){return"nzFooter"in e&&Object(a.b)('The Confirm-Modal doesn\'t support "nzFooter", this property will be ignored.'),"nzWidth"in e||(e.nzWidth=416),"nzMaskClosable"in e||(e.nzMaskClosable=!1),e.nzModalType="confirm",e.nzClassName=`ant-modal-confirm ant-modal-confirm-${t} ${e.nzClassName||""}`,this.create(e)}info(e={}){return this.confirmFactory(e,"info")}success(e={}){return this.confirmFactory(e,"success")}error(e={}){return this.confirmFactory(e,"error")}warning(e={}){return this.confirmFactory(e,"warning")}open(e,t){const n=function(e,t){return Object.assign(Object.assign({},t),e)}(t||{},new se),i=this.createOverlay(n),r=this.attachModalContainer(i,n),o=this.attachModalContent(e,r,i,n);return r.modalRef=o,this.openModals.push(o),o.afterClose.subscribe(()=>this.removeOpenModal(o)),o}removeOpenModal(e){const t=this.openModals.indexOf(e);t>-1&&(this.openModals.splice(t,1),this.openModals.length||this._afterAllClosed.next())}closeModals(e){let t=e.length;for(;t--;)e[t].close(),this.openModals.length||this._afterAllClosed.next()}createOverlay(e){const t=this.nzConfigService.getConfigForComponent(fe)||{},n=new r.e({hasBackdrop:!0,scrollStrategy:this.overlay.scrollStrategies.block(),positionStrategy:this.overlay.position().global(),disposeOnNavigation:be(e.nzCloseOnNavigation,t.nzCloseOnNavigation,!0),direction:be(e.nzDirection,t.nzDirection,this.directionality.value)});return be(e.nzMask,t.nzMask,!0)&&(n.backdropClass=pe),this.overlay.create(n)}attachModalContainer(e,t){const n=s.s.create({parent:t&&t.nzViewContainerRef&&t.nzViewContainerRef.injector||this.injector,providers:[{provide:r.g,useValue:e},{provide:se,useValue:t}]}),i=new o.c("confirm"===t.nzModalType?Ce:we,t.nzViewContainerRef,n);return e.attach(i).instance}attachModalContent(e,t,n,i){const r=new Se(n,i,t);if(e instanceof s.N)t.attachTemplatePortal(new o.f(e,null,{$implicit:i.nzComponentParams,modalRef:r}));else if(Object(c.h)(e)&&"string"!=typeof e){const n=this.createInjector(r,i),s=t.attachComponentPortal(new o.c(e,i.nzViewContainerRef,n));Object.assign(s.instance,i.nzComponentParams),r.componentInstance=s.instance}else t.attachStringContent();return r}createInjector(e,t){return s.s.create({parent:t&&t.nzViewContainerRef&&t.nzViewContainerRef.injector||this.injector,providers:[{provide:Se,useValue:e}]})}confirmFactory(e={},t){return"nzIconType"in e||(e.nzIconType={info:"info-circle",success:"check-circle",error:"close-circle",warning:"exclamation-circle"}[t]),"nzCancelText"in e||(e.nzCancelText=null),this.confirm(e,t)}ngOnDestroy(){this.closeModals(this.openModalsAtThisLevel),this.afterAllClosedAtThisLevel.complete()}}return e.\u0275fac=function(t){return new(t||e)(s.hc(r.d),s.hc(s.s),s.hc(k.b),s.hc(e,12),s.hc(i.c,8))},e.\u0275prov=s.Mb({token:e,factory:e.\u0275fac}),e})(),Oe=(()=>{class e{constructor(e){this.templateRef=e}}return e.\u0275fac=function(t){return new(t||e)(s.Qb(s.N))},e.\u0275dir=s.Lb({type:e,selectors:[["","nzModalContent",""]],exportAs:["nzModalContent"]}),e})(),xe=(()=>{class e{constructor(e,t){this.nzModalRef=e,this.templateRef=t,this.nzModalRef&&this.nzModalRef.updateConfig({nzFooter:this.templateRef})}}return e.\u0275fac=function(t){return new(t||e)(s.Qb(Se,8),s.Qb(s.N))},e.\u0275dir=s.Lb({type:e,selectors:[["","nzModalFooter",""]],exportAs:["nzModalFooter"]}),e})(),ze=(()=>{class e{constructor(e,t){this.nzModalRef=e,this.templateRef=t,this.nzModalRef&&this.nzModalRef.updateConfig({nzTitle:this.templateRef})}}return e.\u0275fac=function(t){return new(t||e)(s.Qb(Se,8),s.Qb(s.N))},e.\u0275dir=s.Lb({type:e,selectors:[["","nzModalTitle",""]],exportAs:["nzModalTitle"]}),e})(),Te=(()=>{class e{constructor(e,t,n){this.cdr=e,this.modal=t,this.viewContainerRef=n,this.nzVisible=!1,this.nzClosable=!0,this.nzOkLoading=!1,this.nzOkDisabled=!1,this.nzCancelDisabled=!1,this.nzCancelLoading=!1,this.nzKeyboard=!0,this.nzNoAnimation=!1,this.nzCentered=!1,this.nzZIndex=1e3,this.nzWidth=520,this.nzCloseIcon="close",this.nzOkType="primary",this.nzOkDanger=!1,this.nzIconType="question-circle",this.nzModalType="default",this.nzAutofocus="auto",this.nzOnOk=new s.n,this.nzOnCancel=new s.n,this.nzAfterOpen=new s.n,this.nzAfterClose=new s.n,this.nzVisibleChange=new s.n,this.modalRef=null}set modalTitle(e){e&&this.setTitleWithTemplate(e)}set modalFooter(e){e&&this.setFooterWithTemplate(e)}get afterOpen(){return this.nzAfterOpen.asObservable()}get afterClose(){return this.nzAfterClose.asObservable()}open(){if(this.nzVisible||(this.nzVisible=!0,this.nzVisibleChange.emit(!0)),!this.modalRef){const e=this.getConfig();this.modalRef=this.modal.create(e)}}close(e){this.nzVisible&&(this.nzVisible=!1,this.nzVisibleChange.emit(!1)),this.modalRef&&(this.modalRef.close(e),this.modalRef=null)}destroy(e){this.close(e)}triggerOk(){var e;null===(e=this.modalRef)||void 0===e||e.triggerOk()}triggerCancel(){var e;null===(e=this.modalRef)||void 0===e||e.triggerCancel()}getContentComponent(){var e;return null===(e=this.modalRef)||void 0===e?void 0:e.getContentComponent()}getElement(){var e;return null===(e=this.modalRef)||void 0===e?void 0:e.getElement()}getModalRef(){return this.modalRef}setTitleWithTemplate(e){this.nzTitle=e,this.modalRef&&Promise.resolve().then(()=>{this.modalRef.updateConfig({nzTitle:this.nzTitle})})}setFooterWithTemplate(e){this.nzFooter=e,this.modalRef&&Promise.resolve().then(()=>{this.modalRef.updateConfig({nzFooter:this.nzFooter})}),this.cdr.markForCheck()}getConfig(){const e=me(this);return e.nzViewContainerRef=this.viewContainerRef,this.nzContent||this.contentFromContentChild?e.nzContent=this.nzContent||this.contentFromContentChild:(e.nzContent=this.contentTemplateRef,Object(a.c)("Usage `` is deprecated, which will be removed in 12.0.0. Please instead use `` to declare the content of the modal.")),e}ngOnChanges(e){const{nzVisible:t}=e,n=Object(v.d)(e,["nzVisible"]);Object.keys(n).length&&this.modalRef&&this.modalRef.updateConfig(me(this)),t&&(this.nzVisible?this.open():this.close())}ngOnDestroy(){var e;null===(e=this.modalRef)||void 0===e||e._finishDialogClose()}}return e.\u0275fac=function(t){return new(t||e)(s.Qb(s.h),s.Qb(_e),s.Qb(s.R))},e.\u0275cmp=s.Kb({type:e,selectors:[["nz-modal"]],contentQueries:function(e,t,n){if(1&e&&(s.Jb(n,ze,3,s.N),s.Jb(n,xe,3,s.N),s.Jb(n,Oe,3,s.N)),2&e){let e;s.Dc(e=s.mc())&&(t.modalTitle=e.first),s.Dc(e=s.mc())&&(t.modalFooter=e.first),s.Dc(e=s.mc())&&(t.contentFromContentChild=e.first)}},viewQuery:function(e,t){if(1&e&&s.Xc(s.N,3),2&e){let e;s.Dc(e=s.mc())&&(t.contentTemplateRef=e.first)}},inputs:{nzVisible:"nzVisible",nzClosable:"nzClosable",nzOkLoading:"nzOkLoading",nzOkDisabled:"nzOkDisabled",nzCancelDisabled:"nzCancelDisabled",nzCancelLoading:"nzCancelLoading",nzKeyboard:"nzKeyboard",nzNoAnimation:"nzNoAnimation",nzCentered:"nzCentered",nzZIndex:"nzZIndex",nzWidth:"nzWidth",nzCloseIcon:"nzCloseIcon",nzOkType:"nzOkType",nzOkDanger:"nzOkDanger",nzIconType:"nzIconType",nzModalType:"nzModalType",nzAutofocus:"nzAutofocus",nzOnOk:"nzOnOk",nzOnCancel:"nzOnCancel",nzTitle:"nzTitle",nzFooter:"nzFooter",nzMask:"nzMask",nzMaskClosable:"nzMaskClosable",nzCloseOnNavigation:"nzCloseOnNavigation",nzContent:"nzContent",nzComponentParams:"nzComponentParams",nzWrapClassName:"nzWrapClassName",nzClassName:"nzClassName",nzStyle:"nzStyle",nzMaskStyle:"nzMaskStyle",nzBodyStyle:"nzBodyStyle",nzOkText:"nzOkText",nzCancelText:"nzCancelText"},outputs:{nzOnOk:"nzOnOk",nzOnCancel:"nzOnCancel",nzAfterOpen:"nzAfterOpen",nzAfterClose:"nzAfterClose",nzVisibleChange:"nzVisibleChange"},exportAs:["nzModal"],features:[s.Ab],ngContentSelectors:U,decls:1,vars:0,template:function(e,t){1&e&&(s.vc(),s.Qc(0,H,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),Object(v.b)([Object(c.a)(),Object(v.c)("design:type",Boolean)],e.prototype,"nzMask",void 0),Object(v.b)([Object(c.a)(),Object(v.c)("design:type",Boolean)],e.prototype,"nzMaskClosable",void 0),Object(v.b)([Object(c.a)(),Object(v.c)("design:type",Boolean)],e.prototype,"nzCloseOnNavigation",void 0),Object(v.b)([Object(c.a)(),Object(v.c)("design:type",Boolean)],e.prototype,"nzVisible",void 0),Object(v.b)([Object(c.a)(),Object(v.c)("design:type",Boolean)],e.prototype,"nzClosable",void 0),Object(v.b)([Object(c.a)(),Object(v.c)("design:type",Boolean)],e.prototype,"nzOkLoading",void 0),Object(v.b)([Object(c.a)(),Object(v.c)("design:type",Boolean)],e.prototype,"nzOkDisabled",void 0),Object(v.b)([Object(c.a)(),Object(v.c)("design:type",Boolean)],e.prototype,"nzCancelDisabled",void 0),Object(v.b)([Object(c.a)(),Object(v.c)("design:type",Boolean)],e.prototype,"nzCancelLoading",void 0),Object(v.b)([Object(c.a)(),Object(v.c)("design:type",Boolean)],e.prototype,"nzKeyboard",void 0),Object(v.b)([Object(c.a)(),Object(v.c)("design:type",Object)],e.prototype,"nzNoAnimation",void 0),Object(v.b)([Object(c.a)(),Object(v.c)("design:type",Object)],e.prototype,"nzCentered",void 0),Object(v.b)([Object(c.a)(),Object(v.c)("design:type",Boolean)],e.prototype,"nzOkDanger",void 0),e})(),ke=(()=>{class e{constructor(e){this.config=e}}return e.\u0275fac=function(t){return new(t||e)(s.Qb(se))},e.\u0275cmp=s.Kb({type:e,selectors:[["button","nz-modal-close",""]],hostAttrs:["aria-label","Close",1,"ant-modal-close"],exportAs:["NzModalCloseBuiltin"],attrs:$,decls:2,vars:1,consts:[[1,"ant-modal-close-x"],[4,"nzStringTemplateOutlet"],["nz-icon","",1,"ant-modal-close-icon",3,"nzType"]],template:function(e,t){1&e&&(s.Wb(0,"span",0),s.Qc(1,Q,2,1,"ng-container",1),s.Vb()),2&e&&(s.Cb(1),s.wc("nzStringTemplateOutlet",t.config.nzCloseIcon))},directives:[_.b,P.a,O.a],encapsulation:2,changeDetection:0}),e})(),Pe=(()=>{class e{constructor(e,t){this.i18n=e,this.config=t,this.buttonsFooter=!1,this.buttons=[],this.cancelTriggered=new s.n,this.okTriggered=new s.n,this.destroy$=new l.a,Array.isArray(t.nzFooter)&&(this.buttonsFooter=!0,this.buttons=t.nzFooter.map(Ee)),this.i18n.localeChange.pipe(Object(d.a)(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Modal")})}onCancel(){this.cancelTriggered.emit()}onOk(){this.okTriggered.emit()}getButtonCallableProp(e,t){const n=e[t],i=this.modalRef.getContentComponent();return"function"==typeof n?n.apply(e,i&&[i]):n}onButtonClick(e){if(!this.getButtonCallableProp(e,"loading")){const t=this.getButtonCallableProp(e,"onClick");e.autoLoading&&Object(c.j)(t)&&(e.loading=!0,t.then(()=>e.loading=!1).catch(()=>e.loading=!1))}}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(s.Qb(m.d),s.Qb(se))},e.\u0275cmp=s.Kb({type:e,selectors:[["div","nz-modal-footer",""]],hostAttrs:[1,"ant-modal-footer"],inputs:{modalRef:"modalRef"},outputs:{cancelTriggered:"cancelTriggered",okTriggered:"okTriggered"},exportAs:["NzModalFooterBuiltin"],attrs:G,decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["defaultFooterButtons",""],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],[3,"innerHTML",4,"ngIf"],[4,"ngIf"],[3,"innerHTML"],["nz-button","",3,"hidden","nzLoading","disabled","nzType","nzDanger","nzShape","nzSize","nzGhost","click",4,"ngFor","ngForOf"],["nz-button","",3,"hidden","nzLoading","disabled","nzType","nzDanger","nzShape","nzSize","nzGhost","click"],["nz-button","",3,"nzLoading","disabled","click",4,"ngIf"],["nz-button","",3,"nzType","nzDanger","nzLoading","disabled","click",4,"ngIf"],["nz-button","",3,"nzLoading","disabled","click"],["nz-button","",3,"nzType","nzDanger","nzLoading","disabled","click"]],template:function(e,t){if(1&e&&(s.Qc(0,Z,2,5,"ng-container",0),s.Qc(1,ne,2,2,"ng-template",null,1,s.Rc)),2&e){const e=s.Ec(2);s.wc("ngIf",t.config.nzFooter)("ngIfElse",e)}},directives:[g.o,_.b,g.n,w.a,E.a,P.a],encapsulation:2}),e})();function Ee(e){return Object.assign({type:null,size:"default",autoLoading:!0,show:!0,loading:!1,disabled:!1},e)}let De=(()=>{class e{constructor(e){this.config=e}}return e.\u0275fac=function(t){return new(t||e)(s.Qb(se))},e.\u0275cmp=s.Kb({type:e,selectors:[["div","nz-modal-title",""]],hostAttrs:[1,"ant-modal-header"],exportAs:["NzModalTitleBuiltin"],attrs:ie,decls:2,vars:1,consts:[[1,"ant-modal-title"],[4,"nzStringTemplateOutlet"],[3,"innerHTML"]],template:function(e,t){1&e&&(s.Wb(0,"div",0),s.Qc(1,re,2,1,"ng-container",1),s.Vb()),2&e&&(s.Cb(1),s.wc("nzStringTemplateOutlet",t.config.nzTitle))},directives:[_.b],encapsulation:2,changeDetection:0}),e})(),Me=(()=>{class e{}return e.\u0275mod=s.Ob({type:e}),e.\u0275inj=s.Nb({factory:function(t){return new(t||e)},providers:[_e],imports:[[g.c,i.a,r.f,_.a,o.e,m.b,w.c,O.b,z,S.b,z]]}),e})()},dGGt:function(e,t,n){"use strict";n.d(t,"a",function(){return Pe});var i=n("xgIS"),r=n("HDdC"),o=n("fXoL"),s=n("lJxs"),a=n("pLZG"),c=n("/uUt"),l=n("Kj3r"),u=n("U8d7"),d=n("jq9o"),h=n("ofXK"),p=n("U18o");class f{}class g extends f{constructor(e,t,n,i,r,o){super(),this.id=e,this.name={"zh-CN":n,"en-US":i},this.type=t,this.continentID=r,this.order=void 0===o?0:o,this.displayOptions={"zh-CN":{fullName:n,shortName:n,displayName:n},"en-US":{fullName:i,shortName:i,displayName:i}}}}class b extends g{constructor(e,t,n,i,r,o){super(e,d.c.Airport,i,r,n.continentID,o),this.airportCode=t,this.region=n}}var m=n("MxU5");const y=[new g("6022967",m.a.Continent,"\u6b27\u6d32","Europe",null,3),new g("6023099",m.a.Continent,"\u4e9a\u6d32","Asia",null,1),new g("6023180",m.a.Continent,"\u5927\u6d0b\u6d32","Oceania",null,4),new g("500001",m.a.Continent,"\u7f8e\u6d32","America",null,2),new g("6023182",m.a.Continent,"\u4e2d\u4e1c/\u975e\u6d32","Mid East/Africa",null,5),new g("ESAsia",m.a.Continent,"\u4e1c\u5357\u4e9a","Southeast Asia",null,0)],v=["180026","178237","6046792","771","3863","6084436","930","6084457","104","178236","6046393","6035013","3168","602651","184245","6059","12124","180030","179900","179897","178308","179898","178312","178283","178233","1079"];let C=0;const w=[new g("178236",m.a.MultiCity,"\u66fc\u8c37","Bangkok","ESAsia",C++),new g("6046393",m.a.MultiCity,"\u666e\u5409","Phuket","ESAsia",C++),new g("6056197",m.a.City,"\u6e05\u8fc8","Chiang Mai","ESAsia",C++),new g("602231",m.a.City,"\u7532\u7c73","Krabi","ESAsia",C++),new g("6035013",m.a.City,"\u82cf\u6885\u5c9b","Koh Samui","ESAsia",C++),new g("9514",m.a.MultiCity,"\u82ad\u5824\u96c5","Pattaya","ESAsia",C++),new g("6049558",m.a.MultiCity,"\u534e\u6b23","Hua Hin","ESAsia",C++),new g("869",m.a.City,"\u79d1\u4f26\u5761","Colombo","ESAsia",C++),new g("180008",m.a.MultiCity,"\u5409\u9686\u5761","Kuala Lumpur","ESAsia",C++),new g("11188",m.a.Province,"\u6c99\u5df4","Sabah","ESAsia",C++),new g("2766",m.a.Province,"\u69df\u57ce","Penang","ESAsia",C++),new g("2062",m.a.HighLevelRegion,"\u5170\u5361\u5a01","Langkawi","ESAsia",C++),new g("3168",m.a.City,"\u65b0\u52a0\u5761","Singapore","ESAsia",C++),new g("178282",m.a.MultiCity,"\u9a6c\u5c3c\u62c9","Manila","ESAsia",C++),new g("800",m.a.City,"\u5bbf\u52a1","Cebu","ESAsia",C++),new g("601371",m.a.City,"\u957f\u6ee9\u5c9b","Boracay Island","ESAsia",C++),new g("178269",m.a.MultiCity,"\u96c5\u52a0\u8fbe","Jakarta","ESAsia",C++),new g("602651",m.a.Province,"\u5df4\u5398\u5c9b","Bali","ESAsia",C++),new g("178262",m.a.MultiCity,"\u80e1\u5fd7\u660e","Ho Chi Minh City","ESAsia",C++),new g("974",m.a.MultiCity,"\u5c98\u6e2f","Da Nang","ESAsia",C++),new g("1428",m.a.MultiCity,"\u6cb3\u5185","Hanoi","ESAsia",C++),new g("6054439",m.a.MultiCity,"\u82bd\u5e84","Nha Trang","ESAsia",C++),new g("2975",m.a.City,"\u66b9\u7c92","Siem Reap","ESAsia",C++),new g("6191801",m.a.MultiCity,"\u91d1\u8fb9","Phnom Penh","ESAsia",C++),new g("77",m.a.City,"\u9999\u6e2f","Hong Kong","6023099",C++),new g("6059",m.a.City,"\u4e5d\u9f99","Kowloon","6023099",C++),new g("184245",m.a.City,"\u9999\u6e2f\u5c9b","Hong Kong Island","6023099",C++),new g("12124",m.a.Neighborhood,"\u94dc\u9523\u6e7e","Causeway Bay","6023099",C++),new g("104",m.a.City,"\u6fb3\u95e8","Macau","6023099",C++),new g("6139889",m.a.City,"\u6c39\u4ed4","Taipa","6023099",C++),new g("180030",m.a.MultiCity,"\u53f0\u5317","Taipei","6023099",C++),new g("177485",m.a.City,"\u6843\u56ed","Taoyuan","6023099",C++),new g("6177563",m.a.MultiCity,"\u53f0\u4e2d","Taichung","6023099",C++),new g("6177060",m.a.MultiCity,"\u53f0\u5357","Tainan","6023099",C++),new g("6177725",m.a.MultiCity,"\u9ad8\u96c4","Kaohsiung","6023099",C++),new g("179900",m.a.MultiCity,"\u4e1c\u4eac","Tokyo","6023099",C++),new g("179897",m.a.MultiCity,"\u5927\u962a","Osaka","6023099",C++),new g("6131486",m.a.MultiCity,"\u4eac\u90fd","Kyoto","6023099",C++),new g("6053824",m.a.City,"\u51b2\u7ef3","Okinawa City","6023099",C++),new g("6054145",m.a.MultiCity,"\u672d\u5e4c","Sapporo","6023099",C++),new g("1265",m.a.MultiCity,"\u798f\u5188","Fukuoka","6023099",C++),new g("6127908",m.a.MultiCity,"\u540d\u53e4\u5c4b","Nagoya","6023099",C++),new g("178308",m.a.MultiCity,"\u9996\u5c14","Seoul","6023099",C++),new g("6049718",m.a.HighLevelRegion,"\u6d4e\u5dde\u5c9b","Jeju Island","6023099",C++),new g("602043",m.a.City,"\u91dc\u5c71","Busan","6023099",C++),new g("178237",m.a.MultiCity,"\u5317\u4eac","Beijing","6023099",C++),new g("180026",m.a.MultiCity,"\u4e0a\u6d77","Shanghai","6023099",C++),new g("771",m.a.MultiCity,"\u5e7f\u5dde","Guangzhou","6023099",C++),new g("6046792",m.a.MultiCity,"\u6df1\u5733","Shenzhen","6023099",C++),new g("3863",m.a.MultiCity,"\u53a6\u95e8","Xiamen","6023099",C++),new g("6084436",m.a.MultiCity,"\u5357\u4eac","Nanjing","6023099",C++),new g("930",m.a.MultiCity,"\u6210\u90fd","Chengdu","6023099",C++),new g("6084457",m.a.MultiCity,"\u676d\u5dde","Shenzhen","6023099",C++),new g("178280",m.a.MultiCity,"\u6d1b\u6749\u77f6","Los Angeles","500001",C++),new g("178305",m.a.MultiCity,"\u65e7\u91d1\u5c71","San Francisco","500001",C++),new g("178307",m.a.MultiCity,"\u897f\u96c5\u56fe","Seattle","500001",C++),new g("178304",m.a.Province,"\u5723\u8fed\u6208","San Diego","500001",C++),new g("178276",m.a.MultiCity,"\u62c9\u65af\u7ef4\u52a0\u65af","Las Vegas","500001",C++),new g("178265",m.a.MultiCity,"\u4f11\u65af\u6566","Houston","500001",C++),new g("178239",m.a.MultiCity,"\u6ce2\u58eb\u987f","Boston","500001",C++),new g("178293",m.a.MultiCity,"\u7ebd\u7ea6","New York","500001",C++),new g("178248",m.a.MultiCity,"\u829d\u52a0\u54e5","Chicago","500001",C++),new g("178318",m.a.MultiCity,"\u534e\u76db\u987f","Washington","500001",C++),new g("178294",m.a.MultiCity,"\u5965\u5170\u591a","Orlando","500001",C++),new g("178286",m.a.MultiCity,"\u8fc8\u963f\u5bc6","Miami","500001",C++),new g("213",m.a.Province,"\u590f\u5a01\u5937","Hawaii","500001",C++),new g("178315",m.a.MultiCity,"\u6e29\u54e5\u534e","Vancouver","500001",C++),new g("178314",m.a.MultiCity,"\u591a\u4f26\u591a","Toronto","500001",C++),new g("178288",m.a.MultiCity,"\u8499\u7279\u5229\u5c14","Montreal","500001",C++),new g("178285",m.a.MultiCity,"\u58a8\u897f\u54e5\u57ce","Mexico City","500001",C++),new g("179995",m.a.MultiCity,"\u574e\u6606","Cancun","500001",C++),new g("6023330",m.a.MultiCity,"\u5df4\u62ff\u9a6c","Panama City","500001",C++),new g("178306",m.a.MultiCity,"\u5723\u5730\u4e9a\u54e5","Santiago","500001",C++),new g("180023",m.a.MultiCity,"\u5723\u4fdd\u7f57","Sao Paulo","500001",C++),new g("178301",m.a.MultiCity,"\u91cc\u7ea6\u70ed\u5185\u5362","Rio de Janeiro","500001",C++),new g("2077",m.a.City,"\u5229\u9a6c","Lima","500001",C++),new g("178242",m.a.MultiCity,"\u5e03\u5b9c\u8bfa\u65af\u827e\u5229\u65af","Buenos Aires","500001",C++),new g("178279",m.a.MultiCity,"\u4f26\u6566","London","6022967",C++),new g("180010",m.a.Province,"\u66fc\u5f7b\u65af\u7279","Manchester","6022967",C++),new g("179894",m.a.MultiCity,"\u6cd5\u5170\u514b\u798f","Frankfurt","6022967",C++),new g("179896",m.a.MultiCity,"\u6155\u5c3c\u9ed1","Munich","6022967",C++),new g("179892",m.a.MultiCity,"\u67cf\u6797","Berlin","6022967",C++),new g("178229",m.a.MultiCity,"\u963f\u59c6\u65af\u7279\u4e39","Amsterdam","6022967",C++),new g("179898",m.a.MultiCity,"\u5df4\u9ece","Paris","6022967",C++),new g("180102",m.a.MultiCity,"\u5c3c\u65af","Nice","6022967",C++),new g("179899",m.a.MultiCity,"\u7f57\u9a6c","Rome","6022967",C++),new g("180012",m.a.MultiCity,"\u7c73\u5170","Milan","6022967",C++),new g("179981",m.a.MultiCity,"\u5a01\u5c3c\u65af","Venice","6022967",C++),new g("4191",m.a.City,"\u82cf\u9ece\u4e16","Z\xfcrich","6022967",C++),new g("178231",m.a.MultiCity,"\u96c5\u5178","Athens","6022967",C++),new g("177970",m.a.City,"\u5723\u6258\u91cc\u5c3c\u5c9b","Santorini","6022967",C++),new g("178281",m.a.MultiCity,"\u9a6c\u5fb7\u91cc","Madrid","6022967",C++),new g("179992",m.a.MultiCity,"\u5df4\u585e\u7f57\u90a3","Barcelona","6022967",C++),new g("178289",m.a.MultiCity,"\u83ab\u65af\u79d1","Moscow","6022967",C++),new g("180029",m.a.MultiCity,"\u5723\u5f7c\u5f97\u5821","St. Petersburg","6022967",C++),new g("178316",m.a.MultiCity,"\u7ef4\u4e5f\u7eb3","Vienna","6022967",C++),new g("178267",m.a.MultiCity,"\u4f0a\u65af\u5766\u5e03\u5c14","Istanbul","6022967",C++),new g("180014",m.a.MultiCity,"\u5e03\u62c9\u683c","Prague","6022967",C++),new g("178252",m.a.MultiCity,"\u54e5\u672c\u54c8\u6839","Copenhagen","6022967",C++),new g("178312",m.a.MultiCity,"\u6089\u5c3c","Sydney","6023180",C++),new g("178283",m.a.MultiCity,"\u58a8\u5c14\u672c","Melbourne","6023180",C++),new g("179993",m.a.MultiCity,"\u5e03\u91cc\u65af\u73ed","Brisbane","6023180",C++),new g("6051330",m.a.MultiCity,"\u963f\u5fb7\u83b1\u5fb7","Adelaide","6023180",C++),new g("553248635404168639",m.a.MultiCity,"\u51ef\u6069\u65af","Cairns","6023180",C++),new g("180064",m.a.MultiCity,"\u9ec4\u91d1\u6d77\u5cb8","Gold Coast","6023180",C++),new g("6049663",m.a.MultiCity,"\u582a\u57f9\u62c9","Canberra","6023180",C++),new g("180013",m.a.MultiCity,"\u73c0\u65af","Perth","6023180",C++),new g("6052485",m.a.MultiCity,"\u970d\u5df4\u7279","Hobart","6023180",C++),new g("178233",m.a.MultiCity,"\u5965\u514b\u5170","Auckland","6023180",C++),new g("179996",m.a.MultiCity,"\u57fa\u7763\u57ce","Christchurch","6023180",C++),new g("6127327",m.a.MultiCity,"\u60e0\u7075\u987f","Wellington","6023180",C++),new g("180018",m.a.MultiCity,"\u7687\u540e\u9547","Queenstown","6023180",C++),new g("6048125",m.a.MultiCity,"\u7f57\u6258\u9c81\u74e6","Rotorua","6023180",C++),new g("1079",m.a.Province,"\u8fea\u62dc","Dubai","6023182",C++),new g("6053838",m.a.Province,"\u963f\u5e03\u624e\u6bd4","Abu Dhabi","6023182",C++),new g("6160459",m.a.Province,"\u6c99\u8fe6","Sharjah","6023182",C++),new g("1048",m.a.MultiCity,"\u591a\u54c8","Doha","6023182",C++),new g("180031",m.a.MultiCity,"\u7279\u62c9\u7ef4\u592b","Tel Aviv","6023182",C++),new g("375",m.a.MultiCity,"\u5b89\u66fc","Amman","6023182",C++),new g("1809",m.a.City,"\u5361\u62c9\u5947","Karachi","6023182",C++),new g("178243",m.a.MultiCity,"\u5f00\u7f57","Cairo","6023182",C++),new g("359",m.a.City,"\u963f\u5c14\u53ca\u5c14","Algiers","6023182",C++),new g("178290",m.a.MultiCity,"\u5185\u7f57\u6bd5","Nairobi","6023182",C++),new g("6143873",m.a.MultiCity,"\u8499\u5df4\u8428","Mombasa","6023182",C++),new g("3699",m.a.City,"\u7ef4\u591a\u5229\u4e9a\u7011\u5e03","Victoria Falls","6023182",C++),new g("178272",m.a.City,"\u7ea6\u7ff0\u5185\u65af\u5821","Johannesburg","6023182",C++),new g("6046820",m.a.MultiCity,"\u5f00\u666e\u6566","Cape Town","6023182",C++),new g("500119",m.a.City,"\u6bdb\u91cc\u6c42\u65af","Mauritius","6023182",C++),new g("3127",m.a.City,"\u585e\u820c\u5c14","Seychelles","6023182",C++)],S=(w.reduce((e,t)=>(e[t.id]=t,e),{}),[new g("10805",m.a.City,"\u51b2\u7ef3\u5c9b","Okinawa","6023099",C++),new g("178236",m.a.City,"\u66fc\u8c37","Bangkok","6023099",C++),new g("178237",m.a.City,"\u5317\u4eac","Beijing","6023099",C++),new g("178308",m.a.City,"\u9996\u5c14","Seoul","6023099",C++),new g("179897",m.a.City,"\u5927\u962a","Osaka","6023099",C++),new g("179900",m.a.City,"\u4e1c\u4eac","Tokyo","6023099",C++),new g("180008",m.a.City,"\u5409\u9686\u5761","Kuala Lumpur","6023099",C++),new g("180026",m.a.City,"\u4e0a\u6d77","Shanghai","6023099",C++),new g("180030",m.a.City,"\u53f0\u5317","Taipei","6023099",C++),new g("184245",m.a.City,"\u9999\u6e2f","Hong Kong","6023099",C++),new g("3168",m.a.City,"\u65b0\u52a0\u5761","Singapore","6023099",C++),new g("6035013",m.a.City,"\u82cf\u6885\u5c9b","Koh Samui","6023099",C++),new g("6046393",m.a.City,"\u666e\u5409","Phuket","6023099",C++),new g("602651",m.a.City,"\u5df4\u5398\u5c9b","Bali","6023099",C++),new g("6048315",m.a.City,"\u897f\u5f52\u6d66","Seogwipo","6023099",C++),new g("6177725",m.a.City,"\u9ad8\u96c4","Kaohsiung","6023099",C++),new g("8724",m.a.City,"\u6fb3\u95e8","Macau","6023099",C++),new g("178252",m.a.City,"\u54e5\u672c\u54c8\u6839","Copenhagen","6022967",C++),new g("178279",m.a.City,"\u4f26\u6566","London","6022967",C++),new g("178281",m.a.City,"\u9a6c\u5fb7\u91cc","Madrid","6022967",C++),new g("178289",m.a.City,"\u83ab\u65af\u79d1","Moscow","6022967",C++),new g("179894",m.a.City,"\u6cd5\u5170\u514b\u798f","Frankfurt","6022967",C++),new g("179898",m.a.City,"\u5df4\u9ece","Paris","6022967",C++),new g("179899",m.a.City,"\u7f57\u9a6c","Rome","6022967",C++),new g("179992",m.a.City,"\u5df4\u585e\u7f57\u90a3","Barcelona","6022967",C++),new g("180012",m.a.City,"\u7c73\u5170","Milan","6022967",C++),new g("4726",m.a.City,"\u4e9a\u7720","Amiens","6022967",C++),new g("5203",m.a.City,"\u7279\u91cc\u5c14","Trier","6022967",C++),new g("6046241",m.a.City,"\u5229\u7269\u6d66","Liverpool","6022967",C++),new g("6069845",m.a.City,"\u7231\u4e01\u5821","Edinburgh","6022967",C++),new g("178243",m.a.City,"\u5f00\u7f57","Cairo","6023182",C++),new g("180031",m.a.City,"\u7279\u62c9\u7ef4\u592b","Tel Aviv","6023182",C++),new g("3127",m.a.City,"\u9a6c\u5e0c\u5c9b","Mahe Island","6023182",C++),new g("553248635974547388",m.a.City,"\u8fea\u62dc","Dubai","6023182",C++),new g("602195",m.a.City,"\u8d1d\u5c14\u9a6c\u5c14","Belle Mare","6023182",C++),new g("6046820",m.a.City,"\u5f00\u666e\u6566","Cape Town","6023182",C++),new g("6051471",m.a.City,"\u7ea6\u7ff0\u5c3c\u65af\u5821","Johannesburg","6023182",C++),new g("1428",m.a.City,"\u6cb3\u5185","Hanoi","ESAsia",C++),new g("178269",m.a.City,"\u96c5\u52a0\u8fbe","Jakarta","ESAsia",C++),new g("178282",m.a.City,"\u9a6c\u5c3c\u62c9","Manila","ESAsia",C++),new g("2975",m.a.City,"\u66b9\u7c92","Siem Reap","ESAsia",C++),new g("602",m.a.City,"\u4e9a\u5e87","Kota Kinabalu","ESAsia",C++),new g("6023813",m.a.City,"\u4e54\u6cbb\u5e02","George Town","ESAsia",C++),new g("6054439",m.a.City,"\u82bd\u5e84","Nha Trang","ESAsia",C++),new g("6056197",m.a.City,"\u6e05\u8fc8","Chiang Mai","ESAsia",C++),new g("6142141",m.a.City,"\u53e4\u664b","Kuching","ESAsia",C++),new g("6191801",m.a.City,"\u91d1\u8fb9","Phnom Penh","ESAsia",C++),new g("800",m.a.City,"\u5bbf\u52a1","Cebu","ESAsia",C++),new g("178233",m.a.City,"\u5965\u514b\u5170","Auckland","6023180",C++),new g("178283",m.a.City,"\u58a8\u5c14\u672c","Melbourne","6023180",C++),new g("178312",m.a.City,"\u6089\u5c3c","Sydney","6023180",C++),new g("179996",m.a.City,"\u57fa\u7763\u57ce","Christchurch","6023180",C++),new g("180013",m.a.City,"\u73c0\u65af","Perth","6023180",C++),new g("180018",m.a.City,"\u7687\u540e\u9547","Queenstown","6023180",C++),new g("180064",m.a.City,"\u9ec4\u91d1\u6d77\u5cb8","Gold Coast","6023180",C++),new g("2515",m.a.City,"\u6960\u8fea","Nadi","6023180",C++),new g("6049663",m.a.City,"\u582a\u57f9\u62c9","Canberra","6023180",C++),new g("6051330",m.a.City,"\u963f\u5fb7\u83b1\u5fb7","Adelaide","6023180",C++),new g("6268014",m.a.City,"\u90a6\u52a0\u5a04\u5c9b","Bungalow","6023180",C++),new g("1488",m.a.City,"\u6a80\u9999\u5c71","Honolulu","500001",C++),new g("178232",m.a.City,"\u4e9a\u7279\u5170\u5927","Atlanta","500001",C++),new g("178239",m.a.City,"\u6ce2\u58eb\u987f","Boston","500001",C++),new g("178248",m.a.City,"\u829d\u52a0\u54e5","Chicago","500001",C++),new g("178280",m.a.City,"\u6d1b\u6749\u77f6","Los Angeles","500001",C++),new g("178285",m.a.City,"\u58a8\u897f\u54e5\u57ce","Mexico City","500001",C++),new g("178293",m.a.City,"\u7ebd\u7ea6","New York","500001",C++),new g("178301",m.a.City,"\u91cc\u7ea6\u70ed\u5185\u5362","Rio de Janeiro","500001",C++),new g("178305",m.a.City,"\u65e7\u91d1\u5c71","San Francisco","500001",C++),new g("178307",m.a.City,"\u897f\u96c5\u56fe","Seattle","500001",C++),new g("178314",m.a.City,"\u591a\u4f26\u591a","Toronto","500001",C++),new g("178315",m.a.City,"\u6e29\u54e5\u534e","Vancouver","500001",C++),new g("178318",m.a.City,"\u534e\u76db\u987f","Washington","500001",C++),new g("602179",m.a.City,"\u5927\u897f\u6d0b\u57ce","Atlantic City","500001",C++)]),_=S.reduce((e,t)=>(e[t.id]=t,e),{});let O=0;const x=["178236","179900","179897","6046393","6035013","178279","602651","3168","179898","553248635974547388"],z=[new b("1860","HKT",_[6046393],"\u666e\u5409 (HKT)","Int. Airport Phuket",O++),new b("502","BKK",_[178236],"\u66fc\u8c37\u7d20\u4e07\u90a3\u666e (BKK)","Suvarnabhumi Int. Airport",O++),new b("1162","DMK",_[178236],"\u66fc\u8c37\u5eca\u66fc (DMK)","Don Muang Int. Airport",O++),new b("1888","HND",_[179900],"\u4e1c\u4eac\u7fbd\u7530\u56fd\u9645\u673a\u573a (HND)","Haneda Int. Airport",O++),new b("3444","NRT",_[179900],"\u4e1c\u4eac\u6210\u7530\u56fd\u9645\u673a\u573a (NRT)","Narita Int. Airport",O++),new b("2386","KIX",_[179897],"\u5927\u962a\u5173\u897f\u56fd\u9645\u673a\u573a (KIX)","Kansai Int. Airport",O++),new b("5106","USM",_[6035013],"\u82cf\u6885\u5c9b (USM)","Int. Airport Koh Samui",O++),new b("1189","DPS",_[602651],"\u5df4\u5398\u5c9b (\u767b\u5df4\u6c99) (DPS)","Ngurah Rai Int. Airport",O++),new b("4415","SIN",_[3168],"\u65b0\u52a0\u5761\u6a1f\u5b9c\u673a\u573a (SIN)","Changi International Airport",O++),new b("2004","ICN",_[178308],"\u9996\u5c14\u4ec1\u5ddd\u56fd\u9645\u673a\u573a (ICN)","Incheon Int. Airport",O++),new b("1657","GMP",_[178308],"\u9996\u5c14\u91d1\u6d66\u56fd\u9645\u673a\u573a (GMP)","Gimpo Int. Airport",O++),new b("1856","HKG",_[184245],"\u9999\u6e2f\u56fd\u9645\u673a\u573a (HKG)","Hong Kong Int. Airport",O++),new b("878","CJU",_[6048315],"\u6d4e\u5dde\u5c9b (CJU)","Int. Airport Jeju",O++),new b("2993","MFM",_[8724],"\u6fb3\u95e8 (MFM)","Macao Int. Airport",O++),new b("2364","KHH",_[6177725],"\u9ad8\u96c4 (KHH)","Kaohsiung Int. Airport",O++),new b("3731","PEK",_[178237],"\u5317\u4eac\u9996\u90fd\u56fd\u9645\u673a\u573a (PEK)","Capital Int. Airport",O++),new b("3959","PVG",_[180026],"\u4e0a\u6d77\u6d66\u4e1c (PVG)","Shanghai Pudong Int. Airport",O++),new b("4386","SHA",_[180026],"\u4e0a\u6d77\u8679\u6865 (SHA)","Hongqiao Int. Airport",O++),new b("2299","KBV",_[6046393],"\u7532\u7c73 (KBV)","Airport Krabi",O++),new b("4910","TPE",_[180030],"\u53f0\u5317\u53f0\u6e7e\u6843\u56ed\u56fd\u9645\u673a\u573a (TPE)","Taiwan Taoyuan Int. Airport",O++),new b("4940","TSA",_[180030],"\u53f0\u5317\u677e\u5c71\u673a\u573a (TSA)","Taipei Songshan Airport",O++),new b("2542","KUL",_[180008],"\u5409\u9686\u5761\u56fd\u9645 (KUL)","Int. Airport",O++),new b("2644","LCY",_[178279],"\u4f26\u6566\u57ce\u5e02\u673a\u573a (LCY)","London City Airport",O++),new b("2697","LGW",_[178279],"\u4f26\u6566\u76d6\u7279\u5a01\u514b\u673a\u573a (LGW)","Gatwick Airport",O++),new b("2702","LHR",_[178279],"\u4f26\u6566\u5e0c\u65af\u7f57\u673a\u573a (LHR)","Heathrow Airport",O++),new b("2826","LTN",_[178279],"\u4f26\u6566\u5362\u987f\u673a\u573a (LTN)","London Luton Airport",O++),new b("4594","STN",_[178279],"\u4f26\u6566\u65af\u5766\u65af\u7279\u5fb7\u673a\u573a (STN)","Stansted Airport",O++),new b("661","BVA",_[4726],"\u5df4\u9ece\u535a\u97e6-\u63d0\u53f6\u673a\u573a (BVA)","Beauvais Till\xe9 Airport",O++),new b("773","CDG",_[179898],"\u5df4\u9ece\u590f\u5c14\u6234\u9ad8\u4e50\u56fd\u9645\u673a\u573a (CDG)","Charles de Gaulle Airport",O++),new b("3625","ORY",_[179898],"\u5df4\u9ece\u5965\u5229\u673a\u573a (ORY)","Orly Airport",O++),new b("376","BCN",_[179992],"\u5df4\u585e\u7f57\u90a3 (BCN)","El Prat Airport",O++),new b("2899","MAD",_[178281],"\u9a6c\u5fb7\u91cc (MAD)","Adolfo Su\xe1rez Madrid-Barajas Airport",O++),new b("953","CPH",_[178252],"\u54e5\u672c\u54c8\u6839 (CPH)","Kastrup Copenhagen Airport",O++),new b("852","CIA",_[179899],"\u7f57\u9a6c (CIA)","Ciampino Airport",O++),new b("1439","FCO",_[179899],"\u7f57\u9a6c (FCO)","Leonardo da Vinci Int. Airport",O++),new b("1275","EDI",_[6069845],"\u7231\u4e01\u5821 (EDI)","Edinburgh Airport",O++),new b("2792","LPL",_[6046241],"\u5229\u7269\u6d66 (LPL)","Int. John Lennon Airport",O++),new b("1506","FRA",_[179894],"\u6cd5\u5170\u514b\u798f (FRA)","Frankfurt Am Main Airport",O++),new b("1836","HHN",_[5203],"\u6cd5\u5170\u514b\u798f\u54c8\u6069 (HHN)","Frankfurt Hahn Airport",O++),new b("1161","DME",_[178289],"\u83ab\u65af\u79d1\u591a\u83ab\u6770\u591a\u6c83 (DME)","Mosc\xfa Domodedovo Int. Airport",O++),new b("4631","SVO",_[178289],"\u83ab\u65af\u79d1\u8c22\u5217\u6885\u6377\u6c83 (SVO)","Moscow Sheremetyevo Int. Airport",O++),new b("5194","VKO",_[178289],"\u83ab\u65af\u79d1\u74e6\u52aa\u79d1\u6c83 (VKO)","Vnukovo Int. Airport",O++),new b("450","BGY",_[180012],"\u7c73\u5170\u535a\u52a0\u9ed8 (BGY)","Orio Al Serio Airport",O++),new b("2711","LIN",_[180012],"\u7c73\u5170\u91cc\u7eb3\u7279 (LIN)","Linate Int. Airport",O++),new b("3271","MXP",_[180012],"\u7c73\u5170\u9a6c\u5f6d\u6492 (MXP)","Malpensa Airport",O++),new b("1242","DXB",_["553248635974547388"],"\u8fea\u62dc (DXB)","Dubai Int. Airport",O++),new b("960","CPT",_[6046820],"\u5f00\u666e\u6566 (CPT)","Cape Town Int. Airport",O++),new b("728","CAI",_[178243],"\u5f00\u7f57 (CAI)","Cairo Int. Airport",O++),new b("4338","SDV",_[180031],"\u7279\u62c9\u7ef4\u592b (SDV)","Sde Dove Airport",O++),new b("3179","MRU",_[602195],"\u6bdb\u91cc\u6c42\u65af (MRU)","Sir Seewoosagur Ramgoolam Int. Airport",O++),new b("2232","JNB",_[6051471],"\u7ea6\u7ff0\u5185\u65af\u5821\u5965\u5229\u5f17\xb7\u96f7\u91d1\u7eb3\u5fb7\xb7\u5766\u535a\u673a\u573a (JNB)","O R Tambo Int. Airport",O++),new b("4352","SEZ",_[3127],"\u9a6c\u57c3\u5c9b (SEZ)","Seychelles Int. Airport",O++),new b("500","BKI",_[602],"\u4e9a\u5e87 (\u54e5\u6253\u4eac\u90a3\u5df4\u9c81) (BKI)","Kota Kinabalu Int. Airport",O++),new b("2307","KCH",_[6142141],"\u53e4\u664b (KCH)","Int. Airport Kuching",O++),new b("933","CNX",_[6056197],"\u6e05\u8fc8 (CNX)","Chiang Mai Int. Airport",O++),new b("821","CGK",_[178269],"\u96c5\u52a0\u8fbe\u82cf\u5361\u83ab (CGK)","Soekarno Hatta Int. Airport",O++),new b("3120","MNL",_[178282],"\u9a6c\u5c3c\u62c9 (MNL)","Ninoy Aquino Int. Airport",O++),new b("784","CEB",_[800],"\u5bbf\u52a1 (CEB)","Mact\xe1n Ceb\xfa Int. Airport",O++),new b("4118","REP",_[2975],"\u66b9\u7c92\u5e02 (\u5434\u54e5\u7a9f) (REP)","Angkor Int. Airport",O++),new b("3733","PEN",_[6023813],"\u69df\u57ce (PEN)","Penang Int. Airport",O++),new b("3843","PNH",_[6191801],"\u91d1\u8fb9 (PNH)","Phnom Penh Int. Airport",O++),new b("1784","HAN",_[1428],"\u6cb3\u5185 (HAN)","Noi Bai Int. Airport",O++),new b("1050","CXR",_[6054439],"\u82bd\u5e84 (CXR)","Cam Ranh Int. Airport",O++),new b("4672","SYD",_[178312],"\u6089\u5c3c\u91d1\u65af\u798f\u5fb7\xb7\u53f2\u5bc6\u65af (SYD)","Int. Airport Kingsford Smith",O++),new b("932","CNS",_[6268014],"\u51ef\u6069\u65af (CNS)","Cairns Airport",O++),new b("549","BNE",_[180064],"\u5e03\u91cc\u65af\u73ed (BNE)","Brisbane Airport",O++),new b("833","CHC",_[179996],"\u514b\u745e\u65af\u7279\u5f7b\u5947 (CHC)","Christchurch Int. Airport",O++),new b("308","AVV",_[178283],"\u58a8\u5c14\u672c\u963f\u74e6\u9686 (AVV)","Avalon International Airport",O++),new b("2975","MEL",_[178283],"\u58a8\u5c14\u672c\u6cf0\u52d2\u9a6c\u6797 (MEL)","Tullamarine Int. Airport",O++),new b("135","AKL",_[178233],"\u5965\u514b\u5170 (AKL)","Auckland Int. Airport",O++),new b("3600","OOL",_[180064],"\u9ec4\u91d1\u6d77\u5cb8 (OOL)","Coolangatta Airport",O++),new b("53","ADL",_[6051330],"\u963f\u5fb7\u83b1\u5fb7 (ADL)","Adelaide Int. Airport",O++),new b("3319","NAN",_[2515],"\u6960\u8fea (NAN)","Nadi International Airport",O++),new b("3736","PER",_[180013],"\u73c0\u65af (PER)","Perth Int. Airport",O++),new b("5947","ZQN",_[180018],"\u7687\u540e\u9547 (ZQN)","Queenstown Airport",O++),new b("750","CBR",_[6049663],"\u582a\u57f9\u62c9 (CBR)","Canberra",O++),new b("5851","YYZ",_[178314],"\u591a\u4f26\u591a\u76ae\u5c14\u900a\u56fd\u9645 (YYZ)","Lester B Pearson Int. Airport",O++),new b("5806","YVR",_[178315],"\u6e29\u54e5\u534e\u56fd\u9645 (YVR)","Vancouver Int. Airport",O++),new b("2610","LAX",_[178280],"\u6d1b\u6749\u77f6\u56fd\u9645 (LAX)","Los Angeles Int. Airport",O++),new b("4364","SFO",_[178305],"\u65e7\u91d1\u5c71\u56fd\u9645 (SFO)","San Francisco Int. Airport",O++),new b("4341","SEA",_[178307],"\u897f\u96c5\u56fe/\u5854\u79d1\u9a6c\u56fd\u9645 (SEA)","Int. Airport Tacoma",O++),new b("1410","EWR",_[178293],"\u7ebd\u7ea6\u7ebd\u74e6\u514b\u81ea\u7531\u56fd\u9645\u673a\u573a (EWR)","Newark Liberty Int. Airport",O++),new b("2194","JFK",_[178293],"\u7ebd\u7ea6\u7ea6\u7ff0\u80af\u5c3c\u8fea\u673a\u573a (JFK)","John F Kennedy Int. Airport",O++),new b("2682","LGA",_[178293],"\u7ebd\u7ea6\u62c9\u74dc\u8fea\u4e9a\u673a\u573a (LGA)","La Guardia Airport",O++),new b("571","BOS",_[178239],"\u6ce2\u58eb\u987f\u6d1b\u6839\u56fd\u9645 (BOS)","Boston Logan Int. Airport",O++),new b("1624","GIG",_[178301],"\u91cc\u7d04\u71b1\u5167\u76e7 (GIG)","Int. Ant\xf4nio Carlos Jobim Airport",O++),new b("4337","SDU",_[178301],"\u91cc\u7d04\u71b1\u5167\u76e7 (SDU)","Santos Dumont Airport",O++),new b("1096","DCA",_[178318],"\u534e\u76db\u987f\u7f57\u7eb3\u5fb7\u91cc\u6839 (DCA)","Ronald Reagan National Airport",O++),new b("272","ATL",_[178232],"\u4e9a\u7279\u5170\u5927\u54c8\u8328\u83f2\u5c14\u5fb7-\u6770\u514b\u900a (ATL)","Hartsfield Jackson Int. Airport",O++),new b("1890","HNL",_[1488],"\u6a80\u9999\u5c71\u56fd\u9645 (HNL)","Honolulu Int. Airport",O++),new b("2963","MDW",_[178248],"\u829d\u52a0\u54e5\u4e2d\u9014 (MDW)","Midway Int. Airport",O++),new b("3611","ORD",_[178248],"\u829d\u52a0\u54e5\u5965\u9ed1\u5c14\u56fd\u9645 (ORD)","O'Hare Int. Airport",O++),new b("3765","PHL",_[602179],"\u8d39\u57ce\u56fd\u9645 (PHL)","Philadelphia Int. Airport",O++),new b("2982","MEX",_[178285],"\u58a8\u897f\u54e5\u57ce\u534e\u96f7\u65af\u56fd\u9645 (MEX)","Benito Ju\xe1rez Int. Airport",O++)];y.sort((e,t)=>e.order-t.order),w.sort((e,t)=>e.order-t.order),z.sort((e,t)=>e.order-t.order);var T=n("B7ZD"),k=n("tb4M");class P{constructor(){this.groupMode=!1,this.labelProperty="label",this.valueProperty="value"}}var E=n("FtGj"),D=n("rDax"),M=n("3Pt+"),I=n("HZ3n"),A=n("TaO5"),R=n("FwiY"),j=n("IuAY"),V=n("TlLR"),L=n("JNZN"),N=n("B+r4");function F(e,t){if(1&e){const e=o.Xb();o.Wb(0,"li",5),o.lc("click",function(n){o.Hc(e);const i=t.$implicit,r=t.index;return o.oc().optionClick(0,i,r,null,n)}),o.Sc(1),o.Vb()}if(2&e){const e=t.$implicit,n=o.oc();o.Ib("dida-tabs-cascader-parent__item_active",n.isActive(0,e)),o.Cb(1),o.Uc("\n ",e[n.ndConfig.labelProperty],"\n ")}}function B(e,t){if(1&e){const e=o.Xb();o.Wb(0,"div",12),o.lc("click",function(n){o.Hc(e);const i=t.$implicit,r=t.index;return o.oc(3).optionClick(1,i,r,null,n)}),o.Sc(1),o.Vb()}if(2&e){const e=t.$implicit,n=o.oc(3);o.Ib("dida-tabs-cascader-children__item_active",n.isActive(1,e)),o.Cb(1),o.Uc("\n ",e[n.ndConfig.labelProperty],"\n ")}}function W(e,t){if(1&e&&(o.Wb(0,"div",9),o.Sc(1,"\n "),o.Wb(2,"div",10),o.Sc(3,"\n "),o.Qc(4,B,2,3,"div",11),o.Sc(5,"\n "),o.Vb(),o.Sc(6,"\n "),o.Vb()),2&e){const e=o.oc(2);o.Cb(4),o.wc("ngForOf",e.selectedOptions[0].children)}}function H(e,t){if(1&e){const e=o.Xb();o.Wb(0,"li",20),o.lc("click",function(n){o.Hc(e);const i=t.$implicit,r=t.index,s=o.oc().index;return o.oc(3).optionClick(2,i,s,r,n)}),o.Sc(1),o.Vb()}if(2&e){const e=t.$implicit,n=o.oc(4);o.Ib("group-list__item_active",n.isActive(1,e)),o.Db("title",e[n.ndConfig.labelProperty]),o.Cb(1),o.Uc("\n ",e[n.ndConfig.labelProperty],"\n ")}}function U(e,t){if(1&e&&(o.Wb(0,"div",16),o.Sc(1,"\n "),o.Wb(2,"div",17),o.Sc(3),o.Vb(),o.Sc(4,"\n "),o.Wb(5,"div",18),o.Sc(6,"\n "),o.Wb(7,"ul"),o.Sc(8,"\n "),o.Qc(9,H,2,4,"li",19),o.Sc(10,"\n "),o.Vb(),o.Sc(11,"\n "),o.Vb(),o.Sc(12,"\n "),o.Vb()),2&e){const e=t.$implicit,n=o.oc(3);o.Cb(2),o.Db("title",e[n.ndConfig.labelProperty]),o.Cb(1),o.Uc("\n ",e[n.ndConfig.labelProperty],"\n "),o.Cb(6),o.wc("ngForOf",e.children)}}function $(e,t){if(1&e&&(o.Wb(0,"div",13),o.Sc(1,"\n "),o.Wb(2,"div",14),o.Sc(3,"\n "),o.Qc(4,U,13,3,"div",15),o.Sc(5,"\n "),o.Vb(),o.Sc(6,"\n "),o.Vb()),2&e){const e=o.oc(2);o.Nc("height",e.getHeight()),o.Cb(4),o.wc("ngForOf",e.selectedOptions[0].children)}}function Q(e,t){if(1&e&&(o.Wb(0,"div",6),o.Sc(1,"\n "),o.Qc(2,W,7,1,"div",7),o.Sc(3,"\n "),o.Qc(4,$,7,3,"div",8),o.Sc(5,"\n "),o.Wb(6,"div",9),o.Sc(7,"\n "),o.uc(8,0,["selector","[nd-tabs-cascader-extra]"]),o.Sc(9,"\n "),o.Vb(),o.Sc(10,"\n "),o.Vb()),2&e){const e=o.oc();o.Ib("dida-tabs-cascader-children_group",e.isGroupMode),o.Cb(2),o.wc("ngIf",!e.isGroupMode),o.Cb(2),o.wc("ngIf",e.isGroupMode)}}const G=["*"];let Y=(()=>{class e{constructor(e){this.bmService=e,this.ndChange=new o.n,this.selectedOptions=[],this._value=[]}optionClick(e,t,n,i,r){this._getSelectedOption(e)!==t&&(0===e?(this.selectedOptions=[this.ndConfig.options[n]],this._value=[this.selectedOptions[0][this.ndConfig.valueProperty]],this.bmService.trackEvent({category:p.a.SuggestionTypeahead,action:p.b.SelectRegionTab,label:`TabRegionID_${this.selectedOptions[0][this.ndConfig.valueProperty].id}`,value:1})):1===e?(this.selectedOptions[1]=this.selectedOptions[0].children[n],this._value[1]=this.selectedOptions[1][this.ndConfig.valueProperty],this.bmService.trackEvent({category:p.a.SuggestionTypeahead,action:p.b.SelectHotSearchRegion,label:`RegionID_${this.selectedOptions[1][this.ndConfig.valueProperty].id}`,value:1})):2===e&&(this.selectedOptions[1]=this.selectedOptions[0].children[n].children[i],this._value[1]=this.selectedOptions[1][this.ndConfig.valueProperty],this.bmService.trackEvent({category:p.a.SuggestionTypeahead,action:p.b.SelectHotSearchRegion,label:`AirportCode_${this.selectedOptions[1][this.ndConfig.valueProperty].airportCode}`,value:1})),this._propagateChange(this._value),this._valueChange())}writeValue(e){this._value=[],this.selectedOptions=[],u.k.toArray(e).forEach((e,t)=>{this._value.push(e),this.selectedOptions[t]=this.ndConfig.options.find(t=>t[this.ndConfig.valueProperty]===e)})}registerOnChange(e){this._propagateChange=e}registerOnTouched(e){}getWidth(){return this.ndConfig.width?this.ndConfig.width+"px":"100%"}getHeight(){return this.ndConfig.height?this.ndConfig.height+"px":"auto"}isActive(e,t){return this._getSelectedOption(e)===t}isShowChildren(){return this.selectedOptions.length>=1}get isGroupMode(){return!0===this.ndConfig.groupMode}_valueChange(){this.ndChange.emit(this._value)}_getSelectedOption(e){return null==this.selectedOptions||this.selectedOptions.length<=e?null:this.selectedOptions[e]}}return e.\u0275fac=function(t){return new(t||e)(o.Qb(k.l))},e.\u0275cmp=o.Kb({type:e,selectors:[["nd-tabs-cascader"]],inputs:{ndConfig:"ndConfig",ndExtra:"ndExtra"},outputs:{ndChange:"ndChange"},features:[o.Bb([{provide:M.m,useExisting:Object(o.V)(()=>e),multi:!0}])],ngContentSelectors:G,decls:13,vars:5,consts:[["ndBoxShadow","",1,"dida-tabs-cascader",3,"showAlways"],[1,"dida-tabs-cascader-parent"],[1,"dida-tabs-cascader-parent__list"],["class","dida-tabs-cascader-parent__item",3,"dida-tabs-cascader-parent__item_active","click",4,"ngFor","ngForOf"],["class","dida-tabs-cascader-children","nz-row","",3,"dida-tabs-cascader-children_group",4,"ngIf"],[1,"dida-tabs-cascader-parent__item",3,"click"],["nz-row","",1,"dida-tabs-cascader-children"],["nz-col","","nzSpan","24",4,"ngIf"],["nz-col","","nzSpan","24","class","dida-tabs-cascader-children__group-list group-list",3,"height",4,"ngIf"],["nz-col","","nzSpan","24"],["nz-row","",1,"dida-tabs-cascader-children__list"],["nz-col","","nzSpan","4","class","dida-tabs-cascader-children__item",3,"dida-tabs-cascader-children__item_active","click",4,"ngFor","ngForOf"],["nz-col","","nzSpan","4",1,"dida-tabs-cascader-children__item",3,"click"],["nz-col","","nzSpan","24",1,"dida-tabs-cascader-children__group-list","group-list"],["nz-row",""],["nz-col","","nzSpan","24","class","group-list__row",4,"ngFor","ngForOf"],["nz-col","","nzSpan","24",1,"group-list__row"],[1,"group-list__title"],[1,"group-list__item-list"],["class","group-list__item",3,"group-list__item_active","click",4,"ngFor","ngForOf"],[1,"group-list__item",3,"click"]],template:function(e,t){1&e&&(o.vc(),o.Wb(0,"div",0),o.Sc(1,"\n "),o.Wb(2,"div",1),o.Sc(3,"\n "),o.Wb(4,"ul",2),o.Sc(5,"\n "),o.Qc(6,F,2,3,"li",3),o.Sc(7,"\n "),o.Vb(),o.Sc(8,"\n "),o.Vb(),o.Sc(9,"\n "),o.Qc(10,Q,11,4,"div",4),o.Sc(11,"\n"),o.Vb(),o.Sc(12,"\n")),2&e&&(o.Nc("width",t.getWidth()),o.wc("showAlways",!0),o.Cb(6),o.wc("ngForOf",t.ndConfig.options),o.Cb(4),o.wc("ngIf",t.isShowChildren()))},directives:[L.a,h.n,h.o,N.c,N.a],styles:[".dida-tabs-cascader[_ngcontent-%COMP%]{color:#1f2b4b;line-height:1;border-radius:4px;border:1px solid #ced4da;background:#fff}.dida-tabs-cascader[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}.dida-tabs-cascader-parent[_ngcontent-%COMP%]{font-weight:600;padding:0 16px;border-bottom:1px solid #ced4da;overflow:hidden}.dida-tabs-cascader-parent__list[_ngcontent-%COMP%]{overflow:hidden;display:flex;justify-content:flex-start}.dida-tabs-cascader-parent__item[_ngcontent-%COMP%]{width:auto;float:left;padding:12px 4px;margin-right:40px;text-align:center;cursor:pointer}.dida-tabs-cascader-parent__item[_ngcontent-%COMP%]:last-child{margin-right:0}.dida-tabs-cascader-parent__item[_ngcontent-%COMP%]:hover, .dida-tabs-cascader-parent__item_active[_ngcontent-%COMP%]{color:#f32a4e}.dida-tabs-cascader-children[_ngcontent-%COMP%]{margin:0;padding:8px 16px}.dida-tabs-cascader-children_group[_ngcontent-%COMP%]{padding:0}.dida-tabs-cascader-children__list[_ngcontent-%COMP%]{overflow:hidden}.dida-tabs-cascader-children__item[_ngcontent-%COMP%]{text-align:left;cursor:pointer;padding:9px 4px}.dida-tabs-cascader-children__item[_ngcontent-%COMP%]:hover, .dida-tabs-cascader-children__item_active[_ngcontent-%COMP%]{background-color:#fbeff0}.group-list[_ngcontent-%COMP%]{overflow:auto;padding:10px}.group-list__row[_ngcontent-%COMP%]{display:flex}.group-list__title[_ngcontent-%COMP%]{flex-basis:100px;padding:5px 0;width:100px;min-width:100px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.group-list__item-list[_ngcontent-%COMP%]{flex:auto}.group-list__item-list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none;display:flex;flex-flow:wrap;width:100%;margin-left:10px}.group-list__item[_ngcontent-%COMP%]{flex-basis:33.33%;padding:5px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;cursor:pointer}.group-list__item[_ngcontent-%COMP%]:hover, .group-list__item_active[_ngcontent-%COMP%]{color:#f32a4e}"]}),e})();var K=n("te4A");const X=["keywordControl"];function q(e,t){if(1&e&&(o.Ub(0),o.Sc(1,"\n "),o.Wb(2,"label",14),o.ac(3,15),o.Vb(),o.Sc(4,"\n "),o.Tb()),2&e){const e=o.oc(2);o.Cb(2),o.wc("for",e.searchKeywordId)}}function J(e,t){if(1&e){const e=o.Xb();o.Wb(0,"label",18),o.lc("ngModelChange",function(t){return o.Hc(e),o.oc(4).switchCheckboxSelected=t})("ngModelChange",function(){o.Hc(e);const t=o.oc(4);return t.regionOptionSelect(t.regionOptions[0],200)}),o.Sc(1,"\n "),o.Wb(2,"span",19),o.ac(3,20),o.Vb(),o.Sc(4,"\n "),o.Vb()}if(2&e){const e=o.oc(4);o.wc("ngModel",e.switchCheckboxSelected)}}function Z(e,t){if(1&e&&(o.Ub(0),o.Sc(1,"\n "),o.Qc(2,J,5,1,"label",17),o.Sc(3,"\n "),o.Tb()),2&e){const e=o.oc(3);o.Cb(2),o.wc("ngIf",e.regionOptions.length>0)}}function ee(e,t){if(1&e){const e=o.Xb();o.Ub(0),o.Sc(1,"\n "),o.Wb(2,"span",21),o.Sc(3,"\n "),o.Ub(4),o.gc(5,22),o.Rb(6,"span",23),o.dc(),o.Tb(),o.Sc(7,"\n "),o.Wb(8,"span",24),o.lc("click",function(){return o.Hc(e),o.oc(3).regionOptionSelect(null)}),o.Sc(9,"\n "),o.Rb(10,"i",25),o.Sc(11,"\n "),o.Vb(),o.Sc(12,"\n "),o.Vb(),o.Sc(13,"\n "),o.Tb()}if(2&e){const e=o.oc(3);o.Cb(6),o.wc("title",e.currentSelectedRegion.name),o.ec(e.currentSelectedRegion.name),o.bc(5)}}function te(e,t){if(1&e&&(o.Ub(0,8),o.Sc(1,"\n "),o.Qc(2,Z,4,1,"ng-container",16),o.Sc(3,"\n "),o.Qc(4,ee,14,2,"ng-container",16),o.Sc(5,"\n "),o.Tb()),2&e){const e=o.oc(2);o.wc("ngSwitch",e.searchMode),o.Cb(2),o.wc("ngSwitchCase","all"),o.Cb(2),o.wc("ngSwitchCase","region")}}function ne(e,t){if(1&e&&(o.Ub(0),o.Sc(1,"\n "),o.Wb(2,"span",12),o.Sc(3,"\n "),o.Qc(4,q,5,1,"ng-container",3),o.Sc(5,"\n "),o.Qc(6,te,6,3,"ng-container",13),o.Sc(7,"\n "),o.Vb(),o.Sc(8,"\n "),o.Tb()),2&e){const e=o.oc();o.Cb(4),o.wc("ngIf","all"===e.searchMode),o.Cb(2),o.wc("ngIf",e.ndConfig.enableRegionSearch)}}function ie(e,t){if(1&e){const e=o.Xb();o.Wb(0,"div",26),o.lc("click",function(){return o.Hc(e),o.oc().setKeywordInputStatus("focus")}),o.Sc(1,"\n \u5468\u8fb9\u5730\u533a\n "),o.Vb()}if(2&e){const e=o.oc();o.Nc("left",e.keyword_tag_position_left,"px")}}function re(e,t){if(1&e){const e=o.Xb();o.Wb(0,"div",27),o.lc("click",function(){return o.Hc(e),o.oc().cleanKeywordInputText()}),o.Sc(1,"\n "),o.Rb(2,"i",25),o.Sc(3,"\n "),o.Vb()}if(2&e){const e=o.oc();o.wc("hidden",!e.keyword)}}function oe(e,t){1&e&&(o.Wb(0,"div",28),o.Sc(1,"\n "),o.Rb(2,"i",29),o.Sc(3,"\n "),o.Vb())}function se(e,t){1&e&&(o.Ub(0),o.Sc(1,"\n "),o.Rb(2,"i",39),o.Sc(3,"\n "),o.Wb(4,"span"),o.ac(5,40),o.Vb(),o.Sc(6,"\n "),o.Tb())}function ae(e,t){1&e&&(o.Ub(0),o.Sc(1,"\n "),o.Rb(2,"i",41),o.Sc(3,"\n "),o.Wb(4,"span"),o.ac(5,42),o.Vb(),o.Sc(6,"\n "),o.Tb())}function ce(e,t){1&e&&(o.Ub(0),o.Sc(1,"\n "),o.Rb(2,"i",43),o.Sc(3,"\n "),o.Wb(4,"span"),o.ac(5,44),o.Vb(),o.Sc(6,"\n "),o.Tb())}function le(e,t){if(1&e&&(o.Wb(0,"div",38),o.Sc(1,"\n "),o.Ub(2,8),o.Sc(3,"\n "),o.Qc(4,se,7,0,"ng-container",16),o.Sc(5,"\n "),o.Qc(6,ae,7,0,"ng-container",16),o.Sc(7,"\n "),o.Qc(8,ce,7,0,"ng-container",16),o.Sc(9,"\n "),o.Tb(),o.Sc(10,"\n "),o.Vb()),2&e){const e=o.oc().$implicit;o.Cb(2),o.wc("ngSwitch",e.type),o.Cb(2),o.wc("ngSwitchCase","destination"),o.Cb(2),o.wc("ngSwitchCase","viewpoint"),o.Cb(2),o.wc("ngSwitchCase","hotel")}}const ue=function(e,t){return{keyword:e,isDisabled:t}};function de(e,t){if(1&e&&(o.Rb(0,"span",48),o.pc(1,"ndHighlight")),2&e){const e=o.oc().$implicit,t=o.oc(3);o.wc("lang",t.ndConfig.languageType)("title",e.name_en)("innerHTML",o.rc(1,3,e.name_en,o.Cc(6,ue,t.keyword,t.isActiveSuggestionOption(e))),o.Ic)}}function he(e,t){if(1&e&&(o.Wb(0,"div",54),o.Sc(1,"\n "),o.Wb(2,"nd-tag",55),o.ac(3,56),o.Vb(),o.Sc(4,"\n "),o.Rb(5,"span",57),o.pc(6,"ndHighlight"),o.Sc(7,"\n "),o.Vb()),2&e){const e=o.oc().$implicit,t=o.oc(3);o.Cb(5),o.wc("innerHTML",o.rc(6,1,e.nameOld,o.Cc(4,ue,t.keyword,t.isActiveSuggestionOption(e))),o.Ic)}}function pe(e,t){if(1&e&&(o.Ub(0),o.Sc(1),o.Tb()),2&e){const e=o.oc(2).$implicit;o.Cb(1),o.Vc("\n ",e.address.destinationName,"\n , ",e.address.countryName,"")}}function fe(e,t){1&e&&(o.Ub(0),o.ac(1,59),o.Tb())}function ge(e,t){if(1&e&&(o.Wb(0,"div",58),o.Sc(1,"\n "),o.Qc(2,pe,2,2,"ng-container",3),o.Sc(3,"\n "),o.Qc(4,fe,2,0,"ng-container",3),o.Sc(5,"\n "),o.Vb()),2&e){const e=o.oc().$implicit,t=o.oc(3);o.wc("title",t.getExtraTitle(e)),o.Cb(2),o.wc("ngIf","default"===t.currentSuggestionTypeaheadOptions.extranInfoMode),o.Cb(2),o.wc("ngIf","category"===t.currentSuggestionTypeaheadOptions.extranInfoMode)}}function be(e,t){if(1&e&&(o.Wb(0,"div",60),o.Sc(1,"\n "),o.Ub(2),o.ac(3,61),o.Tb(),o.Sc(4,"\n "),o.Vb()),2&e){const e=o.oc().$implicit,t=o.oc(3);o.wc("title",t.getExtraTitle(e))}}function me(e,t){if(1&e&&(o.Ub(0),o.Sc(1,"\n "),o.Ub(2),o.gc(3,63),o.Rb(4,"span"),o.dc(),o.Tb(),o.Sc(5,"\n "),o.Tb()),2&e){const e=o.oc(2).$implicit,t=o.oc(3);o.Cb(4),o.Ib("nd-text-highlight",!t.isActiveSuggestionOption(e)),o.ec(e.source.Metadata.HotelCount),o.bc(3)}}function ye(e,t){1&e&&(o.Ub(0),o.ac(1,64),o.Tb())}function ve(e,t){if(1&e&&(o.Wb(0,"div",62),o.Sc(1,"\n "),o.Qc(2,me,6,3,"ng-container",3),o.Sc(3,"\n "),o.Qc(4,ye,2,0,"ng-container",3),o.Sc(5,"\n "),o.Vb()),2&e){const e=o.oc(4);o.Cb(2),o.wc("ngIf","default"===e.currentSuggestionTypeaheadOptions.extranInfoMode),o.Cb(2),o.wc("ngIf","category"===e.currentSuggestionTypeaheadOptions.extranInfoMode)}}function Ce(e,t){if(1&e){const e=o.Xb();o.Wb(0,"div",45),o.lc("mouseenter",function(){o.Hc(e);const n=t.$implicit;return o.oc(3).suggestionOptionHover(n,"mouseEnter")})("mouseleave",function(){o.Hc(e);const n=t.$implicit;return o.oc(3).suggestionOptionHover(n,"mouseLeave")})("click",function(){o.Hc(e);const n=t.$implicit;return o.oc(3).suggestionOptionSelect(n)}),o.Sc(1,"\n "),o.Wb(2,"div",46),o.Sc(3,"\n "),o.Wb(4,"div",47),o.Sc(5,"\n "),o.Rb(6,"span",48),o.pc(7,"ndHighlight"),o.Sc(8,"\n "),o.Qc(9,de,2,9,"span",49),o.Sc(10,"\n "),o.Vb(),o.Sc(11,"\n "),o.Qc(12,he,8,7,"div",50),o.Sc(13,"\n "),o.Vb(),o.Sc(14,"\n "),o.Qc(15,ge,6,3,"div",51),o.Sc(16,"\n "),o.Qc(17,be,5,1,"div",52),o.Sc(18,"\n "),o.Qc(19,ve,6,2,"div",53),o.Sc(20,"\n "),o.Vb()}if(2&e){const e=t.$implicit,n=o.oc(3);o.Ib("nd-suggestion-item__active",n.isActiveSuggestionOption(e)),o.Cb(6),o.wc("lang",n.ndConfig.languageType)("title",e.name)("innerHTML",o.rc(7,10,e.name,o.Cc(13,ue,n.keyword,n.isActiveSuggestionOption(e))),o.Ic),o.Cb(3),o.wc("ngIf",e.name!==e.name_en),o.Cb(3),o.wc("ngIf",e.nameOld),o.Cb(3),o.wc("ngIf",0===e.category),o.Cb(2),o.wc("ngIf",13===e.category),o.Cb(2),o.wc("ngIf",0!==e.category&&13!==e.category)}}function we(e,t){if(1&e&&(o.Wb(0,"div",34),o.Sc(1,"\n "),o.Qc(2,le,11,4,"div",35),o.Sc(3,"\n "),o.Wb(4,"div",36),o.Sc(5,"\n "),o.Qc(6,Ce,21,16,"div",37),o.Sc(7,"\n "),o.Vb(),o.Sc(8,"\n "),o.Vb()),2&e){const e=t.$implicit,n=o.oc(2);o.Cb(2),o.wc("ngIf",n.currentSuggestionTypeaheadOptions.showCategory),o.Cb(2),o.Ib("nd-suggestion-result__list_full",!n.currentSuggestionTypeaheadOptions.showCategory),o.Cb(2),o.wc("ngForOf",e.options)}}function Se(e,t){1&e&&(o.Wb(0,"div",34),o.Sc(1,"\n "),o.Wb(2,"div",65),o.Sc(3,"\n "),o.Wb(4,"div",66),o.ac(5,67),o.Vb(),o.Sc(6,"\n "),o.Vb(),o.Sc(7,"\n "),o.Vb())}function _e(e,t){if(1&e&&(o.Wb(0,"div",68),o.Sc(1,"\n "),o.Wb(2,"div",34),o.Sc(3,"\n "),o.Wb(4,"div",65),o.Sc(5,"\n "),o.Wb(6,"div",66),o.Sc(7,"\n "),o.Wb(8,"div",69),o.ac(9,70),o.Vb(),o.Sc(10,"\n "),o.Vb(),o.Sc(11,"\n "),o.Vb(),o.Sc(12,"\n "),o.Vb(),o.Sc(13,"\n "),o.Vb()),2&e){const e=o.oc(2);o.Cb(9),o.ec(e.currentSuggestionTypeaheadOptions.minKeywordLength),o.bc(9)}}function Oe(e,t){if(1&e){const e=o.Xb();o.Wb(0,"nd-tabs-cascader",73),o.lc("ndChange",function(t){return o.Hc(e),o.oc(3).cityChange(t)})("ngModelChange",function(t){return o.Hc(e),o.oc(3).tabsCascaderSelectedOptions=t}),o.Sc(1,"\n "),o.Sc(2,"\n "),o.Vb()}if(2&e){const e=o.oc(3);o.wc("ndConfig",e.tabsCascaderConfig)("ngModel",e.tabsCascaderSelectedOptions)}}function xe(e,t){if(1&e){const e=o.Xb();o.Wb(0,"nd-tabs-cascader",73),o.lc("ndChange",function(t){return o.Hc(e),o.oc(3).airportChange(t)})("ngModelChange",function(t){return o.Hc(e),o.oc(3).tabsCascaderSelectedOptions=t}),o.Vb()}if(2&e){const e=o.oc(3);o.wc("ndConfig",e.tabsCascaderConfig)("ngModel",e.tabsCascaderSelectedOptions)}}function ze(e,t){if(1&e&&(o.Ub(0,8),o.Sc(1,"\n "),o.Sc(2,"\n "),o.Qc(3,Oe,3,2,"nd-tabs-cascader",71),o.Sc(4,"\n "),o.Sc(5,"\n "),o.Qc(6,xe,1,2,"nd-tabs-cascader",72),o.Sc(7,"\n "),o.Tb()),2&e){const e=o.oc(2);o.wc("ngSwitch",e.ndConfig.airportMode),o.Cb(6),o.wc("ngSwitchCase",!0)}}function Te(e,t){if(1&e&&(o.Sc(0,"\n "),o.Wb(1,"div",30),o.Sc(2,"\n "),o.Qc(3,we,9,4,"div",31),o.Sc(4,"\n "),o.Qc(5,Se,8,0,"div",32),o.Sc(6,"\n "),o.Vb(),o.Sc(7,"\n "),o.Qc(8,_e,14,1,"div",33),o.Sc(9,"\n "),o.Qc(10,ze,8,2,"ng-container",13),o.Sc(11,"\n ")),2&e){const e=o.oc(),t=o.Ec(10);o.Cb(1),o.wc("hidden",!e.isShowSuggestionOptions),o.Cb(2),o.wc("ngForOf",e.suggestionOptions),o.Cb(2),o.wc("ngIf",e.isShowNoResult),o.Cb(3),o.wc("ngIf",t.errors),o.Cb(2),o.wc("ngIf",e.isShowDefaultSuggestion)}}const ke=function(e){return{minlength:e,maxlength:200}};let Pe=(()=>{class e extends k.o{constructor(e,t,n,i){super(),this._appEventHub=e,this.bmService=t,this._element=n,this._document=i,this.ndChange=new o.n,this.ndAfterInit=new o.n,this.ndDropdownOffset={left:0,top:0},this.searchingSuggestion=!1,this.searchMode="all",this.regionOptions=[],this.isShowRegionOptions=!1,this.switchCheckboxSelected=!1,this._dropdownTarget=d.g.none,this.suggestionOptions=[]}get searchKeywordId(){return"searchkeyword_"+this.instanceId}focus(){this._keywordInputElement.nativeElement.focus(),this.setKeywordInputStatus("focus")}onClickOutside(e){this._element.nativeElement.contains(e.target)||(this._dropdownTarget=d.g.none)}setKeywordInputStatus(e){this._keywordInputStatus=e,"focus"===e&&(this.keyword||"all"!==this.searchMode?(this._keywordInputElement.nativeElement.select(),this.keyword&&(this._lastSearchKey===this.keyword&&this.suggestionOptions.length>0?this.setDropdownTarget(d.g.suggestions):this.searchSuggestion(this.keyword))):this.setDropdownTarget(d.g.cities))}keywordChange(e){this.keyword||(this.currentHoverOption=null),this.ndChange.emit("region"===this.searchMode?{id:this.currentSelectedRegion.id,name:this.currentSelectedRegion.name,name_en:this.currentSelectedRegion.name_en,category:this.currentSelectedRegion.category,keyword:this.keyword,location:null,isSelected:!1,isDeSelected:!1}:{keyword:this.keyword,location:null,isSelected:!1,isDeSelected:!1})}initSuggestionContentById(e,t,n,i=null,r=!1){return this.searchSuggestionByIdForDisplay(e,t,i,n).subscribe(e=>{r&&this.suggestionOptionSelect(e)})}cleanKeywordInputText(){this.updateKeywordValue(""),this.currentHoverOption=null,this.keywordChange(),this.bmService.trackEvent({category:p.a.SuggestionTypeahead,action:p.b.ClearKeyword,label:"Clear",value:1}),this._keywordInputElement.nativeElement.focus()}resetInput(){this.updateKeywordValue(""),this.currentHoverOption=null,this.currentSelectedOption=null,this.currentSelectedRegion=null,this._currentValue=null,this.suggestionOptions=[]}cityChange(e){if(2===e.length){const t={id:e[1].id.toString(),name:e[1].name[this.ndConfig.languageType],name_en:e[1].name[T.d.en_US],category:e[1].type};this.updateKeywordValue(t.name),Object(k.K)(d.i.searchRegion(t.id)).subscribe(e=>{const n=this.convertToOption(e);t.name=this.ndConfig.languageType===T.d.en_US?n.name_en:n.name,this.currentSelectedRegion=t,this.regionOptions=[t],this.updateKeywordValue(t.name),this.setDropdownTarget(d.g.none);const i={id:t.id,name:t.name,name_en:t.name_en,category:t.category,destinationID:null,location:n.location,isSelected:!0,isDeSelected:!1};this._currentValue=i,this.ndChange.emit(i),this.ndConfig.autoSearchCitySuggestion&&this.searchSuggestion(this.keyword)})}}airportChange(e){if(2===e.length){const t=e[1];this.setDropdownTarget(d.g.none);const n={id:t.id,name:t.name[this.ndConfig.languageType],name_en:t.name[T.d.en_US],category:t.type,destinationID:null,airportCode:t.airportCode,location:null,isSelected:!0,isDeSelected:!1};this._currentValue=n,this.updateKeywordValue(t.name[this.ndConfig.languageType]),this.ndChange.emit(n),this.ndConfig.autoSearchAirportSuggetion&&this.searchSuggestionByIdForDisplay(null,`A-${t.airportCode}`,t.name[this.ndConfig.languageType],[d.c.Airport]).subscribe(e=>{this.suggestionOptionSelect(e)})}}suggestionOptionHover(e,t){"mouseEnter"===t&&e!==this.currentHoverOption?(this.currentHoverOption=e,console.log("mouseEnter")):"mouseLeave"===t&&this.currentHoverOption===e&&(this.currentHoverOption=null)}suggestionOptionSelect(e){if(e!==this.currentSelectedOption){if(this.currentSelectedOption=e,e.category!==d.c.Hotel&&e.category!==d.c.Airport){const t={id:e.id.toString(),name:e.name,name_en:e.name_en,category:e.category};this.regionOptions=[t]}this.updateKeywordValue(e.name);const t={id:e.id.toString(),name:e.name,name_en:e.name_en,category:e.category,destinationID:null,airportCode:e.airportCode,location:e.location,isSelected:!0,isDeSelected:!1};e.destinationID&&(t.destinationID=e.destinationID),this._currentValue=t;let n=p.b.SelectRegion,i=`${e.id}`;switch(e.category){case d.c.Hotel:n=p.b.SelectHotel;break;case d.c.POI:case d.c.POIS:n=p.b.SelectPOI;break;case d.c.Airport:n=p.b.SelectAirport,i=`${e.airportCode}`}d.e.shouldSearchInParentRegion(e)&&(t.parentId=e.parentId,this.ndConfig.regionID=e.parentId,this.initDestination()),this.bmService.trackEvent({category:p.a.SuggestionTypeahead,action:n,label:i,value:1}),this.ndChange.emit(t),this.setDropdownTarget(d.g.none)}}regionOptionSelect(e,t=0){this.ndConfig.regionSearchSwithStyle===d.b.checkbox&&(this.switchCheckboxSelected=!!e),setTimeout(()=>{null==e?(this.searchMode="all",this.updateKeywordValue(this._currentValue.name),this.currentSuggestionTypeaheadOptions=this.ndConfig.options,this.suggestionOptionSelect(this.currentSelectedOption)):(this.searchMode="region",this.updateKeywordValue(""),this.currentSuggestionTypeaheadOptions=this.ndConfig.regionSearchOptions),this.bmService.trackEvent({category:p.a.SuggestionTypeahead,action:p.b.SwitchRegionOption,label:this.searchMode,value:1}),this.suggestionOptions=[],this.isShowNoResult=!1,this.currentSelectedRegion=e,this.isShowRegionOptions=!1,this._keywordInputElement.nativeElement.focus()},t)}searchTitleClick(){this.ndConfig.enableRegionSearch&&this.regionOptions&&this.regionOptions.length>0&&(this.isShowRegionOptions=!this.isShowRegionOptions,this.bmService.trackEvent({category:p.a.SuggestionTypeahead,action:p.b.ClickRegionOption,label:this.isShowRegionOptions?"Show":"Hide",value:1}))}onBackdropClick(){this.keyword&&this.currentSuggestionTypeaheadOptions.autoSelectHover&&this.currentHoverOption&&this.currentHoverOption!==this.currentSelectedOption?this.suggestionOptionSelect(this.currentHoverOption):"focus"!==this._keywordInputStatus&&(this.setDropdownTarget(d.g.none),this.isShowRegionOptions=!1)}ngOnInit(){if(this.ndConfig||(this.ndConfig=new d.a),this.ndConfig.languageType||(this.ndConfig.languageType=this.lang),this.language=k.x.normalize(this.ndConfig.languageType),"zh-CN"!==this.language&&(this.language=T.d.en_US),this.currentSuggestionTypeaheadOptions=this.ndConfig.options,this.ndConfig.showInputRegionTag){const e=this._document.createElement("span");e.setAttribute("style","visibility: hidden; display: inline-block; font-size: 14px;"),this._keywordLengthDetector=this._document.getElementsByTagName("body")[0].appendChild(e)}else this._keywordLengthDetector=null;this.initDestination(),this.initDefaultOptions(),this.initGlobalEventHandle()}initDefaultOptions(){this.language=k.x.normalize(this.ndConfig.languageType),"zh-CN"!==this.language&&(this.ndConfig.languageType=this.language=T.d.en_US),this.ndConfig.showDefaultOptions&&(this.ndConfig.airportMode?this.initAirports():this.initCities())}ngAfterViewInit(){this.searchTextInput(Object(i.a)(this._keywordInputElement.nativeElement,"input"))}ngOnDestroy(){this._keywordLengthDetector&&(this._document.getElementsByTagName("body")[0].removeChild(this._keywordLengthDetector),this._keywordLengthDetector=null),super.ngOnDestroy()}get isKeywordInputOnFcous(){return"focus"===this._keywordInputStatus}get isShowSuggestionDropdown(){return this._dropdownTarget!==d.g.none}get isShowSuggestionOptions(){return this._dropdownTarget===d.g.suggestions&&this.keyword}get isShowDefaultSuggestion(){return!this.keyword&&"all"===this.searchMode}get isValid(){return"region"===this.searchMode?!!(this.keyword&&this.keyword.length>=this.currentSuggestionTypeaheadOptions.minKeywordLength)||!!this._currentValue:!!this._currentValue&&this._currentValue.name===this.keyword}isActiveSuggestionOption(e){return this.currentHoverOption&&e.id===this.currentHoverOption.id}getExtraTitle(e){return e.category===d.c.Hotel&&this.currentSuggestionTypeaheadOptions.extranInfoMode===d.h.default?e.address.destinationName+","+e.address.countryName:""}searchInputKeyUp(e){if("focus"===this._keywordInputStatus&&this._dropdownTarget===d.g.suggestions&&u.b.isNullOrEmpty(this._currentSuggestionOptions)){let t=this.currentSuggestionTypeaheadOptions.autoSelectHover?0:-1;this.currentHoverOption&&(t=this._currentSuggestionOptions.findIndex(e=>this.currentHoverOption===e)),e.keyCode!==E.m&&e.keyCode!==E.c||(e.keyCode===E.m?t--:e.keyCode===E.c&&t++,t<0&&(t=this._currentSuggestionOptions.length-1),t>=this._currentSuggestionOptions.length&&(t=0),this.currentHoverOption=this._currentSuggestionOptions[t]),e.keyCode===E.e&&this.currentHoverOption&&this.suggestionOptionSelect(this.currentHoverOption)}}searchInputKeyPaste(e){if("focus"===this._keywordInputStatus&&this._dropdownTarget===d.g.suggestions&&u.b.isNullOrEmpty(this._currentSuggestionOptions)){let e=this.currentSuggestionTypeaheadOptions.autoSelectHover?0:-1;this.currentHoverOption&&(e=this._currentSuggestionOptions.findIndex(e=>this.currentHoverOption===e))}}searchTextInput(e){e.pipe(Object(s.a)(e=>e.target.value.trim()),Object(a.a)(e=>!!e),Object(c.a)(),Object(l.a)(this.ndConfig.searchDelay)).subscribe(e=>{this.searchSuggestion(e)}),e.subscribe(e=>{this.keyword||this.currentSelectedRegion||this.ndConfig.showDefaultOptions&&(this.tabsCascaderSelectedOptions=[this.tabsCascaderSelectedOptions[0]],this.setDropdownTarget(d.g.cities))})}setDropdownTarget(e){if(e!==this._dropdownTarget&&(e!==d.g.cities||this.ndConfig.showDefaultOptions)){if(e===d.g.none&&this._currentValue){const e=!this.keyword;if(this.ndConfig.options&&this.ndConfig.options.resetPreviousSelected)this.updateKeywordValue(this._currentValue.name);else if(e){const e=this.ndConfig.enableRegionSearch,t=!!this.currentSelectedRegion;(!e||e&&!t)&&this.updateKeywordValue(this._currentValue.name)}}this._dropdownTarget=e}}searchSuggestion(e){if(this.currentHoverOption=null,!e||e.length0?i.push(d.e.createSuggestionQueryPayload(e,[],this.currentSuggestionTypeaheadOptions.maxRegionCount+this.currentSuggestionTypeaheadOptions.maxPOICount+this.currentSuggestionTypeaheadOptions.maxHotelCount,null,n)):this.ndConfig.airportMode?i.push(d.e.createSuggestionQueryPayload(e,d.e.AIRPORT_SEARCH_CATEGORIES,this.currentSuggestionTypeaheadOptions.maxAirportCount,null,this.ndConfig.regionSearchOptions.parentRegionId,null)):(this.currentSuggestionTypeaheadOptions.maxRegionCount>0&&i.push(d.e.createSuggestionQueryPayload(e,t,this.currentSuggestionTypeaheadOptions.maxRegionCount,null,this.ndConfig.regionSearchOptions.parentRegionId,null)),this.currentSuggestionTypeaheadOptions.maxPOICount>0&&i.push(d.e.createSuggestionQueryPayload(e,d.e.POI_SEARCH_CATEGORIES,this.currentSuggestionTypeaheadOptions.maxPOICount,null,this.ndConfig.regionSearchOptions.parentRegionId,null)),this.currentSuggestionTypeaheadOptions.maxHotelCount>0&&i.push(d.e.createSuggestionQueryPayload(e,d.e.HOTEL_SEARCH_CATEGORIES,this.currentSuggestionTypeaheadOptions.maxHotelCount,null,this.ndConfig.regionSearchOptions.parentRegionId,this.ndConfig.transferLocations))),this.searchingSuggestion=!0,Object(k.K)(d.i.multiplSearch(i)).subscribe({next:e=>{this.setSuggestiontOption(e),this.suggestionOptions&&0!==this.suggestionOptions.length||(this.isShowNoResult=!0),this.setDropdownTarget(d.g.suggestions)},error:e=>{this.suggestionOptions=[],this.currentHoverOption=null,this._currentSuggestionOptions=[],this.isShowNoResult=!0,this.setDropdownTarget(d.g.suggestions)},complete:()=>{this.searchingSuggestion=!1}})}searchSuggestionByIdForDisplay(e,t,n,i){return this.currentHoverOption=null,new r.a(r=>{Object(k.K)(d.i.search({DocID:t,IDs:null==e?null:[e],Keyword:null,ParentID:null,Categories:null==i?null:i,TransferLocations:null,DestinationOnly:!1,WithHierarchy:!0,WithMetadata:!0,WithItemObject:!0,Language:this.ndConfig.languageType,Size:1,PaginationOption:null})).subscribe({next:e=>{if(this.setSuggestiontOption([e]),this.suggestionOptions&&0!==this.suggestionOptions.length){const t=e.Data[0];this.updateKeywordValue(t.DisplayOption.FullName),this.setDropdownTarget(d.g.none);const n=this.convertToOption(t);r.next(n)}else this.isShowNoResult=!0,this.updateKeywordValue(n),this.setDropdownTarget(d.g.none),r.next(null);r.complete()},error:e=>{this.suggestionOptions=[],this.currentHoverOption=null,this._currentSuggestionOptions=[],this.isShowNoResult=!0,this.updateKeywordValue(n),this.setDropdownTarget(d.g.none),r.next(null),r.complete()}})})}setSuggestiontOption(e){const t=[],n=[],i=[],r=[],o=[];e.forEach(e=>{e.Data.forEach(e=>{t.push(this.convertToOption(e))})}),t.forEach(e=>{switch(e.category){case d.c.Hotel:i.push(e);break;case d.c.Airport:r.push(e);break;case d.c.POI:case d.c.POIS:o.push(e);break;default:n.push(e)}}),t.length>0&&this.currentSuggestionTypeaheadOptions.autoSelectFirst&&(this.currentHoverOption=[...i,...r,...o,...n][0]),this.suggestionOptions=[],this._currentSuggestionOptions=[],i.length>0&&(this._currentSuggestionOptions=this._currentSuggestionOptions.concat(i),this.suggestionOptions.push({type:d.f.hotel,options:i,order:-1})),o.length>0&&(this._currentSuggestionOptions=this._currentSuggestionOptions.concat(o),this.suggestionOptions.push({type:d.f.viewpoint,options:o,order:-2})),n.length>0&&(this._currentSuggestionOptions=this._currentSuggestionOptions.concat(n),this.suggestionOptions.push({type:d.f.destination,options:n,order:1})),r.length>0&&(this._currentSuggestionOptions=this._currentSuggestionOptions.concat(r),this.suggestionOptions.push({type:d.f.airport,options:r})),this.suggestionOptions.sort((e,t)=>(t.order||0)-(e.order||0))}convertToOption(e){let t=null,n=null,i=null;e.Category===d.c.Hotel?t=e.ItemObject.DestinationID:e.Category===d.c.Airport&&(n=e.ItemObject.Code,t=e.ItemObject.DestinationID),e.Metadata&&e.Metadata.Location&&(i=e.Metadata.Location);const{ParentRegionType:r}=e.ItemObject,o=d.e.IGNORE_DRILL_UP_CATEGORIES.includes(r)&&!d.e.SPECIAL_PARENT_ID_FOR_SEARCH.has(e.ParentRegionIDString);return{id:e.ID,parentId:o?"":e.ParentRegionIDString,destinationID:t,name:d.e.getName(e,this.lang),nameOld:d.e.getOldName(e,this.keyword,this.lang),name_en:e.DisplayOption.FullName,address:d.e.getAddress(e,this.appContext&&this.appContext.lang),location:i,category:e.Category,airportCode:n,source:e}}reset(){this.searchMode="all",this.regionOptions=[],this.isShowRegionOptions=!1,this.currentSelectedRegion=null,this.suggestionOptions=[],this.currentHoverOption=null,this.currentSelectedOption=null,this.currentSuggestionTypeaheadOptions=this.ndConfig.options,this.updateKeywordValue(""),this.ndChange.emit(null)}initDestination(){const e=[];if(this.ndConfig.regionID&&e.push(d.e.createSuggestionQueryPayload(null,d.e.REGION_SEARCH_BY_ID_CATEGORIES,1,[this.ndConfig.regionID])),this.ndConfig.hotelID&&e.push(d.e.createSuggestionQueryPayload(null,d.e.HOTEL_SEARCH_CATEGORIES,1,[this.ndConfig.hotelID])),this.ndConfig.airportCode){const t=new d.d;t.Categories=d.e.AIRPORT_SEARCH_CATEGORIES,t.DocID=`A-${this.ndConfig.airportCode}`,t.Size=1,t.Language=this.ndConfig.languageType,t.PaginationOption={PageNum:-1},t.WithMetadata=!0,t.WithHierarchy=!0,t.WithItemObject=!0,e.push(t)}e.length>0&&Object(k.K)(d.i.multiplSearch(e)).subscribe(e=>{let t,n,i;e.forEach(e=>{if(e.Data.forEach(e=>{const r=this.convertToOption(e);if(r.category===d.c.Hotel)t=r,this.currentSelectedOption=t;else if(r.category===d.c.Airport)i=r,this.currentSelectedOption=i;else{n=r;const t={id:r.id.toString(),name:r.name,name_en:r.name_en,location:r.location,category:e.Category};this.regionOptions.push(t)}}),t){const e={id:t.id.toString(),name:t.name,name_en:t.name_en,category:t.category,destinationID:t.destinationID.toString(),location:t.location,isSelected:!1,isDeSelected:!1};this._currentValue=e,this.ndAfterInit.emit(e),this.updateKeywordValue(this._currentValue.name),this.ndConfig.regionID||this.postloadRegionInfo(e.destinationID)}else if(i){const e={id:i.id.toString(),name:i.name,name_en:i.name_en,category:i.category,destinationID:i.destinationID,location:i.location,isSelected:!1,isDeSelected:!1};this._currentValue=e,this.ndAfterInit.emit(e),this.updateKeywordValue(this._currentValue.name)}else if(n){const e={id:n.id.toString(),name:n.name,name_en:n.name_en,category:n.category,location:n.location,keyword:null,isSelected:!1,isDeSelected:!1};let t="";this.ndConfig.keyword&&this.ndConfig.enableRegionSearch?(this.searchMode="region",t=this.ndConfig.keyword,e.keyword=this.ndConfig.keyword,this.currentSuggestionTypeaheadOptions=this.ndConfig.regionSearchOptions,this.currentSelectedRegion=this.regionOptions[0]):t=e.name,this._currentValue=e,this.updateKeywordValue(t),this.ndAfterInit.emit(e)}})})}postloadRegionInfo(e){const t=d.e.createSuggestionQueryPayload(null,d.e.REGION_SEARCH_BY_ID_CATEGORIES,1,[e]);Object(k.K)(d.i.search(t)).subscribe(e=>{const t=e.Data[0];if(!t)return;const n=this.convertToOption(t),i={id:n.id.toString(),name:n.name,name_en:n.name_en,location:n.location,category:t.Category,keyword:null,isSelected:!1,isDeSelected:!1};this.ndAfterInit.next(i)})}initCities(){this.tabsCascaderConfig||(this.tabsCascaderConfig=new P),this.tabsCascaderConfig.options=[],this.tabsCascaderSelectedOptions=[],this.tabsCascaderConfig.width="en-US"===this.ndConfig.languageType?950:900;const e={};w.forEach(t=>{void 0===e[t.continentID]&&(e[t.continentID]=[]),e[t.continentID].push(t)});const t={label:"zh-CN"!==this.ndConfig.languageType?"Top Cities":"\u70ed\u95e8",value:new g("",d.c.Continent,"\u70ed\u95e8","Top Cities",null,0),children:[],order:-1};this.tabsCascaderConfig.options.push(t),this.tabsCascaderSelectedOptions.push(t.value);const n=v.reduce((e,t,n)=>(e[t]=n,e),{});y.forEach(i=>{const r={label:i.name[this.ndConfig.languageType],value:i,children:[],order:i.order};e[i.id].forEach(e=>{const i={label:e.name[this.ndConfig.languageType],value:e,order:e.order};v.includes(e.id)&&t.children.push(Object.assign(Object.assign({},i),{order:n[e.id]})),r.children.push(i)}),this.tabsCascaderConfig.options.push(r)}),this.tabsCascaderConfig.options=this.sortOptions(this.tabsCascaderConfig.options)}initAirports(){this.tabsCascaderConfig||(this.tabsCascaderConfig=new P),this.tabsCascaderConfig.groupMode=!0,this.tabsCascaderConfig.options=[],this.tabsCascaderSelectedOptions=[],this.tabsCascaderConfig.width="en-US"===this.ndConfig.languageType?800:680,this.tabsCascaderConfig.height=.37456*this.tabsCascaderConfig.width;const e={},t={};z.forEach(e=>{void 0===t[e.region.id]&&(t[e.region.id]=[]),t[e.region.id].push(e)}),S.forEach(n=>{void 0!==t[n.id]&&(void 0===e[n.continentID]&&(e[n.continentID]=[]),e[n.continentID].push(n))});const n=x.reduce((e,t,n)=>(e[t]=n,e),{}),i={label:"zh-CN"!==this.ndConfig.languageType?"Top Cities":"\u70ed\u95e8",value:new g("",d.c.Continent,"\u70ed\u95e8","Top Cities",null,0),children:[],order:-1};this.tabsCascaderConfig.options.push(i),this.tabsCascaderSelectedOptions.push(i.value),y.forEach(r=>{const o={label:r.name[this.ndConfig.languageType],value:r,children:[],order:r.order};void 0!==e[r.id]&&e[r.id].forEach(e=>{const r=t[e.id].map(e=>({label:e.name[this.ndConfig.languageType],value:e,children:null,order:e.order})),s={label:e.name[this.ndConfig.languageType],value:e,children:r,order:r&&0!==r.length?Math.floor(r.reduce((e,t)=>e+t.order,0)/r.length):9999};x.includes(e.id)&&i.children.push(Object.assign(Object.assign({},s),{order:n[e.id]})),o.children.push(s)}),this.tabsCascaderConfig.options.push(o)}),this.tabsCascaderConfig.options=this.sortOptions(this.tabsCascaderConfig.options)}sortOptions(e){let t=e;return e&&e.length>1&&(e.forEach(e=>{e.children=this.sortOptions(e.children)}),t=e.sort((e,t)=>e.order-t.order)),t}initGlobalEventHandle(){this.subscriptions._appEventHub=this._appEventHub.events.pipe(Object(a.a)(e=>e instanceof k.h)).subscribe({next:e=>{this.ndConfig.languageType=e.lang,this.initDefaultOptions(),this.reset()}})}ngOnChanges(e){const t=e.ndConfig;if(t){const e=t.currentValue,n=t.previousValue;(e&&e.airportMode)!==(n&&n.airportMode)&&this.initDefaultOptions()}}updateKeywordValue(e){this.keyword=e,this.keyword_tag_position_left=this.calculateKeywordTagPositionLeft(e)}calculateKeywordTagPositionLeft(e){if(this._keywordLengthDetector&&this._keywordInputElement){const t=this._keywordInputElement.nativeElement.clientWidth;this._keywordLengthDetector.innerHTML=e||"";const n=this._keywordLengthDetector.clientWidth,i=Math.min(n+4,t-56);return console.log(`keyword length: ${n}, left: ${i}`),i}return 0}get showSearchKeywordTag(){if(this.ndConfig.showInputRegionTag&&this.isCN){if("focus"===this._keywordInputStatus)return!1;if(this._currentValue&&this._currentValue.category)switch(this._currentValue.category){case d.c.MultiCity:case d.c.MultiRegion:case d.c.HighLevelRegion:case d.c.Province:case d.c.Country:return this._currentValue.name===this.keyword;default:return!1}}return!1}}return e.\u0275fac=function(t){return new(t||e)(o.Qb(k.f),o.Qb(k.l),o.Qb(o.l),o.Qb(h.e))},e.\u0275cmp=o.Kb({type:e,selectors:[["nd-suggestion-typeahead"]],viewQuery:function(e,t){if(1&e&&o.Xc(X,3,o.l),2&e){let e;o.Dc(e=o.mc())&&(t._keywordInputElement=e.first)}},inputs:{ndConfig:"ndConfig",ndDropdownOffset:"ndDropdownOffset",ndBackdrop:"ndBackdrop",ndShowLabel:"ndShowLabel"},outputs:{ndChange:"ndChange",ndAfterInit:"ndAfterInit"},features:[o.zb,o.Ab],decls:28,vars:23,consts:function(){let e,t,n,i,r,o,s,a,c,l,u,d,h,p;return e="City/Landmark/District/Hotel",t="Destination",n="Search By Keyword",i="Only Search In " + "\ufffd#6\ufffd" + "" + "\ufffd0\ufffd" + "" + "\ufffd/#6\ufffd" + "",r="Region",o="POI",s="Hotel",a="Former",c="Hotel",l="Airport",u="" + "\ufffd#4\ufffd" + " " + "\ufffd0\ufffd" + " " + "\ufffd/#4\ufffd" + " hotels nearby",d="Destination",h="No search result. Please update your key words.",p="Enter at least " + "\ufffd0\ufffd" + " characters",[[1,"nd-suggestion-typeahead"],["cdk-overlay-origin","",1,"nd-suggestion-search"],["origin","cdkOverlayOrigin"],[4,"ngIf"],[1,"nd-suggestion-input"],["autocomplete","off","type","text","name","keyword","placeholder",e,1,"nd-suggestion-input__keyword",3,"id","ngModel","ndValidate","ngModelChange","focus","blur","keyup","paste","change"],["keywordControl","ngModel"],["class","nd-suggestion-input__keyword-tag",3,"left","click",4,"ngIf"],[3,"ngSwitch"],["class","nd-suggestion-input__clean-button",3,"hidden","click",4,"ngSwitchCase"],["class","nd-suggestion-input__clean-button",4,"ngSwitchCase"],["cdk-connected-overlay","","nzConnectedOverlay","","cdkConnectedOverlayPanelClass","nd-suggestion-typeahead__dropdown",3,"cdkConnectedOverlayOrigin","cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayOpen","cdkConnectedOverlayOffsetX","cdkConnectedOverlayOffsetY","overlayOutsideClick","backdropClick"],[1,"nd-suggestion-search__header"],[3,"ngSwitch",4,"ngIf"],[1,"nd-suggestion-search__label",3,"for"],t,[4,"ngSwitchCase"],["class","nd-suggestion-search__checkbox","nz-checkbox","",3,"ngModel","ngModelChange",4,"ngIf"],["nz-checkbox","",1,"nd-suggestion-search__checkbox",3,"ngModel","ngModelChange"],[1,"nd-suggestion-search__checkbox-text"],n,[1,"nd-suggestion-search__sub-region"],i,[1,"nd-suggestion-search__em",3,"title"],[1,"nd-suggestion-search__close-button",3,"click"],["nz-icon","","nzType","close","nzTheme","outline"],[1,"nd-suggestion-input__keyword-tag",3,"click"],[1,"nd-suggestion-input__clean-button",3,"hidden","click"],[1,"nd-suggestion-input__clean-button"],["nz-icon","","nzType","loading","nzTheme","outline"],[1,"nd-suggestion-result",3,"hidden"],["class","nd-suggestion-result__group",4,"ngFor","ngForOf"],["class","nd-suggestion-result__group",4,"ngIf"],["class","nd-suggestion-result",4,"ngIf"],[1,"nd-suggestion-result__group"],["class","nd-suggestion-result__category",4,"ngIf"],[1,"nd-suggestion-result__list"],["class","nd-suggestion-item",3,"nd-suggestion-item__active","mouseenter","mouseleave","click",4,"ngFor","ngForOf"],[1,"nd-suggestion-result__category"],["nz-icon","","nzType","nd:business-district",1,"nd-suggestion-result__category-icon"],r,["nz-icon","","nzType","nd:sights",1,"nd-suggestion-result__category-icon"],o,["nz-icon","","nzType","nd:hotel",1,"nd-suggestion-result__category-icon"],s,[1,"nd-suggestion-item",3,"mouseenter","mouseleave","click"],[1,"nd-suggestion-item__main"],[1,"nd-suggestion-item__title"],[3,"lang","title","innerHTML"],[3,"lang","title","innerHTML",4,"ngIf"],["class","nd-suggestion-item__subtitle",4,"ngIf"],["class","nd-suggestion-item__extra nd-text-ellipsis",3,"title",4,"ngIf"],["class","nd-suggestion-item__extra",3,"title",4,"ngIf"],["class","nd-suggestion-item__extra",4,"ngIf"],[1,"nd-suggestion-item__subtitle"],["ndSize","small","ndColor","#FF5654","ndBorderless",""],a,[3,"innerHTML"],[1,"nd-suggestion-item__extra","nd-text-ellipsis",3,"title"],c,[1,"nd-suggestion-item__extra",3,"title"],l,[1,"nd-suggestion-item__extra"],u,d,[1,"nd-suggestion-result__list","nd-suggestion-result__list_full"],[1,"nd-suggestion-item"],h,[1,"nd-suggestion-result"],[1,"nd-text-error"],p,[3,"ndConfig","ngModel","ndChange","ngModelChange",4,"ngSwitchDefault"],[3,"ndConfig","ngModel","ndChange","ngModelChange",4,"ngSwitchCase"],[3,"ndConfig","ngModel","ndChange","ngModelChange"]]},template:function(e,t){if(1&e&&(o.Wb(0,"div",0),o.Sc(1,"\n "),o.Wb(2,"div",1,2),o.Sc(4,"\n "),o.Qc(5,ne,9,2,"ng-container",3),o.Sc(6,"\n "),o.Wb(7,"div",4),o.Sc(8,"\n "),o.Wb(9,"input",5,6),o.lc("ngModelChange",function(e){return t.keyword=e})("focus",function(){return t.setKeywordInputStatus("focus")})("blur",function(){return t.setKeywordInputStatus("blur")})("keyup",function(e){return t.searchInputKeyUp(e)})("paste",function(e){return t.searchInputKeyPaste(e)})("change",function(){return t.keywordChange()}),o.Vb(),o.Sc(11,"\n "),o.Qc(12,ie,2,2,"div",7),o.Sc(13,"\n "),o.Sc(14,"\n "),o.Sc(15,"\n "),o.Ub(16,8),o.Sc(17,"\n "),o.Qc(18,re,4,1,"div",9),o.Sc(19,"\n "),o.Qc(20,oe,4,0,"div",10),o.Sc(21,"\n "),o.Tb(),o.Sc(22,"\n "),o.Vb(),o.Sc(23,"\n "),o.Vb(),o.Sc(24,"\n "),o.Qc(25,Te,12,5,"ng-template",11),o.lc("overlayOutsideClick",function(e){return t.onClickOutside(e)})("backdropClick",function(){return t.onBackdropClick()}),o.Sc(26,"\n"),o.Vb(),o.Sc(27,"\n")),2&e){const e=o.Ec(3);o.Cb(2),o.Ib("nd-suggestion-search_mini",t.ndConfig.miniMode),o.Cb(3),o.wc("ngIf",!t.ndConfig.customizeLabel),o.Cb(2),o.Ib("nd-suggestion-input_focus",t.isKeywordInputOnFcous)("nd-suggestion-input_with-tag",t.showSearchKeywordTag),o.Cb(2),o.Nc("width",t.showSearchKeywordTag?t.keyword_tag_position_left-4:null,"px"),o.wc("id",t.searchKeywordId)("ngModel",t.keyword)("ndValidate",o.Bc(21,ke,t.currentSuggestionTypeaheadOptions.minKeywordLength)),o.Cb(3),o.wc("ngIf",t.showSearchKeywordTag),o.Cb(4),o.wc("ngSwitch",t.searchingSuggestion),o.Cb(2),o.wc("ngSwitchCase",!1),o.Cb(2),o.wc("ngSwitchCase",!0),o.Cb(5),o.wc("cdkConnectedOverlayOrigin",e)("cdkConnectedOverlayHasBackdrop",t.ndBackdrop)("cdkConnectedOverlayOpen",t.isShowSuggestionDropdown)("cdkConnectedOverlayOffsetX",t.ndDropdownOffset.left)("cdkConnectedOverlayOffsetY",t.ndDropdownOffset.top)}},directives:[D.b,h.o,M.d,I.a,M.o,M.r,h.q,h.r,D.a,A.a,R.a,j.a,h.n,V.a,h.s,Y],pipes:[K.a],styles:[".div-box-shadow,.nd-suggestion-result,.nd-suggestion-search__dropdown,.nd-suggestion-search__input-validate{border-radius:2px;background-color:#fff;box-shadow:0 2px 8px 0 rgba(152,158,175,.32)}.nd-suggestion-typeahead{padding:0;position:relative;font-size:14px}.nd-suggestion-typeahead__dropdown{position:relative;z-index:1030}.nd-suggestion-typeahead__dropdown-body{position:absolute}.nd-suggestion-result{width:790px}.nd-suggestion-result__group{display:flex;border-bottom:1px solid #ced4da}.nd-suggestion-result__group:last-child{border-bottom:0}.nd-suggestion-result__category-icon{text-align:center;font-size:24px;vertical-align:bottom}.nd-suggestion-result__category{flex:0 0 130px;padding:2px 16px;border-right:1px solid #ced4da;color:#1f2b4b;font-weight:600}.nd-suggestion-result__category[lang=zh-CN]{flex:0 0 100px}.nd-suggestion-result__list{flex:auto}.nd-suggestion-result__list_full{max-width:790px}.nd-suggestion-item{padding:5px 12px;display:flex;justify-content:space-between;align-items:center;cursor:pointer;color:#1f2b4b}.nd-suggestion-item__main{width:65%}.nd-suggestion-item__extra{width:35%;color:#676f86;text-align:right;font-size:12px}.nd-suggestion-item__title{line-height:22px}.nd-suggestion-item__subtitle{font-size:12px;line-height:20px;color:#676f86}.nd-suggestion-item__tag{display:inline-block;width:16px;height:16px;background-color:#f32a4e;color:#fff;border-radius:2px;text-align:center}.nd-suggestion-item__keyword{font-weight:500;color:#f32a4e}.nd-suggestion-item__active{color:#f32a4e;background-color:#fbeff0}.nd-suggestion-item__active .nd-suggestion-item__extra,.nd-suggestion-item__active .nd-suggestion-item__subtitle{color:#f32a4e}.nd-suggestion-search__header{line-height:22px;margin-bottom:8px;display:flex;align-items:center;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nd-suggestion-search_mini .nd-suggestion-search__header{display:none}.nd-suggestion-search__label{color:#676f86;font-weight:400;margin-bottom:0}.nd-suggestion-search__em{color:#1f2b4b}.nd-suggestion-search__sub-region{display:inline-block;padding-right:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nd-suggestion-search__close-button{position:absolute;color:#1f2b4b;right:0;cursor:pointer}.nd-suggestion-search__close-button:hover{color:#f32a4e}.nd-suggestion-search__checkbox{position:relative;margin-left:32px;padding-left:0}.nd-suggestion-search__checkbox-text{font-weight:400}.nd-suggestion-search__dropdown{display:inline-block;width:auto;position:absolute;top:20px;left:0}.nd-suggestion-search__dropdown-list{margin:0}.nd-suggestion-search__dropdown-item{padding:5px 20px;text-align:center;cursor:pointer;white-space:nowrap}.nd-suggestion-search__dropdown-item:first-child{border-radius:4px 4px 0 0}.nd-suggestion-search__dropdown-item:last-child{border-radius:0 0 4px 4px}.nd-suggestion-search__dropdown-item:hover,.nd-suggestion-search__dropdown-item_active{background:#f32a4e}.nd-suggestion-search__input-validate{position:absolute;left:0;top:40px;z-index:1030;width:100%;padding:10px;color:#fff;background:#f32a4e}.nd-suggestion-input{line-height:22px;padding-right:30px;position:relative;font-weight:600}.nd-suggestion-input__clean-button{position:absolute;top:0;right:0;cursor:pointer}.nd-suggestion-input__clean-button:hover{color:#f32a4e}.nd-suggestion-input__keyword{background:transparent;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;color:#1f2b4b;font-weight:600}.nd-suggestion-input__keyword::placeholder{font-weight:400;color:#1f2b4b}.nd-suggestion-input__keyword-tag{display:inline-block;position:absolute;text-align:center;font-size:12px;line-height:20px;font-weight:400;width:56px;color:#f32a4e;border-radius:4px;background-color:rgba(255,2,100,.06)}:host-context(.typeahead-align-left) .nd-suggestion-typeahead__dropdown-body{left:0}:host-context(.typeahead-near-input) .nd-suggestion-typeahead__dropdown-body{top:4px}.suggestion-outreach{display:inline-flex;padding:0 10px;margin:8px 0;border-radius:4px;background-color:#feece0}.suggestion-outreach__icon{font-size:32px}.suggestion-outreach__content{font-size:14px;line-height:22px;flex-grow:1;padding:5px 2px}.suggestion-outreach__content a{color:#fa6400}"],encapsulation:2}),e})()},dLU1:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var i=n("/h9T"),r=n("/Tr7"),o=n("jIYg");function s(e,t){Object(o.a)(2,arguments);var n=Object(r.a)(e),s=Object(i.a)(t);if(isNaN(s))return new Date(NaN);if(!s)return n;var a=n.getDate(),c=new Date(n.getTime());c.setMonth(n.getMonth()+s+1,0);var l=c.getDate();return a>=l?c:(n.setFullYear(c.getFullYear(),c.getMonth(),a),n)}},"dgj+":function(e,t,n){"use strict";n.d(t,"g",function(){return a}),n.d(t,"h",function(){return c}),n.d(t,"f",function(){return s}),n.d(t,"b",function(){return l}),n.d(t,"a",function(){return u}),n.d(t,"d",function(){return d}),n.d(t,"e",function(){return h}),n.d(t,"c",function(){return p});var i=n("rUKz"),r=n("kScs"),o=n("NFKh");class s{static verifySignature(e,t,n){return r.Md5.hashStr(`${e}${t}`).toString()===n}static generateSignature(e){let t="Did@";return Object.keys(e).sort().forEach(n=>{Object.prototype.hasOwnProperty.call(e,n)&&null!=e[n]&&(t+=`${n}:${e[n]};`)}),t+="Tr@v3l",r.Md5.hashStr(t).toString()}static decode(e,t,n){const i=o.enc.Utf8.parse(t),r=o.enc.Utf8.parse(n.substr(0,16)),s=o.enc.Hex.parse(e),a=o.enc.Base64.stringify(s);return o.AES.decrypt(a,i,{iv:r,mode:o.mode.CBC,padding:o.pad.Pkcs7}).toString(o.enc.Utf8)}}const a=new class extends i.a{constructor(){super("ApplicationContextService")}getContext(e,t){return this.httpClientWrapper.get("/ApplicationContextApi/GetContext",{appName:e},{resultProcessor:e=>(e.__responseTime__=new Date,e.userPointAccountInfo&&"string"==typeof e.userPointAccountInfo.Balance&&(e.userPointAccountInfo.Balance=parseInt(e.userPointAccountInfo.Balance)),t&&t(e),e)})}getDidaToolKitConfig(e){let t="";return this.httpClientWrapper.get("/ApplicationContextApi/GetDidaToolKitConfig",{username:e},{payloadProcessor:e=>{const n={username:e.username,pin:(new Date).getTime()};return e.sign=t=s.generateSignature(n),e.pin=n.pin,e},resultProcessor:n=>{if(null!=n.Stamp){const i=s.verifySignature(t,e,n.Stamp);n.IsAllow=i&&n.IsAllow,n.IsAllow&&(n.sign=t)}else n.IsAllow=!1;return n}})}switchLanguage(e){return this.httpClientWrapper.post("/ApplicationContextApi/SwitchLanguage",{lang:e})}getContextRegion(){return this.httpClientWrapper.get("/ApplicationContextApi/GetContextRegion")}getNewFeatureLabels(){return this.httpClientWrapper.get("/ApplicationContextApi/GetNewFeatureLabels")}readSiteFeatureLabel(e){return this.httpClientWrapper.get("/ApplicationContextApi/ReadSiteFeatureLabel",{featureLabel:e})}},c=new class extends i.a{constructor(){super("AuthenticationService")}login(e){return this.httpClientWrapper.post("/AccountApi/Login",e)}logout(){return this.httpClientWrapper.post("/AccountApi/Logoff",null)}findPassword(e){return this.httpClientWrapper.post("/AccountApi/FindPassword",{Email:e})}resetPassword(e){return this.httpClientWrapper.post("/AccountApi/ResetPassword",e)}sendPhoneVerificationCode(e,t){return this.httpClientWrapper.post("/AccountApi/SendPhoneVerificationCode",{eventName:e,phone:t})}verifyIdentity(e){return this.httpClientWrapper.post("/AccountApi/VerifyIdentity",e)}};class l{static isAllowAccess(e,t){let n=[],i=!1;return e&&(e instanceof Array?n=e:"string"==typeof e?n=[e]:(i=e.grantAll,n=e.permissions)),i?l.isAllGranted(n,t):l.isGrantedAny(n,t)}static isAllGranted(e,t){if(!t)return!1;if(t.disabledIAM)return!0;if(!e||0===e.length)return!1;for(let n=0;n{class e{constructor(e,t,n,i){this.viewContainer=e,this.templateRef=t,this.appService=n,this.appEventHub=i,this.visible=!1,this.ignoreEmpty=!1}set ndExperiment(e){e&&(e instanceof Array?(this.includes=e,this.excludes=null):"object"==typeof e?(this.includes=e.includes,this.excludes=e.excludes,this.ignoreEmpty=!!e.ignoreEmpty):isNaN(e)?(this.includes=null,this.excludes=null):(this.includes=[e],this.excludes=null)),this._updateView()}ngOnInit(){this.subscription=this.appEventHub.events.pipe(Object(o.a)(e=>e instanceof r.g)).subscribe(e=>{this._updateView()})}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}_updateView(){const e=this.visible;if(this.ignoreEmpty&&!(null!=this.includes&&0!==this.includes.length||null!=this.excludes&&0!==this.excludes.length))return void this.viewContainer.createEmbeddedView(this.templateRef);const t=i.b.isAllowControl({includes:this.includes,excludes:this.excludes},this.appService.storage);t!==e&&(this.visible=t,this.visible?this.visible&&this.viewContainer.createEmbeddedView(this.templateRef):this.viewContainer.clear())}}return e.\u0275fac=function(t){return new(t||e)(s.Qb(s.R),s.Qb(s.N),s.Qb(r.j),s.Qb(r.f))},e.\u0275dir=s.Lb({type:e,selectors:[["","ndExperiment",""]],inputs:{ndExperiment:"ndExperiment"}}),e})()},eHCX:function(e,t,n){"use strict";n.d(t,"a",function(){return X}),n.d(t,"b",function(){return q});var i=n("cH1L"),r=n("ofXK"),o=n("fXoL");class s{constructor(e,t){this._document=t;const n=this._textarea=this._document.createElement("textarea"),i=n.style;i.position="fixed",i.top=i.opacity="0",i.left="-999em",n.setAttribute("aria-hidden","true"),n.value=e,this._document.body.appendChild(n)}copy(){const e=this._textarea;let t=!1;try{if(e){const n=this._document.activeElement;e.select(),e.setSelectionRange(0,e.value.length),t=this._document.execCommand("copy"),n&&n.focus()}}catch(n){}return t}destroy(){const e=this._textarea;e&&(e.parentNode&&e.parentNode.removeChild(e),this._textarea=void 0)}}let a=(()=>{class e{constructor(e){this._document=e}copy(e){const t=this.beginCopy(e),n=t.copy();return t.destroy(),n}beginCopy(e){return new s(e,this._document)}}return e.\u0275fac=function(t){return new(t||e)(o.hc(r.e))},e.\u0275prov=Object(o.Mb)({factory:function(){return new e(Object(o.hc)(r.e))},token:e,providedIn:"root"}),e})(),c=(()=>{class e{}return e.\u0275mod=o.Ob({type:e}),e.\u0275inj=o.Nb({factory:function(t){return new(t||e)}}),e})();var l=n("nLfN"),u=n("pdGh");let d=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o.Lb({type:e,selectors:[["button","nz-trans-button",""]],hostVars:8,hostBindings:function(e,t){2&e&&o.Nc("border","0")("background","transparent")("padding","0")("line-height","inherit")}}),e})(),h=(()=>{class e{}return e.\u0275mod=o.Ob({type:e}),e.\u0275inj=o.Nb({factory:function(t){return new(t||e)},imports:[[r.c]]}),e})();var p=n("Rm4T"),f=n("FwiY"),g=n("PTRe"),b=n("nJia"),m=n("XNiG"),y=n("quSY"),v=n("1G5W"),C=n("IzEk"),w=n("mrSG"),S=n("2Suw"),_=n("ejfv"),O=n("/KA4"),x=n("JwMs");function z(e,t){if(1&e&&(o.Ub(0),o.Rb(1,"i",2),o.Tb()),2&e){const e=t.$implicit;o.Cb(1),o.wc("nzType",e)}}const T=["textarea"];function k(e,t){if(1&e&&(o.Ub(0),o.Rb(1,"i",4),o.Tb()),2&e){const e=t.$implicit;o.Cb(1),o.wc("nzType",e)}}function P(e,t){if(1&e){const e=o.Xb();o.Wb(0,"button",2),o.lc("click",function(){return o.Hc(e),o.oc().onClick()}),o.Qc(1,k,2,1,"ng-container",3),o.Vb()}if(2&e){const e=o.oc();o.wc("nzTooltipTitle",null===e.tooltip?null:e.tooltip||(null==e.locale?null:e.locale.edit)),o.Cb(1),o.wc("nzStringTemplateOutlet",e.icon)}}function E(e,t){if(1&e){const e=o.Xb();o.Ub(0),o.Wb(1,"textarea",5,6),o.lc("input",function(t){return o.Hc(e),o.oc().onInput(t)})("blur",function(){return o.Hc(e),o.oc().confirm()})("keydown.esc",function(){return o.Hc(e),o.oc().onCancel()})("keydown.enter",function(t){return o.Hc(e),o.oc().onEnter(t)}),o.Vb(),o.Wb(3,"button",7),o.lc("click",function(){return o.Hc(e),o.oc().confirm()}),o.Rb(4,"i",8),o.Vb(),o.Tb()}}const D=["ellipsisContainer"],M=["expandable"],I=["contentTemplate"];function A(e,t){1&e&&o.uc(0,0,["*ngIf","!content"])}function R(e,t){if(1&e&&(o.Qc(0,A,1,0,"ng-content",1),o.Sc(1)),2&e){const e=t.content;o.wc("ngIf",!e),o.Cb(1),o.Uc(" ",e," ")}}function j(e,t){}function V(e,t){if(1&e&&(o.Ub(0),o.Sc(1),o.Tb()),2&e){const e=o.oc(3);o.Cb(1),o.Tc(e.nzSuffix)}}const L=function(e){return{content:e}};function N(e,t){if(1&e&&(o.Ub(0),o.Qc(1,j,0,0,"ng-template",6),o.Qc(2,V,2,1,"ng-container",1),o.Tb()),2&e){const e=o.oc(2),t=o.Ec(1);o.Cb(1),o.wc("ngTemplateOutlet",t)("ngTemplateOutletContext",o.Bc(3,L,e.nzContent)),o.Cb(1),o.wc("ngIf",e.nzSuffix)}}function F(e,t){if(1&e&&(o.Ub(0),o.Sc(1),o.Tb()),2&e){const e=o.oc(3);o.Cb(1),o.Tc(e.ellipsisStr)}}function B(e,t){if(1&e&&(o.Ub(0),o.Sc(1),o.Tb()),2&e){const e=o.oc(3);o.Cb(1),o.Tc(e.nzSuffix)}}function W(e,t){if(1&e){const e=o.Xb();o.Wb(0,"a",9,10),o.lc("click",function(){return o.Hc(e),o.oc(3).onExpand()}),o.Sc(2),o.Vb()}if(2&e){const e=o.oc(3);o.Cb(2),o.Tc(null==e.locale?null:e.locale.expand)}}function H(e,t){if(1&e&&(o.Rb(0,"span",null,7),o.Qc(2,F,2,1,"ng-container",1),o.Qc(3,B,2,1,"ng-container",1),o.Qc(4,W,3,1,"a",8)),2&e){const e=o.oc(2);o.Cb(2),o.wc("ngIf",e.isEllipsis),o.Cb(1),o.wc("ngIf",e.nzSuffix),o.Cb(1),o.wc("ngIf",e.nzExpandable&&e.isEllipsis)}}function U(e,t){if(1&e&&(o.Ub(0),o.Qc(1,N,3,5,"ng-container",4),o.Qc(2,H,5,3,"ng-template",null,5,o.Rc),o.Tb()),2&e){const e=o.Ec(3),t=o.oc();o.Cb(1),o.wc("ngIf",t.expanded||!t.hasOperationsWithEllipsis&&1===t.nzEllipsisRows&&!t.hasEllipsisObservers||t.canCssEllipsis||t.nzSuffix&&t.expanded)("ngIfElse",e)}}function $(e,t){if(1&e){const e=o.Xb();o.Wb(0,"nz-text-edit",11),o.lc("endEditing",function(t){return o.Hc(e),o.oc().onEndEditing(t)})("startEditing",function(){return o.Hc(e),o.oc().onStartEditing()}),o.Vb()}if(2&e){const e=o.oc();o.wc("text",e.nzContent)("icon",e.nzEditIcon)("tooltip",e.nzEditTooltip)}}function Q(e,t){if(1&e){const e=o.Xb();o.Wb(0,"nz-text-copy",12),o.lc("textCopy",function(t){return o.Hc(e),o.oc().onTextCopy(t)}),o.Vb()}if(2&e){const e=o.oc();o.wc("text",e.copyText)("tooltips",e.nzCopyTooltips)("icons",e.nzCopyIcons)}}const G=["*"];let Y=(()=>{class e{constructor(e,t,n,i){this.host=e,this.cdr=t,this.clipboard=n,this.i18n=i,this.copied=!1,this.copyId=-1,this.nativeElement=this.host.nativeElement,this.copyTooltip=null,this.copedTooltip=null,this.copyIcon="copy",this.copedIcon="check",this.destroy$=new m.a,this.icons=["copy","check"],this.textCopy=new o.n}ngOnInit(){this.i18n.localeChange.pipe(Object(v.a)(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Text"),this.updateTooltips(),this.cdr.markForCheck()})}ngOnChanges(e){const{tooltips:t,icons:n}=e;t&&this.updateTooltips(),n&&this.updateIcons()}ngOnDestroy(){clearTimeout(this.copyId),this.destroy$.next(),this.destroy$.complete()}onClick(){if(this.copied)return;this.copied=!0,this.cdr.detectChanges();const e=this.text;this.textCopy.emit(e),this.clipboard.copy(e),this.onCopied()}onCopied(){clearTimeout(this.copyId),this.copyId=setTimeout(()=>{this.copied=!1,this.cdr.detectChanges()},3e3)}updateTooltips(){var e,t,n,i;if(null===this.tooltips)this.copedTooltip=null,this.copyTooltip=null;else if(Array.isArray(this.tooltips)){const[n,i]=this.tooltips;this.copyTooltip=n||(null===(e=this.locale)||void 0===e?void 0:e.copy),this.copedTooltip=i||(null===(t=this.locale)||void 0===t?void 0:t.copied)}else this.copyTooltip=null===(n=this.locale)||void 0===n?void 0:n.copy,this.copedTooltip=null===(i=this.locale)||void 0===i?void 0:i.copied;this.cdr.markForCheck()}updateIcons(){const[e,t]=this.icons;this.copyIcon=e,this.copedIcon=t,this.cdr.markForCheck()}}return e.\u0275fac=function(t){return new(t||e)(o.Qb(o.l),o.Qb(o.h),o.Qb(a),o.Qb(p.d))},e.\u0275cmp=o.Kb({type:e,selectors:[["nz-text-copy"]],inputs:{icons:"icons",text:"text",tooltips:"tooltips"},outputs:{textCopy:"textCopy"},exportAs:["nzTextCopy"],features:[o.Ab],decls:2,vars:4,consts:[["type","button","nz-tooltip","","nz-trans-button","",1,"ant-typography-copy",3,"nzTooltipTitle","click"],[4,"nzStringTemplateOutlet"],["nz-icon","",3,"nzType"]],template:function(e,t){1&e&&(o.Wb(0,"button",0),o.lc("click",function(){return t.onClick()}),o.Qc(1,z,2,1,"ng-container",1),o.Vb()),2&e&&(o.Ib("ant-typography-copy-success",t.copied),o.wc("nzTooltipTitle",t.copied?t.copedTooltip:t.copyTooltip),o.Cb(1),o.wc("nzStringTemplateOutlet",t.copied?t.copedIcon:t.copyIcon))},directives:[d,b.d,u.b,f.a],encapsulation:2,changeDetection:0}),e})(),K=(()=>{class e{constructor(e,t,n,i){this.zone=e,this.host=t,this.cdr=n,this.i18n=i,this.editing=!1,this.destroy$=new m.a,this.icon="edit",this.startEditing=new o.n,this.endEditing=new o.n(!0),this.nativeElement=this.host.nativeElement}ngOnInit(){this.i18n.localeChange.pipe(Object(v.a)(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Text"),this.cdr.markForCheck()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}onClick(){this.beforeText=this.text,this.currentText=this.beforeText,this.editing=!0,this.startEditing.emit(),this.focusAndSetValue()}confirm(){this.editing=!1,this.endEditing.emit(this.currentText)}onInput(e){this.currentText=e.target.value}onEnter(e){e.stopPropagation(),e.preventDefault(),this.confirm()}onCancel(){this.currentText=this.beforeText,this.confirm()}focusAndSetValue(){this.zone.onStable.pipe(Object(C.a)(1),Object(v.a)(this.destroy$)).subscribe(()=>{var e;(null===(e=this.textarea)||void 0===e?void 0:e.nativeElement)&&(this.textarea.nativeElement.focus(),this.textarea.nativeElement.value=this.currentText||"",this.autosizeDirective.resizeToFitContent(),this.cdr.markForCheck())})}}return e.\u0275fac=function(t){return new(t||e)(o.Qb(o.B),o.Qb(o.l),o.Qb(o.h),o.Qb(p.d))},e.\u0275cmp=o.Kb({type:e,selectors:[["nz-text-edit"]],viewQuery:function(e,t){if(1&e&&(o.Xc(T,1),o.Xc(g.a,1)),2&e){let e;o.Dc(e=o.mc())&&(t.textarea=e.first),o.Dc(e=o.mc())&&(t.autosizeDirective=e.first)}},inputs:{icon:"icon",text:"text",tooltip:"tooltip"},outputs:{startEditing:"startEditing",endEditing:"endEditing"},exportAs:["nzTextEdit"],decls:2,vars:2,consts:[["nz-tooltip","","nz-trans-button","","class","ant-typography-edit",3,"nzTooltipTitle","click",4,"ngIf"],[4,"ngIf"],["nz-tooltip","","nz-trans-button","",1,"ant-typography-edit",3,"nzTooltipTitle","click"],[4,"nzStringTemplateOutlet"],["nz-icon","",3,"nzType"],["nz-input","","nzAutosize","",3,"input","blur","keydown.esc","keydown.enter"],["textarea",""],["nz-trans-button","",1,"ant-typography-edit-content-confirm",3,"click"],["nz-icon","","nzType","enter"]],template:function(e,t){1&e&&(o.Qc(0,P,2,2,"button",0),o.Qc(1,E,5,0,"ng-container",1)),2&e&&(o.wc("ngIf",!t.editing),o.Cb(1),o.wc("ngIf",t.editing))},directives:[r.o,d,b.d,u.b,f.a,g.b,g.a],encapsulation:2,changeDetection:0}),e})(),X=(()=>{class e{constructor(e,t,n,i,r,s,a,c,l,u){this.nzConfigService=e,this.host=t,this.cdr=n,this.viewContainerRef=i,this.renderer=r,this.platform=s,this.i18n=a,this.resizeService=l,this.directionality=u,this._nzModuleName="typography",this.nzCopyable=!1,this.nzEditable=!1,this.nzDisabled=!1,this.nzExpandable=!1,this.nzEllipsis=!1,this.nzCopyTooltips=void 0,this.nzCopyIcons=["copy","check"],this.nzEditTooltip=void 0,this.nzEditIcon="edit",this.nzEllipsisRows=1,this.nzContentChange=new o.n,this.nzCopy=new o.n,this.nzExpandChange=new o.n,this.nzOnEllipsis=new o.n,this.expandableBtnElementCache=null,this.editing=!1,this.cssEllipsis=!1,this.isEllipsis=!0,this.expanded=!1,this.ellipsisStr="...",this.dir="ltr",this.viewInit=!1,this.rfaId=-1,this.destroy$=new m.a,this.windowResizeSubscription=y.a.EMPTY,this.document=c}get hasEllipsisObservers(){return this.nzOnEllipsis.observers.length>0}get canCssEllipsis(){return this.nzEllipsis&&this.cssEllipsis&&!this.expanded&&!this.hasEllipsisObservers}get hasOperationsWithEllipsis(){return(this.nzCopyable||this.nzEditable||this.nzExpandable)&&this.nzEllipsis}get copyText(){return"string"==typeof this.nzCopyText?this.nzCopyText:this.nzContent}onTextCopy(e){this.nzCopy.emit(e)}onStartEditing(){this.editing=!0}onEndEditing(e){this.editing=!1,this.nzContentChange.emit(e),this.nzContent===e&&this.renderOnNextFrame(),this.cdr.markForCheck()}onExpand(){this.isEllipsis=!1,this.expanded=!0,this.nzExpandChange.emit(),this.nzOnEllipsis.emit(!1)}canUseCSSEllipsis(){return!(this.nzEditable||this.nzCopyable||this.nzExpandable||this.nzSuffix)&&!this.hasEllipsisObservers&&(1===this.nzEllipsisRows?Object(O.k)("textOverflow"):Object(O.k)("webkitLineClamp"))}renderOnNextFrame(){Object(_.a)(this.rfaId),!this.viewInit||!this.nzEllipsis||this.nzEllipsisRows<0||this.expanded||!this.platform.isBrowser||(this.rfaId=Object(_.b)(()=>{this.syncEllipsis()}))}getOriginContentViewRef(){const e=this.viewContainerRef.createEmbeddedView(this.contentTemplate,{content:this.nzContent});return e.detectChanges(),{viewRef:e,removeView:()=>{this.viewContainerRef.remove(this.viewContainerRef.indexOf(e))}}}syncEllipsis(){if(this.cssEllipsis)return;const{viewRef:e,removeView:t}=this.getOriginContentViewRef(),n=[this.textCopyRef,this.textEditRef].filter(e=>e&&e.nativeElement).map(e=>e.nativeElement),i=this.getExpandableBtnElement();i&&n.push(i);const{contentNodes:r,text:o,ellipsis:s}=Object(O.n)(this.host.nativeElement,this.nzEllipsisRows,e.rootNodes,n,this.ellipsisStr,this.nzSuffix);t(),this.ellipsisText=o,s!==this.isEllipsis&&(this.isEllipsis=s,this.nzOnEllipsis.emit(s));const a=this.ellipsisContainer.nativeElement;for(;a.firstChild;)this.renderer.removeChild(a,a.firstChild);r.forEach(e=>{this.renderer.appendChild(a,e.cloneNode(!0))}),this.cdr.markForCheck()}getExpandableBtnElement(){if(this.nzExpandable){const e=this.locale?this.locale.expand:"",t=this.expandableBtnElementCache;if(!t||t.innerText===e){const t=this.document.createElement("a");t.className="ant-typography-expand",t.innerText=e,this.expandableBtnElementCache=t}return this.expandableBtnElementCache}return this.expandableBtnElementCache=null,null}renderAndSubscribeWindowResize(){this.platform.isBrowser&&(this.windowResizeSubscription.unsubscribe(),this.cssEllipsis=this.canUseCSSEllipsis(),this.renderOnNextFrame(),this.windowResizeSubscription=this.resizeService.subscribe().pipe(Object(v.a)(this.destroy$)).subscribe(()=>this.renderOnNextFrame()))}ngOnInit(){var e;this.i18n.localeChange.pipe(Object(v.a)(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Text"),this.cdr.markForCheck()}),null===(e=this.directionality.change)||void 0===e||e.pipe(Object(v.a)(this.destroy$)).subscribe(e=>{this.dir=e,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngAfterViewInit(){this.viewInit=!0,this.renderAndSubscribeWindowResize()}ngOnChanges(e){const{nzCopyable:t,nzEditable:n,nzExpandable:i,nzEllipsis:r,nzContent:o,nzEllipsisRows:s,nzSuffix:a}=e;(t||n||i||r||o||s||a)&&this.nzEllipsis&&(this.expanded?this.windowResizeSubscription.unsubscribe():this.renderAndSubscribeWindowResize())}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.expandableBtnElementCache=null,this.windowResizeSubscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(o.Qb(S.b),o.Qb(o.l),o.Qb(o.h),o.Qb(o.R),o.Qb(o.G),o.Qb(l.a),o.Qb(p.d),o.Qb(r.e),o.Qb(x.d),o.Qb(i.c,8))},e.\u0275cmp=o.Kb({type:e,selectors:[["nz-typography"],["","nz-typography",""],["p","nz-paragraph",""],["span","nz-text",""],["h1","nz-title",""],["h2","nz-title",""],["h3","nz-title",""],["h4","nz-title",""]],viewQuery:function(e,t){if(1&e&&(o.Xc(K,1),o.Xc(Y,1),o.Xc(D,1),o.Xc(M,1),o.Xc(I,1)),2&e){let e;o.Dc(e=o.mc())&&(t.textEditRef=e.first),o.Dc(e=o.mc())&&(t.textCopyRef=e.first),o.Dc(e=o.mc())&&(t.ellipsisContainer=e.first),o.Dc(e=o.mc())&&(t.expandableBtn=e.first),o.Dc(e=o.mc())&&(t.contentTemplate=e.first)}},hostVars:24,hostBindings:function(e,t){2&e&&(o.Nc("-webkit-line-clamp",t.canCssEllipsis&&t.nzEllipsisRows>1?t.nzEllipsisRows:null),o.Ib("ant-typography",!t.editing)("ant-typography-rtl","rtl"===t.dir)("ant-typography-edit-content",t.editing)("ant-typography-secondary","secondary"===t.nzType)("ant-typography-warning","warning"===t.nzType)("ant-typography-danger","danger"===t.nzType)("ant-typography-success","success"===t.nzType)("ant-typography-disabled",t.nzDisabled)("ant-typography-ellipsis",t.nzEllipsis&&!t.expanded)("ant-typography-ellipsis-single-line",t.canCssEllipsis&&1===t.nzEllipsisRows)("ant-typography-ellipsis-multiple-line",t.canCssEllipsis&&t.nzEllipsisRows>1))},inputs:{nzCopyable:"nzCopyable",nzEditable:"nzEditable",nzDisabled:"nzDisabled",nzExpandable:"nzExpandable",nzEllipsis:"nzEllipsis",nzCopyTooltips:"nzCopyTooltips",nzCopyIcons:"nzCopyIcons",nzEditTooltip:"nzEditTooltip",nzEditIcon:"nzEditIcon",nzEllipsisRows:"nzEllipsisRows",nzContent:"nzContent",nzType:"nzType",nzCopyText:"nzCopyText",nzSuffix:"nzSuffix"},outputs:{nzContentChange:"nzContentChange",nzCopy:"nzCopy",nzExpandChange:"nzExpandChange",nzOnEllipsis:"nzOnEllipsis"},exportAs:["nzTypography"],features:[o.Ab],ngContentSelectors:G,decls:5,vars:3,consts:[["contentTemplate",""],[4,"ngIf"],[3,"text","icon","tooltip","endEditing","startEditing",4,"ngIf"],[3,"text","tooltips","icons","textCopy",4,"ngIf"],[4,"ngIf","ngIfElse"],["jsEllipsis",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["ellipsisContainer",""],["class","ant-typography-expand",3,"click",4,"ngIf"],[1,"ant-typography-expand",3,"click"],["expandable",""],[3,"text","icon","tooltip","endEditing","startEditing"],[3,"text","tooltips","icons","textCopy"]],template:function(e,t){1&e&&(o.vc(),o.Qc(0,R,2,2,"ng-template",null,0,o.Rc),o.Qc(2,U,4,2,"ng-container",1),o.Qc(3,$,1,3,"nz-text-edit",2),o.Qc(4,Q,1,3,"nz-text-copy",3)),2&e&&(o.Cb(2),o.wc("ngIf",!t.editing),o.Cb(1),o.wc("ngIf",t.nzEditable),o.Cb(1),o.wc("ngIf",t.nzCopyable&&!t.editing))},directives:[r.o,r.t,K,Y],encapsulation:2,changeDetection:0}),Object(w.b)([Object(O.a)(),Object(w.c)("design:type",Object)],e.prototype,"nzCopyable",void 0),Object(w.b)([Object(O.a)(),Object(w.c)("design:type",Object)],e.prototype,"nzEditable",void 0),Object(w.b)([Object(O.a)(),Object(w.c)("design:type",Object)],e.prototype,"nzDisabled",void 0),Object(w.b)([Object(O.a)(),Object(w.c)("design:type",Object)],e.prototype,"nzExpandable",void 0),Object(w.b)([Object(O.a)(),Object(w.c)("design:type",Object)],e.prototype,"nzEllipsis",void 0),Object(w.b)([Object(S.c)(),Object(w.c)("design:type",Object)],e.prototype,"nzCopyTooltips",void 0),Object(w.b)([Object(S.c)(),Object(w.c)("design:type",Array)],e.prototype,"nzCopyIcons",void 0),Object(w.b)([Object(S.c)(),Object(w.c)("design:type",Object)],e.prototype,"nzEditTooltip",void 0),Object(w.b)([Object(S.c)(),Object(w.c)("design:type",Object)],e.prototype,"nzEditIcon",void 0),Object(w.b)([Object(S.c)(),Object(O.b)(),Object(w.c)("design:type",Number)],e.prototype,"nzEllipsisRows",void 0),e})(),q=(()=>{class e{}return e.\u0275mod=o.Ob({type:e}),e.\u0275inj=o.Nb({factory:function(t){return new(t||e)},imports:[[i.a,r.c,f.b,b.b,g.d,p.b,h,c,u.a],l.b]}),e})()},eIep:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var i=n("l7GE"),r=n("51Dv"),o=n("ZUHj"),s=n("lJxs"),a=n("Cfvw");function c(e,t){return"function"==typeof t?n=>n.pipe(c((n,i)=>Object(a.a)(e(n,i)).pipe(Object(s.a)((e,r)=>t(n,e,i,r))))):t=>t.lift(new l(e))}class l{constructor(e){this.project=e}call(e,t){return t.subscribe(new u(e,this.project))}}class u extends i.a{constructor(e,t){super(e),this.project=t,this.index=0}_next(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(i){return void this.destination.error(i)}this._innerSub(t,e,n)}_innerSub(e,t,n){const i=this.innerSubscription;i&&i.unsubscribe();const s=new r.a(this,t,n),a=this.destination;a.add(s),this.innerSubscription=Object(o.a)(this,e,void 0,void 0,s),this.innerSubscription!==s&&a.add(this.innerSubscription)}_complete(){const{innerSubscription:e}=this;e&&!e.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(e){this.destination.remove(e),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(e,t,n,i,r){this.destination.next(t)}}},egVX:function(e,t,n){"use strict";n.r(t);var i=n("jhN1"),r=n("tb4M"),o=n("ofXK"),s=n("3Pt+"),a=n("R1ws"),c=n("tyNb"),l=n("ocnv"),u=n("PTRe"),d=n("OzZK"),h=n("dEAy"),p=n("dgj+"),f=n("U8d7"),g=n("fXoL"),b=n("B+r4"),m=n("C2AL"),y=n("RwU8");function v(e,t){1&e&&(g.Wb(0,"p"),g.Sc(1,"\n This account is not certified so that you cannot visit the current page, please login with another account.\n "),g.Vb())}function C(e,t){1&e&&(g.Wb(0,"p"),g.Sc(1,"\n This account has been lock so that you cannot visit the current page, please login with another account.\n "),g.Vb())}function w(e,t){1&e&&(g.Wb(0,"p"),g.Sc(1,"The application need you to login before routing into sub-modules."),g.Vb())}function S(e,t){1&e&&(g.Ub(0),g.Sc(1,"Please input your Password!"),g.Tb())}function _(e,t){if(1&e&&(g.Ub(0),g.Sc(1),g.Tb()),2&e){const e=g.oc(2);g.Cb(1),g.Tc(e.error.message)}}function O(e,t){if(1&e&&(g.Sc(0,"\n "),g.Qc(1,S,2,0,"ng-container",11),g.Sc(2,"\n "),g.Qc(3,_,2,1,"ng-container",11),g.Sc(4,"\n ")),2&e){const e=t.$implicit;g.Cb(1),g.wc("ngIf",e.errors.required),g.Cb(2),g.wc("ngIf",e.errors.login)}}let x=(()=>{class e{constructor(e,t,n){this.modal=e,this.formBuilder=t,this.router=n,this.ConditionCheckError=r.p}ngOnInit(){this.loginForm=this.formBuilder.group({userName:["",[s.v.required]],password:["",[s.v.required]]})}ngAfterViewInit(){}login(){if(this.loginForm.valid)this.loading=!0,Object(r.K)(p.h.login({LoginIdentifier:this.loginForm.get("userName").value,Password:this.loginForm.get("password").value,RememberMe:!0,LoginToken:null})).subscribe({next:()=>{this.error=null},error:e=>{this.error=e,this.loginForm.get("password").setErrors({login:e.message})}}).add(()=>{this.loading=!1,this.error||(this.router.navigateByUrl(f.q.addParams(this.returnUrl||window.location.href,{"from-login":!0})).then(),this.modal.close(!0))});else for(const e in this.loginForm.controls)this.loginForm.controls.hasOwnProperty(e)&&(this.loginForm.controls[e].markAsDirty(),this.loginForm.controls[e].updateValueAndValidity())}}return e.\u0275fac=function(t){return new(t||e)(g.Qb(h.e),g.Qb(s.f),g.Qb(c.g))},e.\u0275cmp=g.Kb({type:e,selectors:[["nd-debug-login"]],inputs:{returnUrl:"returnUrl",reason:"reason"},decls:49,vars:7,consts:[[1,"debug-login-form"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["nz-form","",3,"formGroup","ngSubmit"],["nzErrorTip","Please input your username!"],["type","text","nz-input","","formControlName","userName","placeholder","Username"],[3,"nzErrorTip"],["type","password","nz-input","","formControlName","password","placeholder","Password"],["pwdErrorTips",""],["nz-button","",1,"login-form-button",3,"nzType","nzLoading"],[4,"ngIf"]],template:function(e,t){if(1&e&&(g.Wb(0,"div",0),g.Sc(1,"\n "),g.Ub(2,1),g.Sc(3,"\n "),g.Qc(4,v,2,0,"p",2),g.Sc(5,"\n "),g.Qc(6,C,2,0,"p",2),g.Sc(7,"\n "),g.Qc(8,w,2,0,"p",3),g.Sc(9,"\n "),g.Tb(),g.Sc(10,"\n\n "),g.Wb(11,"form",4),g.lc("ngSubmit",function(){return t.login()}),g.Sc(12,"\n "),g.Wb(13,"nz-form-item"),g.Sc(14,"\n "),g.Wb(15,"nz-form-control",5),g.Sc(16,"\n "),g.Wb(17,"nz-input-group"),g.Sc(18,"\n "),g.Rb(19,"input",6),g.Sc(20,"\n "),g.Vb(),g.Sc(21,"\n "),g.Vb(),g.Sc(22,"\n "),g.Vb(),g.Sc(23,"\n "),g.Wb(24,"nz-form-item"),g.Sc(25,"\n "),g.Wb(26,"nz-form-control",7),g.Sc(27,"\n "),g.Wb(28,"nz-input-group"),g.Sc(29,"\n "),g.Rb(30,"input",8),g.Sc(31,"\n "),g.Qc(32,O,5,2,"ng-template",null,9,g.Rc),g.Sc(34,"\n "),g.Vb(),g.Sc(35,"\n "),g.Vb(),g.Sc(36,"\n "),g.Vb(),g.Sc(37,"\n "),g.Wb(38,"nz-form-item"),g.Sc(39,"\n "),g.Wb(40,"nz-form-control"),g.Sc(41,"\n "),g.Wb(42,"button",10),g.Sc(43,"Log in"),g.Vb(),g.Sc(44,"\n "),g.Vb(),g.Sc(45,"\n "),g.Vb(),g.Sc(46,"\n "),g.Vb(),g.Sc(47,"\n"),g.Vb(),g.Sc(48,"\n")),2&e){const e=g.Ec(33);g.Cb(2),g.wc("ngSwitch",t.reason),g.Cb(2),g.wc("ngSwitchCase",t.ConditionCheckError.ClientRegistering),g.Cb(2),g.wc("ngSwitchCase",t.ConditionCheckError.AccountLocked),g.Cb(5),g.wc("formGroup",t.loginForm),g.Cb(15),g.wc("nzErrorTip",e),g.Cb(16),g.wc("nzType","primary")("nzLoading",t.loading)}},directives:[o.q,o.r,o.s,s.w,s.p,l.b,s.j,b.c,l.c,b.a,l.a,u.c,m.a,u.b,s.d,s.o,s.h,d.a,y.a,o.o],styles:[""]}),e})();const z={provide:r.s,deps:[h.f],useFactory:e=>(t,n)=>{e.create({nzTitle:"Login",nzFooter:null,nzClosable:!1,nzKeyboard:!1,nzMaskClosable:!1,nzContent:x,nzComponentParams:{returnUrl:t,reason:n}})}};let T=(()=>{class e{constructor(e){if(e)throw new Error("DidaUITKDebugLoginModule is already loaded. Import it in the AppModule only")}}return e.\u0275mod=g.Ob({type:e}),e.\u0275inj=g.Nb({factory:function(t){return new(t||e)(g.hc(e,12))},providers:[z],imports:[[s.t,o.c,s.k,c.k,l.e,u.d,d.c,h.d]]}),e})();var k=n("KYnA"),P=n("cuYk"),E=n("+oEP"),D=n("4xsP"),M=n("Tnpf");let I=(()=>{class e{}return e.\u0275mod=g.Ob({type:e}),e.\u0275inj=g.Nb({factory:function(t){return new(t||e)},providers:[],imports:[[o.c,c.k,k.a,E.b,P.a,b.b,D.c,M.a]]}),e})();var A=n("Rm4T");const R={"zh-CN":A.n,"en-US":A.f,"ja-JP":A.j,"id-ID":A.i,"ar-AE":A.e,"es-ES":A.g,"ko-KR":A.k,"fr-FR":A.h,"ru-RU":A.m,"pt-BR":A.l};let j=(()=>{class e{constructor(e,t,n){var i;if(this.nzI18nService=e,n)throw new Error("DidaUITKI18nModule has already been loaded. Import DidaUITKI18nModule in the AppModule only.");this.nzI18nService.setLocale(null!==(i=R[t])&&void 0!==i?i:A.f)}}return e.\u0275mod=g.Ob({type:e}),e.\u0275inj=g.Nb({factory:function(t){return new(t||e)(g.hc(A.d),g.hc(g.v),g.hc(e,12))},providers:[],imports:[[]]}),e})();var V=n("GYQ8"),L=n("NJZU"),N=n("kAy/"),F=n("9rm2"),B=n("6PmW"),W=n("mrSG"),H=n("cH1L"),U=n("2Suw"),$=n("JwMs"),Q=n("/KA4"),G=n("XNiG"),Y=n("jtHE"),K=n("1G5W"),X=n("FwiY"),q=n("zAKX");function J(e,t){}function Z(e,t){if(1&e&&(g.Ub(0),g.Qc(1,J,0,0,"ng-template",6),g.Tb()),2&e){g.oc(2);const e=g.Ec(2);g.Cb(1),g.wc("ngTemplateOutlet",e.template)}}function ee(e,t){if(1&e&&(g.Ub(0),g.Qc(1,Z,2,1,"ng-container",5),g.Tb()),2&e){const e=g.oc(),t=g.Ec(4);g.Cb(1),g.wc("ngIf",e.nzSimple)("ngIfElse",t.template)}}const te=["containerTemplate"];function ne(e,t){}const ie=function(e,t){return{$implicit:e,range:t}};function re(e,t){if(1&e&&(g.Wb(0,"li",4),g.Qc(1,ne,0,0,"ng-template",5),g.Vb()),2&e){const e=g.oc(2);g.Cb(1),g.wc("ngTemplateOutlet",e.showTotal)("ngTemplateOutletContext",g.Cc(2,ie,e.total,e.ranges))}}function oe(e,t){if(1&e){const e=g.Xb();g.Wb(0,"li",6),g.lc("gotoIndex",function(t){return g.Hc(e),g.oc(2).jumpPage(t)})("diffIndex",function(t){return g.Hc(e),g.oc(2).jumpDiff(t)}),g.Vb()}if(2&e){const e=t.$implicit,n=g.oc(2);g.wc("locale",n.locale)("type",e.type)("index",e.index)("disabled",!!e.disabled)("itemRender",n.itemRender)("active",n.pageIndex===e.index)("direction",n.dir)}}function se(e,t){if(1&e){const e=g.Xb();g.Wb(0,"div",7),g.lc("pageIndexChange",function(t){return g.Hc(e),g.oc(2).onPageIndexChange(t)})("pageSizeChange",function(t){return g.Hc(e),g.oc(2).onPageSizeChange(t)}),g.Vb()}if(2&e){const e=g.oc(2);g.wc("total",e.total)("locale",e.locale)("disabled",e.disabled)("nzSize",e.nzSize)("showSizeChanger",e.showSizeChanger)("showQuickJumper",e.showQuickJumper)("pageIndex",e.pageIndex)("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions)}}function ae(e,t){if(1&e&&(g.Qc(0,re,2,5,"li",1),g.Qc(1,oe,1,7,"li",2),g.Qc(2,se,1,9,"div",3)),2&e){const e=g.oc();g.wc("ngIf",e.showTotal),g.Cb(1),g.wc("ngForOf",e.listOfPageItem)("ngForTrackBy",e.trackByPageItem),g.Cb(1),g.wc("ngIf",e.showQuickJumper||e.showSizeChanger)}}const ce=["nz-pagination-item",""];function le(e,t){if(1&e&&(g.Wb(0,"a"),g.Sc(1),g.Vb()),2&e){const e=g.oc().page;g.Cb(1),g.Tc(e)}}function ue(e,t){1&e&&g.Rb(0,"i",9)}function de(e,t){1&e&&g.Rb(0,"i",10)}function he(e,t){if(1&e&&(g.Wb(0,"button",6),g.Ub(1,2),g.Qc(2,ue,1,0,"i",7),g.Qc(3,de,1,0,"i",8),g.Tb(),g.Vb()),2&e){const e=g.oc(2);g.wc("disabled",e.disabled),g.Cb(1),g.wc("ngSwitch",e.direction),g.Cb(1),g.wc("ngSwitchCase","rtl")}}function pe(e,t){1&e&&g.Rb(0,"i",10)}function fe(e,t){1&e&&g.Rb(0,"i",9)}function ge(e,t){if(1&e&&(g.Wb(0,"button",6),g.Ub(1,2),g.Qc(2,pe,1,0,"i",11),g.Qc(3,fe,1,0,"i",12),g.Tb(),g.Vb()),2&e){const e=g.oc(2);g.wc("disabled",e.disabled),g.Cb(1),g.wc("ngSwitch",e.direction),g.Cb(1),g.wc("ngSwitchCase","rtl")}}function be(e,t){1&e&&g.Rb(0,"i",20)}function me(e,t){1&e&&g.Rb(0,"i",21)}function ye(e,t){if(1&e&&(g.Ub(0,2),g.Qc(1,be,1,0,"i",18),g.Qc(2,me,1,0,"i",19),g.Tb()),2&e){const e=g.oc(4);g.wc("ngSwitch",e.direction),g.Cb(1),g.wc("ngSwitchCase","rtl")}}function ve(e,t){1&e&&g.Rb(0,"i",21)}function Ce(e,t){1&e&&g.Rb(0,"i",20)}function we(e,t){if(1&e&&(g.Ub(0,2),g.Qc(1,ve,1,0,"i",22),g.Qc(2,Ce,1,0,"i",23),g.Tb()),2&e){const e=g.oc(4);g.wc("ngSwitch",e.direction),g.Cb(1),g.wc("ngSwitchCase","rtl")}}function Se(e,t){if(1&e&&(g.Wb(0,"div",15),g.Ub(1,2),g.Qc(2,ye,3,2,"ng-container",16),g.Qc(3,we,3,2,"ng-container",16),g.Tb(),g.Wb(4,"span",17),g.Sc(5,"\u2022\u2022\u2022"),g.Vb(),g.Vb()),2&e){const e=g.oc(2).$implicit;g.Cb(1),g.wc("ngSwitch",e),g.Cb(1),g.wc("ngSwitchCase","prev_5"),g.Cb(1),g.wc("ngSwitchCase","next_5")}}function _e(e,t){if(1&e&&(g.Ub(0),g.Wb(1,"a",13),g.Qc(2,Se,6,3,"div",14),g.Vb(),g.Tb()),2&e){const e=g.oc().$implicit;g.Cb(1),g.wc("ngSwitch",e)}}function Oe(e,t){1&e&&(g.Ub(0,2),g.Qc(1,le,2,1,"a",3),g.Qc(2,he,4,3,"button",4),g.Qc(3,ge,4,3,"button",4),g.Qc(4,_e,3,1,"ng-container",5),g.Tb()),2&e&&(g.wc("ngSwitch",t.$implicit),g.Cb(1),g.wc("ngSwitchCase","page"),g.Cb(1),g.wc("ngSwitchCase","prev"),g.Cb(1),g.wc("ngSwitchCase","next"))}function xe(e,t){}const ze=function(e,t){return{$implicit:e,page:t}},Te=["nz-pagination-options",""];function ke(e,t){if(1&e&&g.Rb(0,"nz-option",4),2&e){const e=t.$implicit;g.wc("nzLabel",e.label)("nzValue",e.value)}}function Pe(e,t){if(1&e){const e=g.Xb();g.Wb(0,"nz-select",2),g.lc("ngModelChange",function(t){return g.Hc(e),g.oc().onPageSizeChange(t)}),g.Qc(1,ke,1,2,"nz-option",3),g.Vb()}if(2&e){const e=g.oc();g.wc("nzDisabled",e.disabled)("nzSize",e.nzSize)("ngModel",e.pageSize),g.Cb(1),g.wc("ngForOf",e.listOfPageSizeOption)("ngForTrackBy",e.trackByOption)}}function Ee(e,t){if(1&e){const e=g.Xb();g.Wb(0,"div",5),g.Sc(1),g.Wb(2,"input",6),g.lc("keydown.enter",function(t){return g.Hc(e),g.oc().jumpToPageViaInput(t)}),g.Vb(),g.Sc(3),g.Vb()}if(2&e){const e=g.oc();g.Cb(1),g.Uc(" ",e.locale.jump_to," "),g.Cb(1),g.wc("disabled",e.disabled),g.Cb(1),g.Uc(" ",e.locale.page," ")}}function De(e,t){if(1&e){const e=g.Xb();g.Wb(0,"li",1),g.lc("click",function(){return g.Hc(e),g.oc().prePage()}),g.Vb(),g.Wb(1,"li",2),g.Wb(2,"input",3),g.lc("keydown.enter",function(t){return g.Hc(e),g.oc().jumpToPageViaInput(t)}),g.Vb(),g.Wb(3,"span",4),g.Sc(4,"/"),g.Vb(),g.Sc(5),g.Vb(),g.Wb(6,"li",5),g.lc("click",function(){return g.Hc(e),g.oc().nextPage()}),g.Vb()}if(2&e){const e=g.oc();g.wc("disabled",e.isFirstIndex)("direction",e.dir)("itemRender",e.itemRender),g.Db("title",e.locale.prev_page),g.Cb(1),g.Db("title",e.pageIndex+"/"+e.lastIndex),g.Cb(1),g.wc("disabled",e.disabled)("value",e.pageIndex),g.Cb(3),g.Uc(" ",e.lastIndex," "),g.Cb(1),g.wc("disabled",e.isLastIndex)("direction",e.dir)("itemRender",e.itemRender),g.Db("title",null==e.locale?null:e.locale.next_page)}}let Me=(()=>{class e{constructor(e,t,n,i,r,o){this.i18n=e,this.cdr=t,this.breakpointService=n,this.nzConfigService=i,this.directionality=r,this.elementRef=o,this._nzModuleName="pagination",this.nzPageSizeChange=new g.n,this.nzPageIndexChange=new g.n,this.nzShowTotal=null,this.nzItemRender=null,this.nzSize="default",this.nzPageSizeOptions=[10,20,30,40],this.nzShowSizeChanger=!1,this.nzShowQuickJumper=!1,this.nzSimple=!1,this.nzDisabled=!1,this.nzResponsive=!1,this.nzHideOnSinglePage=!1,this.nzTotal=0,this.nzPageIndex=1,this.nzPageSize=10,this.showPagination=!0,this.size="default",this.dir="ltr",this.destroy$=new G.a,this.total$=new Y.a(1),this.elementRef.nativeElement.classList.add("ant-pagination")}validatePageIndex(e,t){return e>t?t:e<1?1:e}onPageIndexChange(e){const t=this.getLastIndex(this.nzTotal,this.nzPageSize),n=this.validatePageIndex(e,t);n===this.nzPageIndex||this.nzDisabled||(this.nzPageIndex=n,this.nzPageIndexChange.emit(this.nzPageIndex))}onPageSizeChange(e){this.nzPageSize=e,this.nzPageSizeChange.emit(e);const t=this.getLastIndex(this.nzTotal,this.nzPageSize);this.nzPageIndex>t&&this.onPageIndexChange(t)}onTotalChange(e){const t=this.getLastIndex(e,this.nzPageSize);this.nzPageIndex>t&&Promise.resolve().then(()=>this.onPageIndexChange(t))}getLastIndex(e,t){return Math.ceil(e/t)}ngOnInit(){var e;this.i18n.localeChange.pipe(Object(K.a)(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Pagination"),this.cdr.markForCheck()}),this.total$.pipe(Object(K.a)(this.destroy$)).subscribe(e=>{this.onTotalChange(e)}),this.breakpointService.subscribe($.g).pipe(Object(K.a)(this.destroy$)).subscribe(e=>{this.nzResponsive&&(this.size=e===$.a.xs?"small":"default",this.cdr.markForCheck())}),null===(e=this.directionality.change)||void 0===e||e.pipe(Object(K.a)(this.destroy$)).subscribe(e=>{this.dir=e,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}ngOnChanges(e){const{nzHideOnSinglePage:t,nzTotal:n,nzPageSize:i,nzSize:r}=e;n&&this.total$.next(this.nzTotal),(t||n||i)&&(this.showPagination=this.nzHideOnSinglePage&&this.nzTotal>this.nzPageSize||this.nzTotal>0&&!this.nzHideOnSinglePage),r&&(this.size=r.currentValue)}}return e.\u0275fac=function(t){return new(t||e)(g.Qb(A.d),g.Qb(g.h),g.Qb($.b),g.Qb(U.b),g.Qb(H.c,8),g.Qb(g.l))},e.\u0275cmp=g.Kb({type:e,selectors:[["nz-pagination"]],hostVars:8,hostBindings:function(e,t){2&e&&g.Ib("ant-pagination-simple",t.nzSimple)("ant-pagination-disabled",t.nzDisabled)("mini",!t.nzSimple&&"small"===t.size)("ant-pagination-rtl","rtl"===t.dir)},inputs:{nzShowTotal:"nzShowTotal",nzItemRender:"nzItemRender",nzSize:"nzSize",nzPageSizeOptions:"nzPageSizeOptions",nzShowSizeChanger:"nzShowSizeChanger",nzShowQuickJumper:"nzShowQuickJumper",nzSimple:"nzSimple",nzDisabled:"nzDisabled",nzResponsive:"nzResponsive",nzHideOnSinglePage:"nzHideOnSinglePage",nzTotal:"nzTotal",nzPageIndex:"nzPageIndex",nzPageSize:"nzPageSize"},outputs:{nzPageSizeChange:"nzPageSizeChange",nzPageIndexChange:"nzPageIndexChange"},exportAs:["nzPagination"],features:[g.Ab],decls:5,vars:18,consts:[[4,"ngIf"],[3,"disabled","itemRender","locale","pageSize","total","pageIndex","pageIndexChange"],["simplePagination",""],[3,"nzSize","itemRender","showTotal","disabled","locale","showSizeChanger","showQuickJumper","total","pageIndex","pageSize","pageSizeOptions","pageIndexChange","pageSizeChange"],["defaultPagination",""],[4,"ngIf","ngIfElse"],[3,"ngTemplateOutlet"]],template:function(e,t){1&e&&(g.Qc(0,ee,2,2,"ng-container",0),g.Wb(1,"nz-pagination-simple",1,2),g.lc("pageIndexChange",function(e){return t.onPageIndexChange(e)}),g.Vb(),g.Wb(3,"nz-pagination-default",3,4),g.lc("pageIndexChange",function(e){return t.onPageIndexChange(e)})("pageSizeChange",function(e){return t.onPageSizeChange(e)}),g.Vb()),2&e&&(g.wc("ngIf",t.showPagination),g.Cb(1),g.wc("disabled",t.nzDisabled)("itemRender",t.nzItemRender)("locale",t.locale)("pageSize",t.nzPageSize)("total",t.nzTotal)("pageIndex",t.nzPageIndex),g.Cb(2),g.wc("nzSize",t.size)("itemRender",t.nzItemRender)("showTotal",t.nzShowTotal)("disabled",t.nzDisabled)("locale",t.locale)("showSizeChanger",t.nzShowSizeChanger)("showQuickJumper",t.nzShowQuickJumper)("total",t.nzTotal)("pageIndex",t.nzPageIndex)("pageSize",t.nzPageSize)("pageSizeOptions",t.nzPageSizeOptions))},directives:function(){return[o.o,je,Ie,o.t]},encapsulation:2,changeDetection:0}),Object(W.b)([Object(U.c)(),Object(W.c)("design:type",String)],e.prototype,"nzSize",void 0),Object(W.b)([Object(U.c)(),Object(W.c)("design:type",Array)],e.prototype,"nzPageSizeOptions",void 0),Object(W.b)([Object(U.c)(),Object(Q.a)(),Object(W.c)("design:type",Object)],e.prototype,"nzShowSizeChanger",void 0),Object(W.b)([Object(U.c)(),Object(Q.a)(),Object(W.c)("design:type",Object)],e.prototype,"nzShowQuickJumper",void 0),Object(W.b)([Object(U.c)(),Object(Q.a)(),Object(W.c)("design:type",Object)],e.prototype,"nzSimple",void 0),Object(W.b)([Object(Q.a)(),Object(W.c)("design:type",Object)],e.prototype,"nzDisabled",void 0),Object(W.b)([Object(Q.a)(),Object(W.c)("design:type",Object)],e.prototype,"nzResponsive",void 0),Object(W.b)([Object(Q.a)(),Object(W.c)("design:type",Object)],e.prototype,"nzHideOnSinglePage",void 0),Object(W.b)([Object(Q.b)(),Object(W.c)("design:type",Object)],e.prototype,"nzTotal",void 0),Object(W.b)([Object(Q.b)(),Object(W.c)("design:type",Object)],e.prototype,"nzPageIndex",void 0),Object(W.b)([Object(Q.b)(),Object(W.c)("design:type",Object)],e.prototype,"nzPageSize",void 0),e})(),Ie=(()=>{class e{constructor(e,t,n,i){this.cdr=e,this.renderer=t,this.elementRef=n,this.directionality=i,this.nzSize="default",this.itemRender=null,this.showTotal=null,this.disabled=!1,this.showSizeChanger=!1,this.showQuickJumper=!1,this.total=0,this.pageIndex=1,this.pageSize=10,this.pageSizeOptions=[10,20,30,40],this.pageIndexChange=new g.n,this.pageSizeChange=new g.n,this.ranges=[0,0],this.listOfPageItem=[],this.dir="ltr",this.destroy$=new G.a,t.removeChild(t.parentNode(n.nativeElement),n.nativeElement)}ngOnInit(){var e;null===(e=this.directionality.change)||void 0===e||e.pipe(Object(K.a)(this.destroy$)).subscribe(e=>{this.dir=e,this.updateRtlStyle(),this.cdr.detectChanges()}),this.dir=this.directionality.value,this.updateRtlStyle()}updateRtlStyle(){"rtl"===this.dir?this.renderer.addClass(this.elementRef.nativeElement,"ant-pagination-rtl"):this.renderer.removeClass(this.elementRef.nativeElement,"ant-pagination-rtl")}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}jumpPage(e){this.onPageIndexChange(e)}jumpDiff(e){this.jumpPage(this.pageIndex+e)}trackByPageItem(e,t){return`${t.type}-${t.index}`}onPageIndexChange(e){this.pageIndexChange.next(e)}onPageSizeChange(e){this.pageSizeChange.next(e)}getLastIndex(e,t){return Math.ceil(e/t)}buildIndexes(){const e=this.getLastIndex(this.total,this.pageSize);this.listOfPageItem=this.getListOfPageItem(this.pageIndex,e)}getListOfPageItem(e,t){const n=(e,t)=>{const n=[];for(let i=e;i<=t;i++)n.push({index:i,type:"page"});return n};return i=t<=9?n(1,t):((e,i)=>{let r=[];const o={type:"prev_5"},s={type:"next_5"},a=n(1,1),c=n(t,t);return r=e<4?[...n(2,5),s]:e{class e{constructor(){this.active=!1,this.index=null,this.disabled=!1,this.direction="ltr",this.type=null,this.itemRender=null,this.diffIndex=new g.n,this.gotoIndex=new g.n,this.title=null}clickItem(){this.disabled||("page"===this.type?this.gotoIndex.emit(this.index):this.diffIndex.emit({next:1,prev:-1,prev_5:-5,next_5:5}[this.type]))}ngOnChanges(e){var t,n,i,r;const{locale:o,index:s,type:a}=e;(o||s||a)&&(this.title={page:`${this.index}`,next:null===(t=this.locale)||void 0===t?void 0:t.next_page,prev:null===(n=this.locale)||void 0===n?void 0:n.prev_page,prev_5:null===(i=this.locale)||void 0===i?void 0:i.prev_5,next_5:null===(r=this.locale)||void 0===r?void 0:r.next_5}[this.type])}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=g.Kb({type:e,selectors:[["li","nz-pagination-item",""]],hostVars:19,hostBindings:function(e,t){1&e&&g.lc("click",function(){return t.clickItem()}),2&e&&(g.Db("title",t.title),g.Ib("ant-pagination-prev","prev"===t.type)("ant-pagination-next","next"===t.type)("ant-pagination-item","page"===t.type)("ant-pagination-jump-prev","prev_5"===t.type)("ant-pagination-jump-prev-custom-icon","prev_5"===t.type)("ant-pagination-jump-next","next_5"===t.type)("ant-pagination-jump-next-custom-icon","next_5"===t.type)("ant-pagination-disabled",t.disabled)("ant-pagination-item-active",t.active))},inputs:{active:"active",index:"index",disabled:"disabled",direction:"direction",type:"type",itemRender:"itemRender",locale:"locale"},outputs:{diffIndex:"diffIndex",gotoIndex:"gotoIndex"},features:[g.Ab],attrs:ce,decls:3,vars:5,consts:[["renderItemTemplate",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngSwitch"],[4,"ngSwitchCase"],["class","ant-pagination-item-link",3,"disabled",4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"ant-pagination-item-link",3,"disabled"],["nz-icon","","nzType","right",4,"ngSwitchCase"],["nz-icon","","nzType","left",4,"ngSwitchDefault"],["nz-icon","","nzType","right"],["nz-icon","","nzType","left"],["nz-icon","","nzType","left",4,"ngSwitchCase"],["nz-icon","","nzType","right",4,"ngSwitchDefault"],[1,"ant-pagination-item-link",3,"ngSwitch"],["class","ant-pagination-item-container",4,"ngSwitchDefault"],[1,"ant-pagination-item-container"],[3,"ngSwitch",4,"ngSwitchCase"],[1,"ant-pagination-item-ellipsis"],["nz-icon","","nzType","double-right","class","ant-pagination-item-link-icon",4,"ngSwitchCase"],["nz-icon","","nzType","double-left","class","ant-pagination-item-link-icon",4,"ngSwitchDefault"],["nz-icon","","nzType","double-right",1,"ant-pagination-item-link-icon"],["nz-icon","","nzType","double-left",1,"ant-pagination-item-link-icon"],["nz-icon","","nzType","double-left","class","ant-pagination-item-link-icon",4,"ngSwitchCase"],["nz-icon","","nzType","double-right","class","ant-pagination-item-link-icon",4,"ngSwitchDefault"]],template:function(e,t){if(1&e&&(g.Qc(0,Oe,5,4,"ng-template",null,0,g.Rc),g.Qc(2,xe,0,0,"ng-template",1)),2&e){const e=g.Ec(1);g.Cb(2),g.wc("ngTemplateOutlet",t.itemRender||e)("ngTemplateOutletContext",g.Cc(2,ze,t.type,t.index))}},directives:[o.t,o.q,o.r,o.s,X.a],encapsulation:2,changeDetection:0}),e})(),Re=(()=>{class e{constructor(e){this.elementRef=e,this.nzSize="default",this.disabled=!1,this.showSizeChanger=!1,this.showQuickJumper=!1,this.total=0,this.pageIndex=1,this.pageSize=10,this.pageSizeOptions=[],this.pageIndexChange=new g.n,this.pageSizeChange=new g.n,this.listOfPageSizeOption=[],this.elementRef.nativeElement.classList.add("ant-pagination-options")}onPageSizeChange(e){this.pageSize!==e&&this.pageSizeChange.next(e)}jumpToPageViaInput(e){const t=e.target,n=Math.floor(Object(Q.t)(t.value,this.pageIndex));this.pageIndexChange.next(n),t.value=""}trackByOption(e,t){return t.value}ngOnChanges(e){const{pageSize:t,pageSizeOptions:n,locale:i}=e;(t||n||i)&&(this.listOfPageSizeOption=[...new Set([...this.pageSizeOptions,this.pageSize])].map(e=>({value:e,label:`${e} ${this.locale.items_per_page}`})))}}return e.\u0275fac=function(t){return new(t||e)(g.Qb(g.l))},e.\u0275cmp=g.Kb({type:e,selectors:[["div","nz-pagination-options",""]],inputs:{nzSize:"nzSize",disabled:"disabled",showSizeChanger:"showSizeChanger",showQuickJumper:"showQuickJumper",total:"total",pageIndex:"pageIndex",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",locale:"locale"},outputs:{pageIndexChange:"pageIndexChange",pageSizeChange:"pageSizeChange"},features:[g.Ab],attrs:Te,decls:2,vars:2,consts:[["class","ant-pagination-options-size-changer",3,"nzDisabled","nzSize","ngModel","ngModelChange",4,"ngIf"],["class","ant-pagination-options-quick-jumper",4,"ngIf"],[1,"ant-pagination-options-size-changer",3,"nzDisabled","nzSize","ngModel","ngModelChange"],[3,"nzLabel","nzValue",4,"ngFor","ngForOf","ngForTrackBy"],[3,"nzLabel","nzValue"],[1,"ant-pagination-options-quick-jumper"],[3,"disabled","keydown.enter"]],template:function(e,t){1&e&&(g.Qc(0,Pe,2,5,"nz-select",0),g.Qc(1,Ee,4,3,"div",1)),2&e&&(g.wc("ngIf",t.showSizeChanger),g.Cb(1),g.wc("ngIf",t.showQuickJumper))},directives:[o.o,q.c,s.o,s.r,o.n,q.a],encapsulation:2,changeDetection:0}),e})(),je=(()=>{class e{constructor(e,t,n,i){this.cdr=e,this.renderer=t,this.elementRef=n,this.directionality=i,this.itemRender=null,this.disabled=!1,this.total=0,this.pageIndex=1,this.pageSize=10,this.pageIndexChange=new g.n,this.lastIndex=0,this.isFirstIndex=!1,this.isLastIndex=!1,this.dir="ltr",this.destroy$=new G.a,t.removeChild(t.parentNode(n.nativeElement),n.nativeElement)}ngOnInit(){var e;null===(e=this.directionality.change)||void 0===e||e.pipe(Object(K.a)(this.destroy$)).subscribe(e=>{this.dir=e,this.updateRtlStyle(),this.cdr.detectChanges()}),this.dir=this.directionality.value,this.updateRtlStyle()}updateRtlStyle(){"rtl"===this.dir?this.renderer.addClass(this.elementRef.nativeElement,"ant-pagination-rtl"):this.renderer.removeClass(this.elementRef.nativeElement,"ant-pagination-rtl")}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}jumpToPageViaInput(e){const t=e.target,n=Object(Q.t)(t.value,this.pageIndex);this.onPageIndexChange(n),t.value=`${this.pageIndex}`}prePage(){this.onPageIndexChange(this.pageIndex-1)}nextPage(){this.onPageIndexChange(this.pageIndex+1)}onPageIndexChange(e){this.pageIndexChange.next(e)}updateBindingValue(){this.lastIndex=Math.ceil(this.total/this.pageSize),this.isFirstIndex=1===this.pageIndex,this.isLastIndex=this.pageIndex===this.lastIndex}ngOnChanges(e){const{pageIndex:t,total:n,pageSize:i}=e;(t||n||i)&&this.updateBindingValue()}}return e.\u0275fac=function(t){return new(t||e)(g.Qb(g.h),g.Qb(g.G),g.Qb(g.l),g.Qb(H.c,8))},e.\u0275cmp=g.Kb({type:e,selectors:[["nz-pagination-simple"]],viewQuery:function(e,t){if(1&e&&g.Xc(te,3),2&e){let e;g.Dc(e=g.mc())&&(t.template=e.first)}},inputs:{itemRender:"itemRender",disabled:"disabled",total:"total",pageIndex:"pageIndex",pageSize:"pageSize",locale:"locale"},outputs:{pageIndexChange:"pageIndexChange"},features:[g.Ab],decls:2,vars:0,consts:[["containerTemplate",""],["nz-pagination-item","","type","prev",3,"disabled","direction","itemRender","click"],[1,"ant-pagination-simple-pager"],["size","3",3,"disabled","value","keydown.enter"],[1,"ant-pagination-slash"],["nz-pagination-item","","type","next",3,"disabled","direction","itemRender","click"]],template:function(e,t){1&e&&g.Qc(0,De,7,12,"ng-template",null,0,g.Rc)},directives:[Ae],encapsulation:2,changeDetection:0}),e})(),Ve=(()=>{class e{}return e.\u0275mod=g.Ob({type:e}),e.\u0275inj=g.Nb({factory:function(t){return new(t||e)},imports:[[H.a,o.c,s.k,q.d,A.b,X.b]]}),e})(),Le=(()=>{class e{}return e.\u0275mod=g.Ob({type:e}),e.\u0275inj=g.Nb({factory:function(t){return new(t||e)},imports:[[o.c,Ve]]}),e})();var Ne=n("hpnv"),Fe=n("Nwms"),Be=n("3rB1"),We=n("mP9+"),He=n("SKKP"),Ue=n("pdGh");let $e=(()=>{class e{}return e.\u0275mod=g.Ob({type:e}),e.\u0275inj=g.Nb({factory:function(t){return new(t||e)},imports:[[H.a,o.c,Ue.a,X.b]]}),e})();var Qe=n("nJia"),Ge=n("qf9Q");let Ye=(()=>{class e{}return e.\u0275mod=g.Ob({type:e}),e.\u0275inj=g.Nb({factory:function(t){return new(t||e)},providers:[],imports:[[o.c,c.k,s.k,We.a,Be.a,P.a,Ge.a,E.b,Qe.b,He.b,d.c,h.d,$e,q.d,u.d,D.c]]}),e})();n("U18o");let Ke=(()=>{class e{}return e.\u0275mod=g.Ob({type:e}),e.\u0275inj=g.Nb({factory:function(t){return new(t||e)},imports:[[o.c]]}),e})();var Xe=n("wQXg"),qe=n("0/W8"),Je=n("JZAl"),Ze=n("Cw5e"),et=n("FCoD"),tt=n("IuAY"),nt=n("yx2K"),it=n("SOdi"),rt=n("U5Mb");let ot=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=g.Kb({type:e,selectors:[["nd-footer-test-account-notice"]],decls:7,vars:0,consts:function(){let e;return e="This is a test account. All bookings made by this account are test bookings. If you want to make a live booking, please contact your account manager to open a live account.",[[1,"nd-footer-test-account-notice"],e]},template:function(e,t){1&e&&(g.Sc(0,"\n "),g.Wb(1,"div",0),g.Sc(2,"\n "),g.Ub(3),g.ac(4,1),g.Tb(),g.Sc(5,"\n "),g.Vb(),g.Sc(6,"\n "))},styles:[".nd-footer-test-account-notice[_ngcontent-%COMP%]{position:fixed;z-index:11;width:100%;bottom:0;left:0;background-color:#fff0f6;text-align:center;color:#f32a4e;padding:9px 0;font-size:14px;line-height:22px}"],changeDetection:0}),e})();function st(e,t){1&e&&(g.Wb(0,"h1",28),g.ac(1,29),g.Vb())}function at(e,t){1&e&&(g.Wb(0,"a",30),g.Sc(1,"\n "),g.Rb(2,"i",31),g.Sc(3,"\n "),g.Vb())}function ct(e,t){1&e&&(g.Sc(0,"\n "),g.Wb(1,"div",35),g.Sc(2,"\n "),g.Wb(3,"div"),g.Sc(4,"\n "),g.Rb(5,"img",36),g.Sc(6,"\n "),g.Wb(7,"div"),g.ac(8,37),g.Vb(),g.Sc(9,"\n "),g.Vb(),g.Sc(10,"\n "),g.Wb(11,"div"),g.Sc(12,"\n "),g.Rb(13,"img",38),g.Sc(14,"\n "),g.Wb(15,"div"),g.ac(16,39),g.Vb(),g.Sc(17,"\n "),g.Vb(),g.Sc(18,"\n "),g.Vb(),g.Sc(19,"\n "))}function lt(e,t){if(1&e&&(g.Wb(0,"a",32),g.Sc(1,"\n "),g.Rb(2,"i",33),g.Sc(3,"\n "),g.Qc(4,ct,20,0,"ng-template",null,34,g.Rc),g.Sc(6,"\n "),g.Vb()),2&e){const e=g.Ec(5);g.wc("nzPopoverContent",e)}}function ut(e,t){if(1&e&&(g.Wb(0,"div",44),g.Sc(1,"\n "),g.Wb(2,"h5"),g.ac(3,52),g.Vb(),g.Sc(4,"\n "),g.Wb(5,"nd-typography-phone",46),g.Sc(6," "),g.Vb(),g.Sc(7,"\n "),g.Wb(8,"nd-typography-email",46),g.Sc(9," "),g.Vb(),g.Sc(10,"\n "),g.Vb()),2&e){const e=g.oc().ngIf;g.Cb(5),g.wc("ndValue",e.Hotel.Tele),g.Cb(3),g.wc("ndValue",e.Hotel.Mail_AfterSale)}}function dt(e,t){if(1&e&&(g.Wb(0,"div",44),g.Sc(1,"\n "),g.Wb(2,"h5"),g.Sc(3,"Mercado espa\xf1ol"),g.Vb(),g.Sc(4,"\n "),g.Rb(5,"nd-typography-phone",46),g.Sc(6,"\n "),g.Rb(7,"nd-typography-email",46),g.Sc(8,"\n "),g.Vb()),2&e){const e=g.oc().ngIf;g.Cb(5),g.wc("ndValue",e.Hotel.Tele_ES),g.Cb(2),g.wc("ndValue",e.Hotel.Mail_ES)}}function ht(e,t){if(1&e&&(g.Wb(0,"nz-row"),g.Sc(1,"\n "),g.Wb(2,"nz-col",40),g.Sc(3,"\n "),g.Wb(4,"h3",41),g.ac(5,42),g.Vb(),g.Sc(6,"\n "),g.Qc(7,ut,11,2,"div",43),g.Sc(8,"\n\n "),g.Wb(9,"div",44),g.Sc(10,"\n "),g.Wb(11,"h5"),g.ac(12,45),g.Vb(),g.Sc(13,"\n "),g.Rb(14,"nd-typography-phone",46),g.Sc(15,"\n "),g.Rb(16,"nd-typography-email",46),g.Sc(17,"\n "),g.Vb(),g.Sc(18,"\n "),g.Qc(19,dt,9,2,"div",43),g.Sc(20,"\n "),g.Vb(),g.Sc(21,"\n "),g.Wb(22,"nz-col",40),g.Sc(23,"\n "),g.Wb(24,"h3",41),g.ac(25,47),g.Vb(),g.Sc(26,"\n\n "),g.Wb(27,"div",44),g.Sc(28,"\n "),g.Wb(29,"h5"),g.ac(30,48),g.Vb(),g.Sc(31,"\n "),g.Rb(32,"nd-typography-email",46),g.Sc(33,"\n "),g.Vb(),g.Sc(34,"\n\n "),g.Wb(35,"div",44),g.Sc(36,"\n "),g.Wb(37,"h5"),g.ac(38,49),g.Vb(),g.Sc(39,"\n "),g.Rb(40,"nd-typography-email",46),g.Sc(41,"\n "),g.Vb(),g.Sc(42,"\n "),g.Vb(),g.Sc(43,"\n "),g.Wb(44,"nz-col",40),g.Sc(45,"\n "),g.Wb(46,"h3",41),g.ac(47,50),g.Vb(),g.Sc(48,"\n\n "),g.Wb(49,"div",44),g.Sc(50,"\n "),g.Rb(51,"nd-typography-phone",46),g.Sc(52,"\n "),g.Vb(),g.Sc(53,"\n "),g.Wb(54,"div",44),g.Sc(55,"\n "),g.Rb(56,"nd-typography-email",46),g.Sc(57,"\n "),g.Vb(),g.Sc(58,"\n "),g.Vb(),g.Sc(59,"\n "),g.Wb(60,"nz-col",40),g.Sc(61,"\n "),g.Wb(62,"div",44),g.Sc(63,"\n "),g.Wb(64,"h3",41),g.ac(65,51),g.Vb(),g.Sc(66,"\n "),g.Rb(67,"nd-typography-email",46),g.Sc(68,"\n "),g.Vb(),g.Sc(69,"\n "),g.Vb(),g.Sc(70,"\n "),g.Vb()),2&e){const e=t.ngIf,n=g.oc();g.Cb(7),g.wc("ngIf","es-ES"!==n.langCode),g.Cb(7),g.wc("ndValue",e.Hotel.Tele_Global),g.Cb(2),g.wc("ndValue",e.Hotel.Mail_Global),g.Cb(3),g.wc("ngIf","es-ES"===n.langCode),g.Cb(13),g.wc("ndValue",e.Hotel.Mail_Business),g.Cb(8),g.wc("ndValue",e.Hotel.Mail_Business_Global),g.Cb(11),g.wc("ndValue",e.Flight.Tele_AfterSale),g.Cb(5),g.wc("ndValue",e.Flight.Mail_AfterSale),g.Cb(11),g.wc("ndValue",e.Flight.Mail_Business)}}const pt=function(){return["/policy/PrivacyPolicy"]},ft=function(){return["/policy/CompanyPolicies"]},gt=function(){return["/policy/TermsConditions"]};function bt(e,t){1&e&&(g.Wb(0,"p"),g.Sc(1,"\n "),g.Wb(2,"span",53),g.Sc(3,"\n "),g.Wb(4,"span",54),g.Wb(5,"a",55),g.ac(6,56),g.Vb(),g.Vb(),g.Sc(7,"\n "),g.Wb(8,"span",54),g.Wb(9,"a",55),g.ac(10,57),g.Vb(),g.Vb(),g.Sc(11,"\n "),g.Wb(12,"span",54),g.Wb(13,"a",55),g.ac(14,58),g.Vb(),g.Vb(),g.Sc(15,"\n "),g.Vb(),g.Sc(16,"\n "),g.Vb()),2&e&&(g.Cb(5),g.wc("routerLink",g.Ac(3,pt)),g.Cb(4),g.wc("routerLink",g.Ac(4,ft)),g.Cb(4),g.wc("routerLink",g.Ac(5,gt)))}const mt=function(){return{lang:""}},yt=function(e){return{active:e}};function vt(e,t){if(1&e){const e=g.Xb();g.Ub(0),g.Sc(1,"\n "),g.Wb(2,"p"),g.Sc(3,"\n "),g.Wb(4,"span",53),g.Sc(5,"\n "),g.Wb(6,"span",54),g.Wb(7,"a",59),g.Sc(8,"Cookie Policy"),g.Vb(),g.Vb(),g.Sc(9,"\n "),g.Wb(10,"span",54),g.Wb(11,"a",60),g.Sc(12,"Terms & Conditions"),g.Vb(),g.Vb(),g.Sc(13,"\n "),g.Wb(14,"span",54),g.Wb(15,"a",61),g.Sc(16,"Modern Slavery Statement"),g.Vb(),g.Vb(),g.Sc(17,"\n "),g.Wb(18,"span",54),g.Wb(19,"a",62),g.Sc(20,"Website Terms of Use"),g.Vb(),g.Vb(),g.Sc(21,"\n "),g.Wb(22,"span",54),g.Wb(23,"a",63),g.Sc(24,"Privacy Policy"),g.Vb(),g.Vb(),g.Sc(25,"\n "),g.Sc(26,"\n "),g.Wb(27,"span",54),g.Wb(28,"a",64),g.lc("click",function(){return g.Hc(e),g.oc().toggleStatement()}),g.Sc(29,"The Ownership Statement"),g.Vb(),g.Vb(),g.Sc(30,"\n "),g.Vb(),g.Sc(31,"\n "),g.Vb(),g.Sc(32,"\n "),g.Wb(33,"div",65),g.Sc(34,"\n "),g.Wb(35,"p"),g.Sc(36,"\n DidaTravel acts as an agent in respect of all bookings made on our website or by telephone. For all\n bookings, your contract will be with the applicable Service Provider of your chosen Travel Service (who\n may be the principal or the agent of the principal) and DidaTravel acts only as an agent on their behalf,\n except where we state to the contrary in the terms and conditions.\n "),g.Vb(),g.Sc(37,"\n "),g.Wb(38,"p",66),g.Sc(39),g.pc(40,"date"),g.Vb(),g.Sc(41,"\n "),g.Vb(),g.Sc(42,"\n "),g.Tb()}if(2&e){const e=g.oc();g.Cb(7),g.wc("queryParams",g.Ac(10,mt)),g.Cb(4),g.wc("queryParams",g.Ac(11,mt)),g.Cb(4),g.wc("queryParams",g.Ac(12,mt)),g.Cb(4),g.wc("queryParams",g.Ac(13,mt)),g.Cb(4),g.wc("queryParams",g.Ac(14,mt)),g.Cb(10),g.wc("ngClass",g.Bc(15,yt,e.openStatement)),g.Cb(6),g.Uc("\n DidaTravel is a trading name of DidaTravel UK and is registered in England and Wales with registered\n number 13483641 and registered office at 36 OLD JEWRY, LONDON, EC2R 8DD and a trading name of DidaTravel\n International Limited with registered number 67879802-000-06-21-A and is registered in UNIT 1751, LEVEL\n 17, SILVERCORD TOWER 2, 30 CANTON ROAD, TSIM SHA TSUI, KOWLOON, HONG KONG and a trading name of DidaTravel\n Technology Singapore Pte.Ltd. with registered number 202226247G and is registered in 1 SCOTTS ROAD #24-05\n SHAW CENTRE SINGAPORE (228208) \xa9\n ",g.rc(40,7,e.today,"yyyy")," didatravel.com\n ")}}function Ct(e,t){1&e&&g.Rb(0,"img",67)}function wt(e,t){1&e&&g.Rb(0,"img",68)}function St(e,t){1&e&&(g.Wb(0,"div"),g.Sc(1,"\n "),g.Rb(2,"nd-footer-test-account-notice"),g.Sc(3,"\n "),g.Vb())}let _t=(()=>{class e extends r.o{constructor(e){super(),this.appSettingService=e,this.noBg=!1,this.today=f.f.today,this.openStatement=!1,this.spanStyle={padding:"0 3px"}}get customContactSetting$(){return this.appSettingService.contactSettingSubject}toggleStatement(){this.openStatement=!this.openStatement}ngOnInit(){this.now=new Date}}return e.\u0275fac=function(t){return new(t||e)(g.Qb(r.c))},e.\u0275cmp=g.Kb({type:e,selectors:[["nd-footer"]],inputs:{noBg:"noBg"},features:[g.zb],decls:87,vars:19,consts:function(){let e,t,n,i,r,o,s,a,c,l,u,d,h,p,f,g,b,m,y;return e="Contact Email",t="DidaTravel",n="5/F, 11/F & 17/F Silvercord Tower 2, 30 Canton Rd, Tsim Sha Tsui Hong Kong,999077,HONG KONG",i="Follow Us",r="WeChat QR Code",o="WeChat QR Code",s="WeChat MiniApp QR Code",a="WeChat MiniApp QR Code",c="Hotel Customer Service",l="Global Market",u="Hotel Business Contact",d="Chinese Market",h="Global Market",p="Flight Customer Service",f="Flight Business Contact",g="Chinese Market",b="Privacy Policy",m="Company Policies",y="Terms & Conditions",[[1,"nd-footer"],[1,"nd-footer__section"],["nzJustify","space-between",1,"nd-footer__header"],[1,"nd-footer__title"],e,[2,"flex-shrink","0"],["nzAlign","center",3,"nzSize"],["class","nd-footer__title","style","margin-right: 20px",4,"nzSpaceItem"],["href","https://www.linkedin.com/company/didatravel","target","_blank",4,"nzSpaceItem"],["href","javascript:;","nz-popover","","nzPopoverTrigger","hover","nzPopoverPlacement","bottomCenter","nzPopoverOverlayClassName","nd-footer__popover",3,"nzPopoverContent",4,"nzSpaceItem"],[4,"ngIf"],[1,"nd-footer__section","nd-footer__section_sub"],[1,"nd-footer__policies"],[1,"nd-footer__certs"],["href","//ss.knet.cn/verifyseal.dll?sn=e17072644030068410nkux000000","target","_blank",3,"ngSwitch"],["src","//dsimage.didatravel.com/v2-app/images/certs/cnnic_en.png",4,"ngSwitchCase"],["src","//dsimage.didatravel.com/v2-app/images/certs/cnnic.png",4,"ngSwitchCase"],["href","javascript:"],["src","//dsimage.didatravel.com/v2-app/images/payment/visa.jpg"],["src","//dsimage.didatravel.com/v2-app/images/payment/master.jpg"],[1,"nd-footer__beian"],[3,"ngStyle"],t,["href","https://beian.miit.gov.cn","target","_blank"],["src","//dsimage.didatravel.com/v2-app/images/certs/bei-an.png","alt","",2,"width","1em"],["target","_blank","href","http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=44030502006962"],[1,"nd-footer__address"],n,[1,"nd-footer__title",2,"margin-right","20px"],i,["href","https://www.linkedin.com/company/didatravel","target","_blank"],["nz-icon","","ndType","nd:LinkedIn",1,"nd-footer__social-icon"],["href","javascript:;","nz-popover","","nzPopoverTrigger","hover","nzPopoverPlacement","bottomCenter","nzPopoverOverlayClassName","nd-footer__popover",3,"nzPopoverContent"],["nz-icon","","nzType","nd:wechat2",1,"nd-footer__social-icon"],["weChatMiniAppQrCode",""],[1,"nd-footer__popover-inner"],["ndOssSrc","/common/qrcode-wechat.jpg?x-oss-process=image/resize,w_150","alt",r],o,["ndOssSrc","/common/qrcode-weapp.jpg?x-oss-process=image/resize,w_150","alt",s],a,["nzSpan","6",1,"nd-footer__contact-group"],[1,"nd-footer__contact-group-title"],c,["class","nd-footer__contact-item",4,"ngIf"],[1,"nd-footer__contact-item"],l,["ndBlock","",3,"ndValue"],u,d,h,p,f,g,[1,"nd-footer-policy-list"],[1,"nd-footer-policy-list__link"],["target","_blank",3,"routerLink"],b,m,y,["routerLink","/policy/nuvei|CookiePolicy","target","_blank",3,"queryParams"],["routerLink","/policy/nuvei|TermsConditions","target","_blank",3,"queryParams"],["routerLink","/policy/nuvei|ModernSlaveryStatement","target","_blank",3,"queryParams"],["routerLink","/policy/nuvei|WebsiteTermsofUse","target","_blank",3,"queryParams"],["routerLink","/policy/nuvei|PrivacyPolicy","target","_blank",3,"queryParams"],[3,"click"],[1,"nd-footer-policy-list__extra",3,"ngClass"],[2,"margin-bottom","0"],["src","//dsimage.didatravel.com/v2-app/images/certs/cnnic_en.png"],["src","//dsimage.didatravel.com/v2-app/images/certs/cnnic.png"]]},template:function(e,t){1&e&&(g.Wb(0,"div",0),g.Sc(1,"\n "),g.Wb(2,"div",1),g.Sc(3,"\n "),g.Wb(4,"nz-row",2),g.Sc(5,"\n "),g.Wb(6,"nz-col"),g.Sc(7,"\n "),g.Wb(8,"h1",3),g.ac(9,4),g.Vb(),g.Sc(10,"\n "),g.Vb(),g.Sc(11,"\n "),g.Wb(12,"nz-col",5),g.Sc(13,"\n "),g.Wb(14,"nz-space",6),g.Sc(15,"\n "),g.Qc(16,st,2,0,"h1",7),g.Sc(17,"\n "),g.Qc(18,at,4,0,"a",8),g.Sc(19,"\n "),g.Qc(20,lt,7,1,"a",9),g.Sc(21,"\n "),g.Vb(),g.Sc(22,"\n "),g.Vb(),g.Sc(23,"\n "),g.Vb(),g.Sc(24,"\n "),g.Qc(25,ht,71,9,"nz-row",10),g.pc(26,"async"),g.Sc(27,"\n\n "),g.Wb(28,"div",11),g.Sc(29,"\n "),g.Wb(30,"div",12),g.Sc(31,"\n "),g.Qc(32,bt,17,6,"p",10),g.Sc(33,"\n "),g.Qc(34,vt,43,17,"ng-container",10),g.Sc(35,"\n "),g.Wb(36,"p",13),g.Sc(37,"\n "),g.Wb(38,"a",14),g.Sc(39,"\n "),g.Qc(40,Ct,1,0,"img",15),g.Sc(41,"\n "),g.Qc(42,wt,1,0,"img",16),g.Sc(43,"\n "),g.Vb(),g.Sc(44,"\n "),g.Wb(45,"a",17),g.Sc(46,"\n "),g.Rb(47,"img",18),g.Sc(48,"\n "),g.Vb(),g.Sc(49,"\n "),g.Wb(50,"a",17),g.Sc(51,"\n "),g.Rb(52,"img",19),g.Sc(53,"\n "),g.Vb(),g.Sc(54,"\n "),g.Vb(),g.Sc(55,"\n "),g.Wb(56,"p",20),g.Sc(57,"\n "),g.Wb(58,"span",21),g.Sc(59),g.pc(60,"date"),g.Wb(61,"span"),g.ac(62,22),g.Vb(),g.Vb(),g.Sc(63,"\n |\n "),g.Wb(64,"span",21),g.Wb(65,"a",23),g.Sc(66,"\u7ca4ICP\u590712073186\u53f7"),g.Vb(),g.Vb(),g.Sc(67,"\n |\n "),g.Sc(68,"\n "),g.Wb(69,"span",21),g.Sc(70,"\n "),g.Rb(71,"img",24),g.Sc(72,"\n "),g.Wb(73,"a",25),g.Sc(74,"\u7ca4\u516c\u7f51\u5b89\u590744030502006962\u53f7"),g.Vb(),g.Sc(75,"\n "),g.Vb(),g.Sc(76,"\n "),g.Vb(),g.Sc(77,"\n "),g.Wb(78,"p",26),g.ac(79,27),g.Vb(),g.Sc(80,"\n "),g.Vb(),g.Sc(81,"\n "),g.Vb(),g.Sc(82,"\n "),g.Vb(),g.Sc(83,"\n "),g.Qc(84,St,4,0,"div",10),g.Sc(85,"\n"),g.Vb(),g.Sc(86,"\n")),2&e&&(g.Ib("nd-footer_noBg",t.noBg),g.Cb(14),g.wc("nzSize",30),g.Cb(11),g.wc("ngIf",g.qc(26,14,t.customContactSetting$)),g.Cb(7),g.wc("ngIf",t.isCN),g.Cb(2),g.wc("ngIf",!t.isCN),g.Cb(4),g.wc("ngSwitch",t.isCN),g.Cb(2),g.wc("ngSwitchCase",!1),g.Cb(2),g.wc("ngSwitchCase",!0),g.Cb(16),g.wc("ngStyle",t.spanStyle),g.Cb(1),g.Uc("\xa9",g.rc(60,16,t.today,"yyyy")," "),g.Cb(5),g.wc("ngStyle",t.spanStyle),g.Cb(5),g.wc("ngStyle",t.spanStyle),g.Cb(15),g.wc("ngIf",t.appContext&&t.appContext.isTestClientAccount))},directives:[b.c,b.a,D.a,D.b,o.o,o.q,o.r,o.p,X.a,tt.a,E.a,nt.a,it.a,rt.a,c.j,o.m,ot],pipes:[o.b,o.f],styles:['.nd-footer{background-image:url(https://dsimage.didatravel.com/v2-app/images/home/footer_bg.png);color:#fff;padding:30px 0 70px;background-size:cover;font-size:13px}.nd-footer_noBg{background-image:unset}.nd-footer__popover-inner{display:flex;justify-content:space-between;text-align:center;width:330px}.nd-footer a,.nd-footer h2,.nd-footer h3,.nd-footer h4,.nd-footer h5{color:#fff}.nd-footer__section{width:1180px;margin:0 auto}.nd-footer__section_sub{margin-top:60px;text-align:center}.nd-footer__title{font-size:26px;font-weight:700;color:#e11e56;line-height:50px;margin-bottom:0}.nd-footer__header{margin-bottom:40px}.nd-footer__social-icon{font-size:50px}.nd-footer__social-icon:hover circle{fill:#e11e56}.nd-footer__contact-group:not(:first-child){padding-left:50px}.nd-footer__contact-group:not(:last-child){border-right:1px dashed hsla(0,0%,100%,.6);padding-right:50px}.nd-footer__contact-group-title{margin-bottom:30px}.nd-footer__contact-item:not(:last-child){margin-bottom:20px}.nd-footer__certs{margin:25px auto;padding:19px;background:hsla(0,0%,100%,.1)}.nd-footer__certs>a{padding:0 25px}.nd-footer__certs>a:hover{text-decoration:none}.nd-footer__certs>a img{height:24px}.nd-footer__beian{margin-bottom:15px;font-size:12px;font-weight:300}.nd-footer__address{margin-bottom:0;font-size:12px;font-weight:300}.nd-footer-policy-list__link+.nd-footer-policy-list__link:before{content:"|";padding:0 19px;font-size:13px;font-weight:400}.nd-footer-policy-list__extra{margin-top:20px;max-height:0;overflow:hidden}.nd-footer-policy-list__extra.active{max-height:150px}'],encapsulation:2,changeDetection:0}),e})();function Ot(e,t){if(1&e&&(g.Wb(0,"nd-layout",4),g.Sc(1,"\n "),g.Wb(2,"nd-layout-nav"),g.Sc(3,"\n "),g.Rb(4,"nd-navbar"),g.Sc(5,"\n "),g.Vb(),g.Sc(6,"\n\n "),g.Rb(7,"router-outlet"),g.Sc(8,"\n\n "),g.Sc(9,"\n\n "),g.Wb(10,"nd-layout-footer"),g.Sc(11,"\n "),g.Rb(12,"nd-footer"),g.Sc(13,"\n "),g.Vb(),g.Sc(14,"\n "),g.Vb()),2&e){const e=g.oc().ngIf;g.wc("rootLayout",!0)("ndSetting",e)}}function xt(e,t){if(1&e&&(g.Ub(0),g.Sc(1,"\n "),g.Qc(2,Ot,15,2,"nd-layout",3),g.pc(3,"async"),g.Sc(4,"\n"),g.Tb()),2&e){const e=g.oc();g.Cb(2),g.wc("ngIf",g.qc(3,1,e.pageNavigated$))}}let zt=(()=>{class e extends r.B{constructor(e,t){super(e,t)}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)(g.Qb(c.g),g.Qb(c.a))},e.\u0275cmp=g.Kb({type:e,selectors:[["dida-app-root"]],features:[g.zb],decls:8,vars:3,consts:function(){let e,t;return e="DidaTravel Technology, Shenzhen Dida, DidaTravel, International hotel",t="DidaTravel is a tech-driven travel distribution service provider, committed to offering efficient and flexible travel product connection solutions. As a global technology leader, we possess cutting-edge open platform technology, covering services in hotels, flights, transfers, tickets, and other segmented product areas.",[["ndWebSiteKeyword",e],["ndWebSiteDescription",t],[4,"ngIf"],[3,"rootLayout","ndSetting",4,"ngIf"],[3,"rootLayout","ndSetting"]]},template:function(e,t){1&e&&(g.Rb(0,"nd-page-meta",0),g.Sc(1,"\n"),g.Wb(2,"nd-page-meta",1),g.Sc(3,"\n"),g.Vb(),g.Sc(4,"\n\n"),g.Qc(5,xt,5,3,"ng-container",2),g.pc(6,"async"),g.Sc(7,"\n")),2&e&&(g.Cb(5),g.wc("ngIf",g.qc(6,1,t.routeData$)))},directives:[qe.a,o.o,Je.a,Ze.e,et.a,c.l,Ze.d,_t],pipes:[o.b],styles:[".nd-layout__main .nd-layout__main_center{margin-bottom:0} .btn{cursor:pointer} .flex{display:flex} .bottom-popver .ant-popover-inner{border-radius:8px;padding:10px 17px} .bottom-popver .img-box{display:inline-block;text-align:center} .bottom-popver .img-box .img-name{margin-bottom:15px} .bottom-popver .img-box:nth-child(2){margin-left:50px}"]}),e})();var Tt=n("BpXt");function kt(e,t){1&e&&(g.Sc(0,"\n "),g.Wb(1,"div"),g.gc(2,10),g.Rb(3,"a",11),g.dc(),g.Vb(),g.Sc(4,"\n "))}function Pt(e,t){if(1&e&&(g.Wb(0,"div",5),g.Sc(1,"\n "),g.Wb(2,"nd-result",6),g.Sc(3,"\n "),g.Qc(4,kt,5,0,"ng-template",null,7,g.Rc),g.Sc(6,"\n "),g.Wb(7,"a",8),g.ac(8,9),g.Vb(),g.Sc(9,"\n "),g.Vb(),g.Sc(10,"\n "),g.Vb()),2&e){const e=g.Ec(5);g.Cb(2),g.wc("ndTitle",e)}}function Et(e,t){if(1&e){const e=g.Xb();g.Wb(0,"div"),g.Sc(1,"\n "),g.Wb(2,"nd-result",12),g.Sc(3,"\n "),g.Wb(4,"a",13),g.ac(5,14),g.Vb(),g.Sc(6,"\n \xa0\xa0\n "),g.Wb(7,"button",15),g.lc("click",function(){return g.Hc(e),g.oc().goBack()}),g.ac(8,16),g.Vb(),g.Sc(9,"\n "),g.Vb(),g.Sc(10,"\n "),g.Vb()}}function Dt(e,t){1&e&&(g.Wb(0,"div"),g.Sc(1,"\n "),g.Wb(2,"nd-result",17),g.Sc(3,"\n "),g.Wb(4,"a",8),g.ac(5,18),g.Vb(),g.Sc(6,"\n "),g.Vb(),g.Sc(7,"\n "),g.Vb())}let Mt=(()=>{class e{constructor(e,t){this.route=e,this.location=t,this.errorCode=500}ngOnInit(){this.route.snapshot.params.code&&(this.errorCode=this.route.snapshot.params.code)}goBack(){this.location.back()}}return e.\u0275fac=function(t){return new(t||e)(g.Qb(c.a),g.Qb(o.k))},e.\u0275cmp=g.Kb({type:e,selectors:[["app-error"]],decls:11,vars:4,consts:function(){let e,t,n,i,r,o,s,a;return e="Back to Home",t="Page not found. Go back to " + "\ufffd#3\ufffd" + "Home" + "\ufffd/#3\ufffd" + ".",n="You don't have permission to view this page.",i="Please contact administrator to open the permission and then return to refresh.",r="Back to Home",o="Return",s="An unexpected error occurred when processing your request. Please try again later or contact our customer service.",a="Back to Home",[[3,"ndTitle"],[2,"margin-top","60px",3,"ngSwitch"],["class","nd-text-center",4,"ngSwitchCase"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"nd-text-center"],["ndImageUrl","https://dsimage.didatravel.com/v2-app/images/404.png",3,"ndTitle"],["notFoundTitle",""],["nz-button","","nzType","primary","routerLink","/home"],e,t,["routerLink","/home",1,"active"],["ndTitle",n,"ndSubTitle",i,"ndImageUrl","https://dsimage.didatravel.com/v2-app/images/common/permission-deny.webp"],["nz-button","","nzType","default","routerLink","/home"],r,["nz-button","","nzType","primary",3,"click"],o,["ndTitle",s],a]},template:function(e,t){1&e&&(g.Rb(0,"nd-page-meta",0),g.Sc(1,"\n"),g.Wb(2,"div",1),g.Sc(3,"\n "),g.Qc(4,Pt,11,1,"div",2),g.Sc(5,"\n "),g.Qc(6,Et,11,0,"div",3),g.Sc(7,"\n "),g.Qc(8,Dt,8,0,"div",4),g.Sc(9,"\n"),g.Vb(),g.Sc(10,"\n")),2&e&&(g.wc("ndTitle",t.errorCode.toString()),g.Cb(2),g.wc("ngSwitch",t.errorCode),g.Cb(2),g.wc("ngSwitchCase",404),g.Cb(2),g.wc("ngSwitchCase",403))},directives:[qe.a,o.q,o.r,o.s,Tt.a,d.a,c.j,m.a,y.a],styles:[""]}),e})();var It=n("2Vo4"),At=n("BVU9"),Rt=n("Q8cG"),jt=n("jWS8");const Vt=function(){return{width:"640px"}};function Lt(e,t){1&e&&(g.Wb(0,"div"),g.Sc(1,"\n "),g.Wb(2,"h4"),g.Sc(3,"1.1\u5e8a\u578b\u80fd\u5426\u4fdd\u8bc1\uff1f"),g.Vb(),g.Sc(4,"\n "),g.Wb(5,"div",10),g.Sc(6,"\n "),g.Wb(7,"p"),g.Sc(8,"\n \u5982\u9884\u8ba2\u7684\u623f\u578b\u5c55\u793a\u5982\u201c\u5927/\u53cc\u5e8a\u201d\u7b49\u4e0d\u786e\u5b9a\u623f\u578b\uff0c\u9053\u65c5\u4f1a\u5c06\u60a8\u7684\u8981\u6c42\u8f6c\u8fbe\u7ed9\u9152\u5e97\uff0c\u4f46\u5b9e\u9645\u4ee5\u5230\u5e97\u5b89\u6392\u4e3a\u51c6\u3002"),g.Rb(9,"br"),g.Sc(10,"\n "),g.Wb(11,"span",11),g.Sc(12,"\u7279\u6b8a\u60c5\u51b5\uff1a"),g.Vb(),g.Sc(13,"\u623f\u578b\u4e2d\u5c55\u793a\u56fa\u5b9a\u5e8a\u578b\uff0c\u4f46\u5b9e\u9645\u5e8a\u578b\u662f\u5230\u5e97\u4e3a\u51c6"),g.Rb(14,"br"),g.Sc(15,"\n "),g.Wb(16,"span",11),g.Sc(17,"\u60c5\u51b5\u8bf4\u660e\uff1a"),g.Vb(),g.Sc(18,"\u7531\u4e8e\u4f9b\u5e94\u5546\u672a\u63d0\u4f9b\u5e8a\u578b\u7684\u6570\u636e\u7ed9\u9053\u65c5\uff0c\u9042\u4ee5\u9053\u65c5\u5c55\u793a\u5e8a\u578b\u4e3a\u51c6\u3002\n "),g.Vb(),g.Sc(19,"\n "),g.Vb(),g.Sc(20,"\n "),g.Wb(21,"h4"),g.ac(22,12),g.Vb(),g.Sc(23,"\n "),g.Wb(24,"div",10),g.Sc(25,"\n "),g.Wb(26,"table",13),g.Sc(27,"\n "),g.Wb(28,"thead"),g.Sc(29,"\n "),g.Wb(30,"tr"),g.Sc(31,"\n "),g.Wb(32,"th"),g.Sc(33,"\u5e8a\u578b\u540d\u79f0"),g.Vb(),g.Sc(34,"\n "),g.Wb(35,"th"),g.Sc(36,"\u53c2\u8003\u5c3a\u5bf8(\u5355\u4f4d\uff1a\u7c73)"),g.Vb(),g.Sc(37,"\n "),g.Vb(),g.Sc(38,"\n "),g.Vb(),g.Sc(39,"\n "),g.Wb(40,"tbody"),g.Sc(41,"\n "),g.Wb(42,"tr"),g.Sc(43,"\n "),g.Wb(44,"td"),g.Sc(45,"\u5927\u5e8a"),g.Vb(),g.Sc(46,"\n "),g.Wb(47,"td"),g.Sc(48,"1.5/1.8*2.0\u5de6\u53f3"),g.Vb(),g.Sc(49,"\n "),g.Vb(),g.Sc(50,"\n "),g.Wb(51,"tr"),g.Sc(52,"\n "),g.Wb(53,"td"),g.Sc(54,"\u53cc\u5e8a"),g.Vb(),g.Sc(55,"\n "),g.Wb(56,"td"),g.Sc(57,"1.0/1.2*1.9\u5de6\u53f3"),g.Vb(),g.Sc(58,"\n "),g.Vb(),g.Sc(59,"\n "),g.Wb(60,"tr"),g.Sc(61,"\n "),g.Wb(62,"td"),g.Sc(63,"\u5355\u4eba\u5e8a"),g.Vb(),g.Sc(64,"\n "),g.Wb(65,"td"),g.Sc(66,"0.9-1.0*1.9\u5de6\u53f3"),g.Vb(),g.Sc(67,"\n "),g.Vb(),g.Sc(68,"\n "),g.Vb(),g.Sc(69,"\n "),g.Vb(),g.Sc(70,"\n "),g.Wb(71,"p",11),g.Sc(72,"\u4ee5\u4e0a\u6570\u636e\u4ec5\u4f9b\u53c2\u8003\uff0c\u5b9e\u9645\u4ee5\u5230\u5e97\u5b89\u6392\u4e3a\u51c6"),g.Vb(),g.Sc(73,"\n "),g.Vb(),g.Sc(74,"\n "),g.Vb()),2&e&&(g.Cb(26),g.wc("ngStyle",g.Ac(1,Vt)))}function Nt(e,t){1&e&&(g.Wb(0,"div"),g.Sc(1,"\n "),g.Wb(2,"h4"),g.Sc(3,"2.1\u623f\u578b\u9762\u79ef\u662f\u591a\u5c11\uff1f"),g.Vb(),g.Sc(4,"\n "),g.Wb(5,"div",10),g.Sc(6,"\n "),g.Wb(7,"p"),g.Sc(8,"\n Shopping\u7f51\u7ad9\u516c\u793a\u7684\u623f\u578b\u9762\u79ef\u4ec5\u4e3a\u53c2\u8003\uff0c\u5b9e\u9645\u9762\u79ef\u4ee5\u5b9e\u9645\u5230\u5e97\u5b89\u6392\u4e3a\u51c6\u3002\n "),g.Rb(9,"br"),g.Sc(10,"\n (\u623f\u95f4\u56e0\u4f4d\u7f6e\u5b58\u5728\u89d2\u843d\u623f\u3001\u9760\u7535\u68af\u7b49\u591a\u79cd\u60c5\u51b5\uff0c\u6240\u4ee5\u5b9e\u9645\u9762\u79ef\u65e0\u6cd5\u786e\u8ba4,\u656c\u8bf7\u8c05\u89e3)\n "),g.Vb(),g.Sc(11,"\n "),g.Vb(),g.Sc(12,"\n "),g.Vb())}function Ft(e,t){1&e&&(g.Wb(0,"div"),g.Sc(1,"\n "),g.Wb(2,"h4"),g.Sc(3,"3.1\u9053\u65c5\u9910\u578b\u8bf4\u660e"),g.Vb(),g.Sc(4,"\n "),g.Wb(5,"div",10),g.Sc(6,"\n "),g.Wb(7,"p"),g.Sc(8,"\u542b\u65e9\u9910\uff1a\u5982\u65e0\u5177\u4f53\u4efd\u6570\u8bf4\u660e\u65f6\uff0c\u65e9\u9910\u4efd\u6570\u4ee5\u5165\u4f4f\u4eba\u6570\u4e3a\u51c6(\u4e0d\u533a\u5206\u6210\u4eba/\u513f\u7ae5)."),g.Vb(),g.Sc(9,"\n "),g.Wb(10,"p"),g.Sc(11,"\u534a\u98df\u5bbf\uff1aHalf Board\uff0c\u5e38\u89c4\u5305\u542b\u4f4f\u5bbf\u3001\u65e9\u9910\u548c\u5348\u9910\uff0c\u6216\u65e9\u9910\u548c\u665a\u9910."),g.Vb(),g.Sc(12,"\n "),g.Wb(13,"p"),g.Sc(14,"\u5168\u98df\u5bbf\uff1aFull Board\uff0c\u5e38\u89c4\u5305\u542b\u4f4f\u5bbf\u3001\u65e9\u9910\u3001\u5348\u9910\u548c\u665a\u9910."),g.Vb(),g.Sc(15,"\n "),g.Wb(16,"p"),g.Sc(17,"\n \u5168\u5305\uff1aAll\n Inclusive\uff0c\u5e38\u89c4\u5305\u542b\u4f4f\u5bbf\u3001\u65e9\u9910\u3001\u5348\u9910\u548c\u665a\u9910\uff0c\u4ee5\u53ca\u9152\u5e97\u5185\u8bbe\u65bd\u670d\u52a1\uff0c\u5982\u9910\u98df\u996e\u54c1\u3001\u5ba2\u623f\u670d\u52a1\u3001\u4ee5\u53caSPA\u7b49\u4f11\u95f2\u9879\u76ee(\u5177\u4f53\u9879\u76ee\u5b9e\u9645\u4ee5\u9152\u5e97\u524d\u53f0\u4e3a\u51c6).\n "),g.Vb(),g.Sc(18,"\n "),g.Vb(),g.Sc(19,"\n "),g.Vb())}function Bt(e,t){1&e&&(g.Wb(0,"div"),g.Sc(1,"\n "),g.Wb(2,"h4"),g.Sc(3,"4.1\u623f\u95f4\u9700\u8981\u52a0\u5e8a\u4ee5\u53ca\u8d39\u7528\u6807\u51c6\uff1f"),g.Vb(),g.Sc(4,"\n "),g.Wb(5,"div",10),g.Sc(6,"\n "),g.Wb(7,"p"),g.Sc(8,"\u52a0\u5e8a\u7ec6\u8282\u4ee5\u9053\u65c5Shopping\u5c55\u793a\u4e3a\u51c6\uff0c\u5982\u65e0\u5c55\u793a\uff0c\u53ef\u8054\u7cfb\u9053\u65c5\u5ba2\u670d\u6838\u5b9e\u786e\u8ba4."),g.Vb(),g.Sc(9,"\n "),g.Vb(),g.Sc(10,"\n "),g.Wb(11,"h4"),g.Sc(12,"4.2\u4e09\u4eba\u623f\u52a0\u5e8a\u95ee\u9898"),g.Vb(),g.Sc(13,"\n "),g.Wb(14,"div",10),g.Sc(15,"\n "),g.Wb(16,"p"),g.Sc(17,"\u4e09\u4eba\u623f\u52a0\u5e8a\u95ee\u9898\uff0c\u9700\u8981\u6839\u636e\u52a0\u5e8a\u653f\u7b56\uff0c\u5e76\u8054\u7cfb\u9053\u65c5\u5ba2\u670d\u6838\u5b9e\u786e\u8ba4."),g.Vb(),g.Sc(18,"\n "),g.Vb(),g.Sc(19,"\n "),g.Vb())}function Wt(e,t){1&e&&(g.Wb(0,"div"),g.Sc(1,"\n "),g.Wb(2,"h4"),g.Sc(3,"5.1\u623f\u95f4\u7684\u53d6\u6d88\u653f\u7b56\u662f\u600e\u6837\u7684\uff1f"),g.Vb(),g.Sc(4,"\n "),g.Wb(5,"div",10),g.Sc(6,"\n "),g.Wb(7,"p"),g.Sc(8,"\u53d6\u6d88\u653f\u7b56\u4ee5\u9053\u65c5Shopping\u9152\u5e97\u9884\u8ba2\u9875\u9762\u4e2d\u5c55\u793a\u7684\u4e3a\u51c6."),g.Vb(),g.Sc(9,"\n "),g.Vb(),g.Sc(10,"\n "),g.Wb(11,"h4"),g.Sc(12,"5.2\u53d6\u6d88\u653f\u7b56\u53ef\u4ee5\u4fee\u6539\u5417\uff1f"),g.Vb(),g.Sc(13,"\n "),g.Wb(14,"div",10),g.Sc(15,"\n "),g.Wb(16,"p"),g.Sc(17,"\u9884\u8ba2\u540e\u65e0\u6cd5\u4fee\u6539\uff0c\u8bf7\u786e\u8ba4\u540e\u518d\u9884\u8ba2. (\u5982\u9047\u4e0d\u53ef\u6297\u529b\u56e0\u7d20\u5bfc\u81f4\u9700\u8981\u53d6\u6d88\uff0c\u8bf7\u53ca\u65f6\u8054\u7cfb\u9053\u65c5\u5ba2\u670d\u534f\u52a9\u5904\u7406)"),g.Vb(),g.Sc(18,"\n "),g.Vb(),g.Sc(19,"\n "),g.Vb())}function Ht(e,t){1&e&&(g.Wb(0,"div"),g.Sc(1,"\n "),g.Wb(2,"h4"),g.Sc(3,"6.1\u513f\u7ae5\u653f\u7b56\u76f8\u5173"),g.Vb(),g.Sc(4,"\n "),g.Wb(5,"div",10),g.Sc(6,"\n "),g.Wb(7,"p"),g.Sc(8,"\u513f\u7ae5\u653f\u7b56\u4ee5\u9053\u65c5Shopping\u5c55\u793a\u4e3a\u51c6\uff0c\u5982\u65e0\u5c55\u793a\uff0c\u53ef\u8054\u7cfb\u9053\u65c5\u5ba2\u670d\u6838\u5b9e\u786e\u8ba4."),g.Vb(),g.Sc(9,"\n "),g.Vb(),g.Sc(10,"\n "),g.Vb())}function Ut(e,t){1&e&&(g.Wb(0,"div"),g.Sc(1,"\n "),g.Wb(2,"h4"),g.Sc(3,"7.1\u8ba2\u5355\u72b6\u6001\u6709\u54ea\u51e0\u7c7b\uff1f"),g.Vb(),g.Sc(4,"\n "),g.Wb(5,"div",10),g.Sc(6,"\n "),g.Wb(7,"p"),g.Sc(8,'\n "\u5df2\u786e\u8ba4":\u4ee3\u8868\u9884\u8ba2\u6210\u529f\uff1b'),g.Rb(9,"br"),g.Sc(10,'\n "\u672a\u652f\u4ed8":\u4ee3\u8868\u8ba2\u5355\u8fd8\u5728\u652f\u4ed8\u8fc7\u7a0b\u4e2d\uff0c\u672a\u5230\u4e0b\u5355\u7684\u6b65\u9aa4\uff0c\u9700\u8981\u6210\u529f\u652f\u4ed8\u540e\u7cfb\u7edf\u624d\u4f1a\u786e\u8ba4\u4e0b\u5355\uff1b'),g.Rb(11,"br"),g.Sc(12,'\n "\u6b63\u5728\u5904\u7406:\u4ee3\u8868\u8ba2\u5355\u786e\u8ba4\u4e2d\uff08\u5e76\u672a\u9884\u8ba2\u6210\u529f\uff09\uff0c\u8bf7\u7a0d\u7b492-3\u5206\u949f\u540e\u91cd\u65b0\u5237\u65b0\u9875\u9762\uff0c\u67e5\u770b\u8ba2\u5355\u72b6\u6001\uff1b'),g.Rb(13,"br"),g.Sc(14,'\n "\u9884\u8ba2\u5931\u8d25":\u4ee3\u8868\u9884\u8ba2\u5931\u8d25\uff0c\u8bf7\u91cd\u65b0\u4e0b\u5355\u9884\u8ba2\u3002\n '),g.Vb(),g.Sc(15,"\n "),g.Vb(),g.Sc(16,"\n "),g.Vb())}function $t(e,t){1&e&&(g.Wb(0,"div"),g.Sc(1,"\n "),g.Wb(2,"h4"),g.Sc(3,"8.1\u600e\u4e48\u7533\u8bf7\u53d1\u7968\uff1f\u591a\u4e45\u53ef\u4ee5\u5f00\u5177\u597d?"),g.Vb(),g.Sc(4,"\n "),g.Wb(5,"div",10),g.Sc(6,"\n "),g.Wb(7,"p"),g.Sc(8,"\n \u5982\u9700\u5f00\u5177\u53d1\u7968\u8bf7\u5728\u7ebf\u7533\u8bf7\uff0c\u9053\u65c5\u8d22\u52a1\u6bcf\u5468\u4e00\u5904\u7406\u5f00\u5177\u4e0a\u5468\u7533\u8bf7\u7684\u53d1\u7968\u3002"),g.Rb(9,"br"),g.Sc(10,"\n (\u5982\u9700\u7535\u5b50\u53d1\u7968\uff0c\u7533\u8bf7\u5f00\u7968\u65f6\u8bf7\u9884\u7559\u7535\u5b50\u90ae\u7bb1\uff0c\u65b9\u4fbf\u9053\u65c5\u8d22\u52a1\u53d1\u9001\u53d1\u7968)\n "),g.Vb(),g.Sc(11,"\n "),g.Vb(),g.Sc(12,"\n "),g.Wb(13,"h4"),g.Sc(14,"8.2\u9053\u65c5\u53ef\u5f00\u5177\u7684\u53d1\u7968\u7c7b\u76ee\u662f?"),g.Vb(),g.Sc(15,"\n "),g.Wb(16,"div",10),g.Sc(17,"\n "),g.Wb(18,"p"),g.Sc(19,"\u9053\u65c5\u7edf\u4e00\u5f00\u7968\u7684\u7c7b\u76ee\u4e3a\uff1a*\u65c5\u6e38\u670d\u52a1*\u5355\u9879\u65c5\u6e38\u670d\u52a1\u2014\u2014\u4f4f\u5bbf\u8d39\u3002\u65e0\u6cd5\u66f4\u6539\u4e3a\u5176\u5b83\u7c7b\u76ee\uff0c\u656c\u8bf7\u7559\u610f."),g.Vb(),g.Sc(20,"\n "),g.Vb(),g.Sc(21,"\n "),g.Vb())}function Qt(e,t){1&e&&(g.Wb(0,"div"),g.Sc(1,"\n "),g.Wb(2,"h4"),g.Sc(3,"9.1\u8d26\u5355\u662f\u4ec0\u4e48?"),g.Vb(),g.Sc(4,"\n "),g.Wb(5,"div",10),g.Sc(6,"\n "),g.Wb(7,"p"),g.Sc(8,"\u8d26\u5355\uff1a\u7ed3\u7b97\u5468\u671f\u5185\uff0c\u9700\u8981\u7ed3\u7b97\u7684\u8ba2\u5355\u96c6\u5408(\u5305\u62ec\u5468\u7ed3/\u534a\u6708\u7ed3/\u6708\u7ed3\u7b49\u591a\u79cd\u7ed3\u7b97\u5468\u671f)."),g.Vb(),g.Sc(9,"\n "),g.Vb(),g.Sc(10,"\n "),g.Wb(11,"h4"),g.Sc(12,"9.2\u8d26\u5355\u6709\u54ea\u51e0\u7c7b\uff1f"),g.Vb(),g.Sc(13,"\n "),g.Wb(14,"div",10),g.Sc(15,"\n "),g.Wb(16,"p"),g.Sc(17,"\n \u7ebf\u4e0b\u8d26\u5355\uff1a\u4e00\u822c\u4ec5\u7528\u4e8e\u6388\u4fe1\u5408\u4f5c\u7684\u534f\u8bae\u5ba2\u6237;"),g.Rb(18,"br"),g.Sc(19,"\n \u7ebf\u4e0a\u8d26\u5355\uff1a\u975e\u6388\u4fe1\u5408\u4f5c\u7684\u5ba2\u6237\u540d\u4e0b\uff0c\u901a\u8fc7Shopping\u7f51\u7ad9\u4e0d\u9650\u4e8e\u652f\u4ed8\u5b9d\u3001\u5b9d\u4ed8\u6216\u76f4\u63a5\u6c47\u6b3e\u7b49\u591a\u79cd\u652f\u4ed8\u65b9\u5f0f\uff0c\u7ed3\u7b97\u5230\u9053\u65c5\u8d26\u6237\u7684\u8ba2\u5355\uff0c\u7531\u6b64\u4ea7\u751f\u7684\u8d26\u5355\u3002\n "),g.Vb(),g.Sc(20,"\n "),g.Vb(),g.Sc(21,"\n "),g.Wb(22,"h4"),g.Sc(23,"9.3\u8d26\u5355\u72b6\u6001\u6709\u54ea\u51e0\u7c7b\uff1f"),g.Vb(),g.Sc(24,"\n "),g.Wb(25,"div",10),g.Sc(26,"\n "),g.Wb(27,"p"),g.Sc(28,"\n \u7ebf\u4e0b\u8d26\u5355\u72b6\u6001\uff1a \u5df2\u53d1\u90ae\u4ef6\u8d26\u5355:\u6307\u9053\u65c5\u8d22\u52a1\u5df2\u53d1\u9001\u8d26\u5355\u5230\u8d35\u53f8\u90ae\u7bb1\uff0c\u8bf7\u5c3d\u5feb\u5b89\u6392\u652f\u4ed8\u5e76\u4ee5\u90ae\u4ef6\u65b9\u5f0f\u56de\u590d\u4ed8\u6b3e\u51ed\u8bc1\uff1b"),g.Rb(29,"br"),g.Sc(30,"\n \u5df2\u7ed3\u7b97:\u8d26\u5355\u5df2\u7ed3\u7b97\uff0c\u9053\u65c5\u8d22\u52a1\u786e\u8ba4\u6b3e\u9879\u5df2\u5230\u8d26\uff1b"),g.Rb(31,"br"),g.Sc(32,"\n \u5df2\u4f5c\u5e9f:\u8d26\u5355\u5df2\u4f5c\u5e9f(\u8be5\u4f5c\u5e9f\u8d26\u5355\u4e2d\u7684\u8ba2\u5355\u4f1a\u56de\u5230\u201c\u7ed3\u7b97\u7533\u8bf7\u201dList\u4e2d\uff0c\u9700\u91cd\u65b0\u7533\u8bf7\u7ed3\u7b97)\uff1b"),g.Rb(33,"br"),g.Sc(34,"\n \u7ebf\u4e0a\u8d26\u5355\u72b6\u6001\uff1a"),g.Rb(35,"br"),g.Sc(36,"\n \u672a\u7ed3\u7b97(\u70b9\u51fb\u4f5c\u5e9f)\uff1a\u672a\u7ed3\u7b97\u8d26\u5355\uff0c\u53ef\u8fdb\u884c\u652f\u4ed8\u7ed3\u7b97\u6216\u4f5c\u5e9f\u8d26\u5355\uff1b"),g.Rb(37,"br"),g.Sc(38,"\n \u5df2\u7ed3\u7b97\uff1a\u8d26\u5355\u5df2\u7ed3\u7b97\uff0c\u7cfb\u7edf\u786e\u8ba4\u6b3e\u9879\u5df2\u5230\u8d26\uff1b"),g.Rb(39,"br"),g.Sc(40,"\n \u5df2\u4f5c\u5e9f\uff1a\u8d26\u5355\u5df2\u4f5c\u5e9f(\u8be5\u4f5c\u5e9f\u8d26\u5355\u4e2d\u7684\u8ba2\u5355\u4f1a\u56de\u5230\u201c\u7ed3\u7b97\u7533\u8bf7\u201dList\u4e2d\uff0c\u9700\u91cd\u65b0\u7533\u8bf7\u7ed3\u7b97)\uff1b\n "),g.Vb(),g.Sc(41,"\n "),g.Vb(),g.Sc(42,"\n "),g.Wb(43,"h4"),g.Sc(44,"9.4\u7279\u6b8a\u60c5\u51b5\u8bf4\u660e"),g.Vb(),g.Sc(45,"\n "),g.Wb(46,"div",10),g.Sc(47,"\n "),g.Wb(48,"p"),g.Sc(49,"\n \u5982\u67d0\u672a\u7ed3\u7b97\u8d26\u5355\u4e2d\u5305\u62ec\u82e5\u5e72\u8ba2\u5355A~Z\uff0c\u5ba2\u6237\u6ca1\u6709\u901a\u8fc7\u8d26\u5355\u7ed3\u7b97\uff0c\u800c\u662f\u901a\u8fc7\u201c\u8ba2\u5355\u7ba1\u7406\u201d\u4e2d\u7ed3\u7b97\u67d0\u8ba2\u5355A\n \u4f1a\u5bfc\u81f4\u8be5\u672a\u7ed3\u7b97\u8d26\u5355\u4f5c\u5e9f\uff0c\u9664\u8ba2\u5355A\u5916\u7684\u5176\u4ed6\u8ba2\u5355\uff0c\u56de\u5230\u201c\u7ed3\u7b97\u7533\u8bf7\u201dList\u4e2d\uff0c\u9700\u91cd\u65b0\u7533\u8bf7\u7ed3\u7b97\u3002\n "),g.Vb(),g.Sc(50,"\n "),g.Vb(),g.Sc(51,"\n "),g.Wb(52,"h4"),g.Sc(53,"9.5\u8d26\u5355\u662f\u600e\u4e48\u751f\u6210\u7684\uff1f"),g.Vb(),g.Sc(54,"\n "),g.Wb(55,"div",10),g.Sc(56,"\n "),g.Wb(57,"p"),g.Sc(58,"\u7ed3\u7b97\u5468\u671f\u5185\uff0c\u9700\u8981\u7ed3\u7b97\u7684\u8ba2\u5355\u96c6\u5408\u751f\u6210\u8d26\u5355(\u5305\u62ec\u5468\u7ed3/\u534a\u6708\u7ed3/\u6708\u7ed3\u7b49\u591a\u79cd\u7ed3\u7b97\u5468\u671f)"),g.Vb(),g.Sc(59,"\n "),g.Vb(),g.Sc(60,"\n "),g.Wb(61,"h4"),g.Sc(62,"9.6\u5df2\u53d6\u6d88\u7684\u8ba2\u5355\u4e3a\u4ec0\u4e48\u4e5f\u5728\u8d26\u5355\u4e2d\uff1f"),g.Vb(),g.Sc(63,"\n "),g.Wb(64,"div",10),g.Sc(65,"\n "),g.Wb(66,"p"),g.Sc(67,"\u5df2\u53d6\u6d88\u7684\u8ba2\u5355\u4ecd\u5728\u8d26\u5355\u8bb0\u5f55\u4e2d\uff0c\u8bf4\u660e\u8be5\u8ba2\u5355\u4e3a\u201c\u53d6\u6d88\u4ea7\u751f\u7f5a\u91d1\u7684\u8ba2\u5355\u201d\uff0c\u7f5a\u91d1\u9700\u8981\u7ed3\u7b97\u3002"),g.Vb(),g.Sc(68,"\n "),g.Vb(),g.Sc(69,"\n "),g.Vb())}function Gt(e,t){1&e&&(g.Wb(0,"div"),g.Sc(1,"\n "),g.Wb(2,"h4"),g.Sc(3,"10.1\u201c\u5de5\u5355\u201d\u662f\u4ec0\u4e48\uff0c\u600e\u4e48\u63d0\u4ea4\u5de5\u5355\uff1f"),g.Vb(),g.Sc(4,"\n "),g.Wb(5,"div",10),g.Sc(6,"\n "),g.Wb(7,"p"),g.Sc(8,"\n \u201c\u5de5\u5355\u201d\u662f\u4e00\u79cd\u5168\u65b0\u7684\u5bfb\u6c42\u5ba2\u670d\u534f\u52a9\u7684\u8054\u7cfb\u901a\u9053\uff0c\u4f1a\u6bd4\u7535\u8bdd/QQ/\u90ae\u7bb1\u7b49\uff0c\u80fd\u66f4\u4fbf\u6377\u3001\u66f4\u9ad8\u6548\u5730\u89e3\u51b3\u8ba2\u5355\u95ee\u9898\u3002\n \u76ee\u524d\u6211\u4eec\u652f\u6301\u60a8\u63d0\u4ea4\u4e00\u4e9b\u4fee\u6539\u7c7b\u578b\u7684\u5de5\u5355\uff0c\u5982\u4fee\u6539\u5165\u4f4f\u4eba\u59d3\u540d\uff0c\u4e00\u4e9b\u5907\u6ce8\u9700\u6c42\u7b49\uff0c\u8bf7\u5728\u9700\u8981\u7684\u65f6\u5019\u524d\u5f80\u8ba2\u5355\u7ba1\n \u7406\u9875\u9762\uff0c\u70b9\u51fb\u7533\u8bf7\u4fee\u6539\u6216\u518d\u63d0\u4e00\u4e2a\u5de5\u5355\u5373\u53ef\uff0c\u800c\u4e14\u5de5\u5355\u7684\u5904\u7406\u72b6\u6001\u4f1a\u7b2c\u4e00\u65f6\u95f4\u901a\u8fc7\u90ae\u4ef6\uff0c\u7ad9\u70b9\u7684\u6d88\u606f\u76d2\u5b50\u4ee5\u53ca\n \u8ba2\u5355\u8be6\u60c5\u7684\u5de5\u5355\u8fdb\u5ea6\u7b49\u5168\u65b9\u4f4d\u540c\u6b65\u7ed9\u5230\u60a8\u3002\n "),g.Vb(),g.Sc(9,"\n "),g.Vb(),g.Sc(10,"\n "),g.Wb(11,"h4"),g.Sc(12,"10.2 \u4e3a\u4ec0\u4e48\u67d0\u4e9b\u8ba2\u5355\u6ca1\u6709\u201c\u7533\u8bf7\u4fee\u6539\u201d\u7684\u529f\u80fd\u5165\u53e3\uff1f"),g.Vb(),g.Sc(13,"\n "),g.Wb(14,"div",10),g.Sc(15,"\n "),g.Wb(16,"p"),g.Sc(17,"\u76ee\u524d\u79bb\u5e9730\u5929\u5185\u7684\u8ba2\u5355\u4e5f\u652f\u6301\u5de5\u5355\u7533\u8bf7\u3002\u79bb\u5e9730\u5929\u540e\u6216\u5df2\u53d6\u6d88\u7684\u8ba2\u5355\uff0c\u6682\u4e0d\u652f\u6301\u5de5\u5355\u7533\u8bf7\u3002"),g.Vb(),g.Sc(18,"\n "),g.Vb(),g.Sc(19,"\n "),g.Vb())}function Yt(e,t){1&e&&(g.Wb(0,"div"),g.Sc(1,"\n "),g.Wb(2,"h4"),g.Sc(3,"11.1\u9644\u52a0\u670d\u52a1"),g.Vb(),g.Sc(4,"\n "),g.Wb(5,"div",10),g.Sc(6,"\n "),g.Wb(7,"h5"),g.Sc(8,"11.1.1\u9152\u5e97\u662f\u5426\u80fd\u5b89\u6392\u63a5\u9001\u673a\uff0c\u9700\u8981\u600e\u4e48\u9884\u8ba2\uff1f\u600e\u4e48\u6536\u8d39\uff1f"),g.Vb(),g.Sc(9,"\n "),g.Wb(10,"div",10),g.Sc(11,"\n "),g.Wb(12,"p"),g.Sc(13,"\u4ee5\u9053\u65c5Shopping\u5c55\u793a\u4e3a\u51c6\uff0c\u5982\u65e0\u5c55\u793a\uff0c\u53ef\u8054\u7cfb\u9053\u65c5\u5ba2\u670d\u6838\u5b9e\u786e\u8ba4\u3002"),g.Vb(),g.Sc(14,"\n "),g.Vb(),g.Sc(15,"\n "),g.Wb(16,"h5"),g.Sc(17,"11.1.2\u9152\u5e97\u5468\u8fb9\u4ea4\u901a\u60c5\u51b5\u5982\u4f55\uff1f"),g.Vb(),g.Sc(18,"\n "),g.Wb(19,"div",10),g.Sc(20,"\n "),g.Wb(21,"p"),g.Sc(22,"\n a)\u53ef\u4f7f\u7528\u9053\u65c5\u5730\u56fe\u529f\u80fd\u67e5\u770b\u9152\u5e97\u5468\u8fb9\u4ea4\u901a\u7b49\u60c5\u51b5(\u63a8\u8350)\uff1b"),g.Rb(23,"br"),g.Sc(24,"\n b)\u4ee5\u9053\u65c5Shopping\u5c55\u793a\u4e3a\u53c2\u8003\uff1b"),g.Rb(25,"br"),g.Sc(26,"\n c)\u53ef\u8054\u7cfb\u9053\u65c5\u5ba2\u670d\u534f\u52a9\u786e\u8ba4\u3002\n "),g.Vb(),g.Sc(27,"\n "),g.Vb(),g.Sc(28,"\n "),g.Vb(),g.Sc(29,"\n "),g.Wb(30,"h4"),g.Sc(31,"11.2\u9053\u65c5\u6307\u7684\u201c\u542b\u7a0e\u201d\u62a5\u4ef7\uff0c\u6307\u7684\u662f\u54ea\u4e9b\u7a0e\u8d39\uff1f"),g.Vb(),g.Sc(32,"\n "),g.Wb(33,"div",10),g.Sc(34,"\n "),g.Wb(35,"p"),g.Sc(36,"\n \u9053\u65c5\u4ef7\u683c\u5df2\u542b\u623f\u8d39\u53ca\u4e00\u822c\u7a0e\u8d39(\u53ef\u4ee5\u7406\u89e3\u4e3a\u9152\u5e97\u65b9\u6536\u53d6\u7684\u670d\u52a1\u8d39\uff0c\u4e00\u822c\u7528\u4e8e\u62b5\u5145\u9152\u5e97\u6536\u5165\u5bf9\u5e94\u7684\u7a0e\u6b3e)"),g.Rb(37,"br"),g.Sc(38,"\n \u5176\u4e2d\u4e0d\u5305\u542b\uff1a a\uff09\u57ce\u5e02\u7a0e(\u6b27\u6d32)\u3001\u5ea6\u5047\u6751\u8d39\u3001\u8bbe\u65bd\u8d39(\u5317\u7f8e)\u3001\u5e02\u653f\u8d39(\u8fea\u62dc)\u3001\u9500\u552e\u4e0e\u670d\u52a1\u7a0eSST(\u9a6c\u6765\u897f\u4e9a)\u7b49\uff0c\n \u9152\u5e97\u53ef\u80fd\u5411\u5ba2\u4eba\u53e6\u884c\u5f81\u6536\u7684\u8d39\u7528\uff1b"),g.Rb(39,"br"),g.Sc(40,"\n b\uff09\u5ba2\u4eba\u5728\u9152\u5e97\u4ea7\u751f\u7684\u989d\u5916\u6d88\u8d39\u3001\u589e\u9879\u670d\u52a1\u8d39\u3001\u8fdd\u89c4\u7f5a\u6b3e\u7b49\u4e00\u5207\u8d39\u7528\uff0c\u9700\u5ba2\u4eba\u8ddf\u9152\u5e97\u53e6\u884c\u7ed3\u7b97\u3002\n "),g.Vb(),g.Sc(41,"\n "),g.Vb(),g.Sc(42,"\n "),g.Vb())}function Kt(e,t){if(1&e){const e=g.Xb();g.Wb(0,"nd-layout",2),g.Sc(1,"\n "),g.Wb(2,"nd-layout-aside-left",3),g.Sc(3,"\n "),g.Wb(4,"h2",4),g.Rb(5,"i",5),g.Sc(6,"FAQ"),g.Vb(),g.Sc(7,"\n "),g.Wb(8,"ul",6),g.Sc(9,"\n "),g.Wb(10,"li",7),g.lc("click",function(){g.Hc(e);const t=g.oc();return t.openFaqItemByType(t.FAQItemTypeEnum.BedType)}),g.Sc(11,"\n \u5e8a\u578b\u76f8\u5173\n "),g.Vb(),g.Sc(12,"\n "),g.Wb(13,"li",7),g.lc("click",function(){g.Hc(e);const t=g.oc();return t.openFaqItemByType(t.FAQItemTypeEnum.RoomType)}),g.Sc(14,"\n \u623f\u578b\u76f8\u5173\n "),g.Vb(),g.Sc(15,"\n "),g.Wb(16,"li",7),g.lc("click",function(){g.Hc(e);const t=g.oc();return t.openFaqItemByType(t.FAQItemTypeEnum.MealType)}),g.Sc(17,"\n \u9910\u578b\u76f8\u5173\n "),g.Vb(),g.Sc(18,"\n "),g.Wb(19,"li",7),g.lc("click",function(){g.Hc(e);const t=g.oc();return t.openFaqItemByType(t.FAQItemTypeEnum.ExtraBed)}),g.Sc(20,"\n \u52a0\u5e8a\u76f8\u5173\n "),g.Vb(),g.Sc(21,"\n "),g.Wb(22,"li",7),g.lc("click",function(){g.Hc(e);const t=g.oc();return t.openFaqItemByType(t.FAQItemTypeEnum.Cancellation)}),g.Sc(23,"\n \u53d6\u6d88\u653f\u7b56\u76f8\u5173\n "),g.Vb(),g.Sc(24,"\n "),g.Wb(25,"li",7),g.lc("click",function(){g.Hc(e);const t=g.oc();return t.openFaqItemByType(t.FAQItemTypeEnum.ChildPolicies)}),g.Sc(26,"\n \u513f\u7ae5\u653f\u7b56\u76f8\u5173\n "),g.Vb(),g.Sc(27,"\n "),g.Wb(28,"li",7),g.lc("click",function(){g.Hc(e);const t=g.oc();return t.openFaqItemByType(t.FAQItemTypeEnum.BookingStatus)}),g.Sc(29,"\n \u8ba2\u5355\u72b6\u6001\u76f8\u5173\n "),g.Vb(),g.Sc(30,"\n "),g.Wb(31,"li",7),g.lc("click",function(){g.Hc(e);const t=g.oc();return t.openFaqItemByType(t.FAQItemTypeEnum.Invoice)}),g.Sc(32,"\n \u53d1\u7968\u76f8\u5173\n "),g.Vb(),g.Sc(33,"\n "),g.Wb(34,"li",7),g.lc("click",function(){g.Hc(e);const t=g.oc();return t.openFaqItemByType(t.FAQItemTypeEnum.Settlement)}),g.Sc(35,"\n \u8d26\u5355\u76f8\u5173\n "),g.Vb(),g.Sc(36,"\n "),g.Wb(37,"li",7),g.lc("click",function(){g.Hc(e);const t=g.oc();return t.openFaqItemByType(t.FAQItemTypeEnum.Ticket)}),g.Sc(38,"\n \u5de5\u5355\u76f8\u5173\n "),g.Vb(),g.Sc(39,"\n "),g.Wb(40,"li",7),g.lc("click",function(){g.Hc(e);const t=g.oc();return t.openFaqItemByType(t.FAQItemTypeEnum.Others)}),g.Sc(41,"\n \u5176\u4ed6\n "),g.Vb(),g.Sc(42,"\n "),g.Vb(),g.Sc(43,"\n "),g.Vb(),g.Sc(44,"\n\n "),g.Wb(45,"nd-panel",8),g.Sc(46,"\n "),g.Qc(47,Lt,75,2,"div",9),g.Sc(48,"\n "),g.Qc(49,Nt,13,0,"div",9),g.Sc(50,"\n "),g.Qc(51,Ft,20,0,"div",9),g.Sc(52,"\n "),g.Qc(53,Bt,20,0,"div",9),g.Sc(54,"\n "),g.Qc(55,Wt,20,0,"div",9),g.Sc(56,"\n "),g.Qc(57,Ht,11,0,"div",9),g.Sc(58,"\n "),g.Qc(59,Ut,17,0,"div",9),g.Sc(60,"\n "),g.Qc(61,$t,22,0,"div",9),g.Sc(62,"\n "),g.Qc(63,Qt,70,0,"div",9),g.Sc(64,"\n "),g.Qc(65,Gt,20,0,"div",9),g.Sc(66,"\n "),g.Qc(67,Yt,43,0,"div",9),g.Sc(68,"\n "),g.Vb(),g.Sc(69,"\n"),g.Vb()}if(2&e){const e=t.ngIf,n=g.oc();g.wc("rootLayout",!1),g.Cb(2),g.wc("widthPx",268),g.Cb(3),g.wc("ndType",n.Icons.commonProblem),g.Cb(3),g.wc("nzInlineIndent",52),g.Cb(2),g.wc("nzSelected",e===n.FAQItemTypeEnum.BedType),g.Cb(3),g.wc("nzSelected",e===n.FAQItemTypeEnum.RoomType),g.Cb(3),g.wc("nzSelected",e===n.FAQItemTypeEnum.MealType),g.Cb(3),g.wc("nzSelected",e===n.FAQItemTypeEnum.ExtraBed),g.Cb(3),g.wc("nzSelected",e===n.FAQItemTypeEnum.Cancellation),g.Cb(3),g.wc("nzSelected",e===n.FAQItemTypeEnum.ChildPolicies),g.Cb(3),g.wc("nzSelected",e===n.FAQItemTypeEnum.BookingStatus),g.Cb(3),g.wc("nzSelected",e===n.FAQItemTypeEnum.Invoice),g.Cb(3),g.wc("nzSelected",e===n.FAQItemTypeEnum.Settlement),g.Cb(3),g.wc("nzSelected",e===n.FAQItemTypeEnum.Ticket),g.Cb(3),g.wc("nzSelected",e===n.FAQItemTypeEnum.Others),g.Cb(5),g.wc("ngSwitch",e),g.Cb(2),g.wc("ngSwitchCase",n.FAQItemTypeEnum.BedType),g.Cb(2),g.wc("ngSwitchCase",n.FAQItemTypeEnum.RoomType),g.Cb(2),g.wc("ngSwitchCase",n.FAQItemTypeEnum.MealType),g.Cb(2),g.wc("ngSwitchCase",n.FAQItemTypeEnum.ExtraBed),g.Cb(2),g.wc("ngSwitchCase",n.FAQItemTypeEnum.Cancellation),g.Cb(2),g.wc("ngSwitchCase",n.FAQItemTypeEnum.ChildPolicies),g.Cb(2),g.wc("ngSwitchCase",n.FAQItemTypeEnum.BookingStatus),g.Cb(2),g.wc("ngSwitchCase",n.FAQItemTypeEnum.Invoice),g.Cb(2),g.wc("ngSwitchCase",n.FAQItemTypeEnum.Settlement),g.Cb(2),g.wc("ngSwitchCase",n.FAQItemTypeEnum.Ticket),g.Cb(2),g.wc("ngSwitchCase",n.FAQItemTypeEnum.Others)}}var Xt=function(e){return e[e.BedType=1]="BedType",e[e.RoomType=2]="RoomType",e[e.MealType=3]="MealType",e[e.ExtraBed=4]="ExtraBed",e[e.Cancellation=5]="Cancellation",e[e.ChildPolicies=6]="ChildPolicies",e[e.BookingStatus=7]="BookingStatus",e[e.Invoice=8]="Invoice",e[e.Settlement=9]="Settlement",e[e.Ticket=10]="Ticket",e[e.Others=999]="Others",e}({});let qt=(()=>{class e{constructor(){this.FAQItemTypeEnum=Xt,this.Icons=At.a,this.className="dida-faq",this.faqItemType$=new It.a(Xt.BedType)}openFaqItemByType(e){this.faqItemType$.next(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=g.Kb({type:e,selectors:[["dida-faq"]],hostVars:2,hostBindings:function(e,t){2&e&&g.Eb(t.className)},decls:5,vars:3,consts:function(){let e;return e="What is the standard of 1.2 meter bed type?",[["ndTitle","FAQ"],["layoutMainCenterClass","dida-faq__main-section",3,"rootLayout",4,"ngIf"],["layoutMainCenterClass","dida-faq__main-section",3,"rootLayout"],[3,"widthPx"],[1,"dida-faq__menu-title"],["nz-icon","",3,"ndType"],["nz-menu","","nzMode","inline",3,"nzInlineIndent"],["nz-menu-item","",3,"nzSelected","click"],[1,"dida-faq__content",3,"ngSwitch"],[4,"ngSwitchCase"],[1,"section"],[1,"nd-text-error"],e,[1,"nd-list-table",3,"ngStyle"]]},template:function(e,t){1&e&&(g.Rb(0,"nd-page-meta",0),g.Sc(1,"\n"),g.Qc(2,Kt,70,27,"nd-layout",1),g.pc(3,"async"),g.Sc(4,"\n")),2&e&&(g.Cb(2),g.wc("ngIf",g.qc(3,1,t.faqItemType$)))},directives:[qe.a,o.o,Je.a,Ze.a,X.a,tt.a,m.a,Rt.c,Rt.d,jt.a,o.q,o.r,o.p],pipes:[o.b],styles:[".dida-faq__side-menu{min-width:268px}.dida-faq__menu-title{margin:0;padding-left:52px;padding-top:8px;padding-bottom:4px;font-size:14px;font-weight:400;background:#fff;line-height:40px;color:#1f2b4b;position:relative}.dida-faq__menu-title>i{position:absolute;top:20px;left:24px;font-size:16px}.dida-faq__main-section{margin-left:16px}.dida-faq__content{height:100%}.dida-faq__content>div{max-width:1140px}.dida-faq__content h4{font-size:14px;line-height:22px;color:#1f2b4b;margin-bottom:4px;font-weight:700}.dida-faq__content .nd-list-table,.dida-faq__content p{margin-bottom:4px}.dida-faq__content .nd-list-table>tbody>tr>th,.dida-faq__content .nd-list-table>thead>tr>th,.dida-faq__content .nd-list-table>tr>th{padding:10px 16px}.dida-faq__content .section{margin-bottom:8px}"],encapsulation:2,changeDetection:0}),e})();var Jt=n("TEgR"),Zt=n("itXk");function en(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function tn(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach(function(n){void 0===e[n]?e[n]=t[n]:en(t[n])&&en(e[n])&&Object.keys(t[n]).length>0&&tn(e[n],t[n])})}var nn={body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function rn(){var e="undefined"!=typeof document?document:{};return tn(e,nn),e}var on={document:nn,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}},requestAnimationFrame:function(e){return"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0)},cancelAnimationFrame:function(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function sn(){var e="undefined"!=typeof window?window:{};return tn(e,on),e}function an(e){return an=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},an(e)}function cn(e,t){return cn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},cn(e,t)}function ln(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function un(e,t,n){return un=ln()?Reflect.construct:function(e,t,n){var i=[null];i.push.apply(i,t);var r=new(Function.bind.apply(e,i));return n&&cn(r,n.prototype),r},un.apply(null,arguments)}function dn(e){var t="function"==typeof Map?new Map:void 0;return dn=function(e){if(null===e||-1===Function.toString.call(e).indexOf("[native code]"))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return un(e,arguments,an(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),cn(n,e)},dn(e)}var hn=function(e){var t,n;function i(t){var n,i,r;return i=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n=e.call.apply(e,[this].concat(t))||this),r=i.__proto__,Object.defineProperty(i,"__proto__",{get:function(){return r},set:function(e){r.__proto__=e}}),n}return n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,i}(dn(Array));function pn(e){void 0===e&&(e=[]);var t=[];return e.forEach(function(e){Array.isArray(e)?t.push.apply(t,pn(e)):t.push(e)}),t}function fn(e,t){return Array.prototype.filter.call(e,t)}function gn(e,t){var n=sn(),i=rn(),r=[];if(!t&&e instanceof hn)return e;if(!e)return new hn(r);if("string"==typeof e){var o=e.trim();if(o.indexOf("<")>=0&&o.indexOf(">")>=0){var s="div";0===o.indexOf("0}).length>0},toggleClass:function(){for(var e=arguments.length,t=new Array(e),n=0;n=0;p-=1){var f=h[p];o&&f.listener===o||o&&f.listener&&f.listener.dom7proxy&&f.listener.dom7proxy===o?(d.removeEventListener(l,f.proxyListener,s),h.splice(p,1)):o||(d.removeEventListener(l,f.proxyListener,s),h.splice(p,1))}}return this},trigger:function(){for(var e=sn(),t=arguments.length,n=new Array(t),i=0;i0}),l.dispatchEvent(u),l.dom7EventData=[],delete l.dom7EventData}}return this},transitionEnd:function(e){var t=this;return e&&t.on("transitionend",function n(i){i.target===this&&(e.call(this,i),t.off("transitionend",n))}),this},outerWidth:function(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},styles:function(){var e=sn();return this[0]?e.getComputedStyle(this[0],null):{}},offset:function(){if(this.length>0){var e=sn(),t=rn(),n=this[0],i=n.getBoundingClientRect(),r=t.body;return{top:i.top+(n===e?e.scrollY:n.scrollTop)-(n.clientTop||r.clientTop||0),left:i.left+(n===e?e.scrollX:n.scrollLeft)-(n.clientLeft||r.clientLeft||0)}}return null},css:function(e,t){var n,i=sn();if(1===arguments.length){if("string"!=typeof e){for(n=0;nt-1)return gn([]);if(e<0){var n=t+e;return gn(n<0?[]:[this[n]])}return gn([this[e]])},append:function(){for(var e,t=rn(),n=0;n=0;n-=1)this[t].insertBefore(r.childNodes[n],this[t].childNodes[0])}else if(e instanceof hn)for(n=0;n0?e?this[0].nextElementSibling&&gn(this[0].nextElementSibling).is(e)?gn([this[0].nextElementSibling]):gn([]):gn(this[0].nextElementSibling?[this[0].nextElementSibling]:[]):gn([])},nextAll:function(e){var t=[],n=this[0];if(!n)return gn([]);for(;n.nextElementSibling;){var i=n.nextElementSibling;e?gn(i).is(e)&&t.push(i):t.push(i),n=i}return gn(t)},prev:function(e){if(this.length>0){var t=this[0];return e?t.previousElementSibling&&gn(t.previousElementSibling).is(e)?gn([t.previousElementSibling]):gn([]):gn(t.previousElementSibling?[t.previousElementSibling]:[])}return gn([])},prevAll:function(e){var t=[],n=this[0];if(!n)return gn([]);for(;n.previousElementSibling;){var i=n.previousElementSibling;e?gn(i).is(e)&&t.push(i):t.push(i),n=i}return gn(t)},parent:function(e){for(var t=[],n=0;n=0,observer:"MutationObserver"in e||"WebkitMutationObserver"in e,passiveListener:function(){var t=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t=!0}});e.addEventListener("testPassiveListener",null,n)}catch(i){}return t}(),gestures:"ongesturestart"in e}}()),vn}function Pn(e){return void 0===e&&(e={}),Cn||(Cn=function(e){var t=(void 0===e?{}:e).userAgent,n=kn(),i=sn(),r=i.navigator.platform,o=t||i.navigator.userAgent,s={ios:!1,android:!1},a=i.screen.width,c=i.screen.height,l=o.match(/(Android);?[\s\/]+([\d.]+)?/),u=o.match(/(iPad).*OS\s([\d_]+)/),d=o.match(/(iPod)(.*OS\s([\d_]+))?/),h=!u&&o.match(/(iPhone\sOS|iOS)\s([\d_]+)/),p="Win32"===r,f="MacIntel"===r;return!u&&f&&n.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(a+"x"+c)>=0&&((u=o.match(/(Version)\/([\d.]+)/))||(u=[0,1,"13_0_0"]),f=!1),l&&!p&&(s.os="android",s.android=!0),(u||h||d)&&(s.os="ios",s.ios=!0),s}(e)),Cn}function En(){return wn||(wn=function(){var e,t=sn();return{isEdge:!!t.navigator.userAgent.match(/Edge/g),isSafari:(e=t.navigator.userAgent.toLowerCase(),e.indexOf("safari")>=0&&e.indexOf("chrome")<0&&e.indexOf("android")<0),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent)}}()),wn}var Dn={name:"resize",create:function(){var e=this;Tn(e,{resize:{observer:null,createObserver:function(){e&&!e.destroyed&&e.initialized&&(e.resize.observer=new ResizeObserver(function(t){var n=e.width,i=e.height,r=n,o=i;t.forEach(function(t){var n=t.contentBoxSize,i=t.contentRect,s=t.target;s&&s!==e.el||(r=i?i.width:(n[0]||n).inlineSize,o=i?i.height:(n[0]||n).blockSize)}),r===n&&o===i||e.resize.resizeHandler()}),e.resize.observer.observe(e.el))},removeObserver:function(){e.resize.observer&&e.resize.observer.unobserve&&e.el&&(e.resize.observer.unobserve(e.el),e.resize.observer=null)},resizeHandler:function(){e&&!e.destroyed&&e.initialized&&(e.emit("beforeResize"),e.emit("resize"))},orientationChangeHandler:function(){e&&!e.destroyed&&e.initialized&&e.emit("orientationchange")}}})},on:{init:function(e){var t=sn();e.params.resizeObserver&&void 0!==sn().ResizeObserver?e.resize.createObserver():(t.addEventListener("resize",e.resize.resizeHandler),t.addEventListener("orientationchange",e.resize.orientationChangeHandler))},destroy:function(e){var t=sn();e.resize.removeObserver(),t.removeEventListener("resize",e.resize.resizeHandler),t.removeEventListener("orientationchange",e.resize.orientationChangeHandler)}}};function Mn(){return Mn=Object.assign||function(e){for(var t=1;t=0&&t.eventsAnyListeners.splice(n,1),t},off:function(e,t){var n=this;return n.eventsListeners?(e.split(" ").forEach(function(e){void 0===t?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].forEach(function(i,r){(i===t||i.__emitterProxy&&i.__emitterProxy===t)&&n.eventsListeners[e].splice(r,1)})}),n):n},emit:function(){var e,t,n,i=this;if(!i.eventsListeners)return i;for(var r=arguments.length,o=new Array(r),s=0;s0||r.isTouched&&r.isMoved))){o.noSwipingClass&&""!==o.noSwipingClass&&a.target&&a.target.shadowRoot&&e.path&&e.path[0]&&(c=Sn(e.path[0]));var l=o.noSwipingSelector?o.noSwipingSelector:"."+o.noSwipingClass;if(o.noSwiping&&(a.target&&a.target.shadowRoot?function(e,t){return void 0===t&&(t=this),function t(n){return n&&n!==rn()&&n!==sn()?(n.assignedSlot&&(n=n.assignedSlot),n.closest(e)||t(n.getRootNode().host)):null}(t)}(l,a.target):c.closest(l)[0]))t.allowClick=!0;else if(!o.swipeHandler||c.closest(o.swipeHandler)[0]){s.currentX="touchstart"===a.type?a.targetTouches[0].pageX:a.pageX,s.currentY="touchstart"===a.type?a.targetTouches[0].pageY:a.pageY;var u=s.currentX,d=s.currentY,h=o.edgeSwipeDetection||o.iOSEdgeSwipeDetection,p=o.edgeSwipeThreshold||o.iOSEdgeSwipeThreshold;if(h&&(u<=p||u>=i.innerWidth-p)){if("prevent"!==h)return;e.preventDefault()}if(Tn(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),s.startX=u,s.startY=d,r.touchStartTime=On(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,o.threshold>0&&(r.allowThresholdMove=!1),"touchstart"!==a.type){var f=!0;c.is(r.focusableElements)&&(f=!1),n.activeElement&&Sn(n.activeElement).is(r.focusableElements)&&n.activeElement!==c[0]&&n.activeElement.blur(),!o.touchStartForcePreventDefault&&!(f&&t.allowTouchMove&&o.touchStartPreventDefault)||c[0].isContentEditable||a.preventDefault()}t.emit("touchStart",a)}}}}function Ln(e){var t=rn(),n=this,i=n.touchEventsData,r=n.params,o=n.touches,s=n.rtlTranslate;if(n.enabled){var a=e;if(a.originalEvent&&(a=a.originalEvent),i.isTouched){if(!i.isTouchEvent||"touchmove"===a.type){var c="touchmove"===a.type&&a.targetTouches&&(a.targetTouches[0]||a.changedTouches[0]),l="touchmove"===a.type?c.pageX:a.pageX,u="touchmove"===a.type?c.pageY:a.pageY;if(a.preventedByNestedSwiper)return o.startX=l,void(o.startY=u);if(!n.allowTouchMove)return n.allowClick=!1,void(i.isTouched&&(Tn(o,{startX:l,startY:u,currentX:l,currentY:u}),i.touchStartTime=On()));if(i.isTouchEvent&&r.touchReleaseOnEdges&&!r.loop)if(n.isVertical()){if(uo.startY&&n.translate>=n.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else if(lo.startX&&n.translate>=n.minTranslate())return;if(i.isTouchEvent&&t.activeElement&&a.target===t.activeElement&&Sn(a.target).is(i.focusableElements))return i.isMoved=!0,void(n.allowClick=!1);if(i.allowTouchCallbacks&&n.emit("touchMove",a),!(a.targetTouches&&a.targetTouches.length>1)){o.currentX=l,o.currentY=u;var d,h=o.currentX-o.startX,p=o.currentY-o.startY;if(!(n.params.threshold&&Math.sqrt(Math.pow(h,2)+Math.pow(p,2))=25&&(d=180*Math.atan2(Math.abs(p),Math.abs(h))/Math.PI,i.isScrolling=n.isHorizontal()?d>r.touchAngle:90-d>r.touchAngle)),i.isScrolling&&n.emit("touchMoveOpposite",a),void 0===i.startMoving&&(o.currentX===o.startX&&o.currentY===o.startY||(i.startMoving=!0)),i.isScrolling)i.isTouched=!1;else if(i.startMoving){n.allowClick=!1,!r.cssMode&&a.cancelable&&a.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&a.stopPropagation(),i.isMoved||(r.loop&&n.loopFix(),i.startTranslate=n.getTranslate(),n.setTransition(0),n.animating&&n.$wrapperEl.trigger("webkitTransitionEnd transitionend"),i.allowMomentumBounce=!1,!r.grabCursor||!0!==n.allowSlideNext&&!0!==n.allowSlidePrev||n.setGrabCursor(!0),n.emit("sliderFirstMove",a)),n.emit("sliderMove",a),i.isMoved=!0;var f=n.isHorizontal()?h:p;o.diff=f,f*=r.touchRatio,s&&(f=-f),n.swipeDirection=f>0?"prev":"next",i.currentTranslate=f+i.startTranslate;var g=!0,b=r.resistanceRatio;if(r.touchReleaseOnEdges&&(b=0),f>0&&i.currentTranslate>n.minTranslate()?(g=!1,r.resistance&&(i.currentTranslate=n.minTranslate()-1+Math.pow(-n.minTranslate()+i.startTranslate+f,b))):f<0&&i.currentTranslatei.startTranslate&&(i.currentTranslate=i.startTranslate),n.allowSlidePrev||n.allowSlideNext||(i.currentTranslate=i.startTranslate),r.threshold>0){if(!(Math.abs(f)>r.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);if(!i.allowThresholdMove)return i.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,i.currentTranslate=i.startTranslate,void(o.diff=n.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY)}r.followFinger&&!r.cssMode&&((r.freeMode||r.watchSlidesProgress||r.watchSlidesVisibility)&&(n.updateActiveIndex(),n.updateSlidesClasses()),r.freeMode&&(0===i.velocities.length&&i.velocities.push({position:o[n.isHorizontal()?"startX":"startY"],time:i.touchStartTime}),i.velocities.push({position:o[n.isHorizontal()?"currentX":"currentY"],time:On()})),n.updateProgress(i.currentTranslate),n.setTranslate(i.currentTranslate))}}}}else i.startMoving&&i.isScrolling&&n.emit("touchMoveOpposite",a)}}function Nn(e){var t=this,n=t.touchEventsData,i=t.params,r=t.touches,o=t.rtlTranslate,s=t.$wrapperEl,a=t.slidesGrid,c=t.snapGrid;if(t.enabled){var l=e;if(l.originalEvent&&(l=l.originalEvent),n.allowTouchCallbacks&&t.emit("touchEnd",l),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&i.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);i.grabCursor&&n.isMoved&&n.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var u,d=On(),h=d-n.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(l),t.emit("tap click",l),h<300&&d-n.lastClickTime<300&&t.emit("doubleTap doubleClick",l)),n.lastClickTime=On(),_n(function(){t.destroyed||(t.allowClick=!0)}),!n.isTouched||!n.isMoved||!t.swipeDirection||0===r.diff||n.currentTranslate===n.startTranslate)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,u=i.followFinger?o?t.translate:-t.translate:-n.currentTranslate,!i.cssMode)if(i.freeMode){if(u<-t.minTranslate())return void t.slideTo(t.activeIndex);if(u>-t.maxTranslate())return void t.slideTo(t.slides.length1){var p=n.velocities.pop(),f=n.velocities.pop(),g=p.time-f.time;t.velocity=(p.position-f.position)/g,t.velocity/=2,Math.abs(t.velocity)150||On()-p.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=i.freeModeMomentumVelocityRatio,n.velocities.length=0;var b=1e3*i.freeModeMomentumRatio,m=t.translate+t.velocity*b;o&&(m=-m);var y,v,C=!1,w=20*Math.abs(t.velocity)*i.freeModeMomentumBounceRatio;if(mt.minTranslate())i.freeModeMomentumBounce?(m-t.minTranslate()>w&&(m=t.minTranslate()+w),y=t.minTranslate(),C=!0,n.allowMomentumBounce=!0):m=t.minTranslate(),i.loop&&i.centeredSlides&&(v=!0);else if(i.freeModeSticky){for(var S,_=0;_-m){S=_;break}m=-(m=Math.abs(c[S]-m)=i.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var z=0,T=t.slidesSizesGrid[0],k=0;k=a[k]&&u=a[k]&&(z=k,T=a[a.length-1]-a[a.length-2])}var E=(u-a[z])/T,D=zi.longSwipesMs){if(!i.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&t.slideTo(E>=i.longSwipesRatio?z+D:z),"prev"===t.swipeDirection&&t.slideTo(E>1-i.longSwipesRatio?z+D:z)}else{if(!i.shortSwipes)return void t.slideTo(t.activeIndex);!t.navigation||l.target!==t.navigation.nextEl&&l.target!==t.navigation.prevEl?("next"===t.swipeDirection&&t.slideTo(z+D),"prev"===t.swipeDirection&&t.slideTo(z)):t.slideTo(l.target===t.navigation.nextEl?z+D:z)}}}}function Fn(){var e=this,t=e.params,n=e.el;if(!n||0!==n.offsetWidth){t.breakpoints&&e.setBreakpoint();var i=e.allowSlideNext,r=e.allowSlidePrev,o=e.snapGrid;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),e.slideTo(("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides?e.slides.length-1:e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=r,e.allowSlideNext=i,e.params.watchOverflow&&o!==e.snapGrid&&e.checkOverflow()}}function Bn(e){var t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function Wn(){var e=this,t=e.wrapperEl,n=e.rtlTranslate;if(e.enabled){e.previousTranslate=e.translate,e.translate=e.isHorizontal()?n?t.scrollWidth-t.offsetWidth-t.scrollLeft:-t.scrollLeft:-t.scrollTop,-0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();var i=e.maxTranslate()-e.minTranslate();(0===i?0:(e.translate-e.minTranslate())/i)!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}}var Hn=!1;function Un(){}var $n={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!1,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,slidesPerGroupSkip:0,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1};function Qn(e,t){for(var n=0;n=0&&(v=parseFloat(v.replace("%",""))/100*o),e.virtualSize=-v,u.css(s?{marginLeft:"",marginBottom:"",marginTop:""}:{marginRight:"",marginBottom:"",marginTop:""}),i.slidesPerColumn>1&&(_=Math.floor(d/i.slidesPerColumn)===d/e.params.slidesPerColumn?d:Math.ceil(d/i.slidesPerColumn)*i.slidesPerColumn,"auto"!==i.slidesPerView&&"row"===i.slidesPerColumnFill&&(_=Math.max(_,i.slidesPerView*i.slidesPerColumn)));for(var x,z,T,k=i.slidesPerColumn,P=_/k,E=Math.floor(d/i.slidesPerColumn),D=0;D1){var I=void 0,A=void 0,R=void 0;if("row"===i.slidesPerColumnFill&&i.slidesPerGroup>1){var j=Math.floor(D/(i.slidesPerGroup*i.slidesPerColumn)),V=D-i.slidesPerColumn*i.slidesPerGroup*j,L=0===j?i.slidesPerGroup:Math.min(Math.ceil((d-j*k*i.slidesPerGroup)/k),i.slidesPerGroup);R=Math.floor(V/L),M.css({"-webkit-box-ordinal-group":I=(A=V-R*L+j*i.slidesPerGroup)+R*_/k,"-moz-box-ordinal-group":I,"-ms-flex-order":I,"-webkit-order":I,order:I})}else"column"===i.slidesPerColumnFill?(R=D-(A=Math.floor(D/k))*k,(A>E||A===E&&R===k-1)&&(R+=1)>=k&&(R=0,A+=1)):A=D-(R=Math.floor(D/P))*P;M.css(t("margin-top"),0!==R?i.spaceBetween&&i.spaceBetween+"px":"")}if("none"!==M.css("display")){if("auto"===i.slidesPerView){var N=getComputedStyle(M[0]),F=M[0].style.transform,B=M[0].style.webkitTransform;if(F&&(M[0].style.transform="none"),B&&(M[0].style.webkitTransform="none"),i.roundLengths)O=e.isHorizontal()?M.outerWidth(!0):M.outerHeight(!0);else{var W=n(N,"width"),H=n(N,"padding-left"),U=n(N,"padding-right"),$=n(N,"margin-left"),Q=n(N,"margin-right"),G=N.getPropertyValue("box-sizing");if(G&&"border-box"===G)O=W+$+Q;else{var Y=M[0];O=W+H+U+$+Q+(Y.offsetWidth-Y.clientWidth)}}F&&(M[0].style.transform=F),B&&(M[0].style.webkitTransform=B),i.roundLengths&&(O=Math.floor(O))}else O=(o-(i.slidesPerView-1)*v)/i.slidesPerView,i.roundLengths&&(O=Math.floor(O)),u[D]&&(u[D].style[t("width")]=O+"px");u[D]&&(u[D].swiperSlideSize=O),f.push(O),i.centeredSlides?(C=C+O/2+w/2+v,0===w&&0!==D&&(C=C-o/2-v),0===D&&(C=C-o/2-v),Math.abs(C)<.001&&(C=0),i.roundLengths&&(C=Math.floor(C)),S%i.slidesPerGroup==0&&h.push(C),p.push(C)):(i.roundLengths&&(C=Math.floor(C)),(S-Math.min(e.params.slidesPerGroupSkip,S))%e.params.slidesPerGroup==0&&h.push(C),p.push(C),C=C+O+v),e.virtualSize+=O+v,w=O,S+=1}}if(e.virtualSize=Math.max(e.virtualSize,o)+b,s&&a&&("slide"===i.effect||"coverflow"===i.effect)&&r.css({width:e.virtualSize+i.spaceBetween+"px"}),i.setWrapperSize&&r.css(((z={})[t("width")]=e.virtualSize+i.spaceBetween+"px",z)),i.slidesPerColumn>1&&(e.virtualSize=(O+i.spaceBetween)*_,e.virtualSize=Math.ceil(e.virtualSize/i.slidesPerColumn)-i.spaceBetween,r.css(((T={})[t("width")]=e.virtualSize+i.spaceBetween+"px",T)),i.centeredSlides)){x=[];for(var K=0;K1&&h.push(e.virtualSize-o)}if(0===h.length&&(h=[0]),0!==i.spaceBetween){var Z,ee=e.isHorizontal()&&s?"marginLeft":t("marginRight");u.filter(function(e,t){return!i.cssMode||t!==u.length-1}).css(((Z={})[ee]=v+"px",Z))}if(i.centeredSlides&&i.centeredSlidesBounds){var te=0;f.forEach(function(e){te+=e+(i.spaceBetween?i.spaceBetween:0)});var ne=(te-=i.spaceBetween)-o;h=h.map(function(e){return e<0?-g:e>ne?ne+b:e})}if(i.centerInsufficientSlides){var ie=0;if(f.forEach(function(e){ie+=e+(i.spaceBetween?i.spaceBetween:0)}),(ie-=i.spaceBetween)1)if(n.params.centeredSlides)n.visibleSlides.each(function(e){i.push(e)});else for(t=0;tn.slides.length&&!r)break;i.push(s(a))}else i.push(s(n.activeIndex));for(t=0;to?c:o}o&&n.$wrapperEl.css("height",o+"px")},updateSlidesOffset:function(){for(var e=this.slides,t=0;t=0&&l1&&u<=t.size||l<=0&&u>=t.size)&&(t.visibleSlides.push(a),t.visibleSlidesIndexes.push(s),i.eq(s).addClass(n.slideVisibleClass))}a.progress=r?-c:c}t.visibleSlides=Sn(t.visibleSlides)}},updateProgress:function(e){var t=this;void 0===e&&(e=t&&t.translate&&t.translate*(t.rtlTranslate?-1:1)||0);var n=t.params,i=t.maxTranslate()-t.minTranslate(),r=t.progress,o=t.isBeginning,s=t.isEnd,a=o,c=s;0===i?(r=0,o=!0,s=!0):(o=(r=(e-t.minTranslate())/i)<=0,s=r>=1),Tn(t,{progress:r,isBeginning:o,isEnd:s}),(n.watchSlidesProgress||n.watchSlidesVisibility||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),o&&!a&&t.emit("reachBeginning toEdge"),s&&!c&&t.emit("reachEnd toEdge"),(a&&!o||c&&!s)&&t.emit("fromEdge"),t.emit("progress",r)},updateSlidesClasses:function(){var e,t=this,n=t.slides,i=t.params,r=t.$wrapperEl,o=t.activeIndex,s=t.realIndex,a=t.virtual&&i.virtual.enabled;n.removeClass(i.slideActiveClass+" "+i.slideNextClass+" "+i.slidePrevClass+" "+i.slideDuplicateActiveClass+" "+i.slideDuplicateNextClass+" "+i.slideDuplicatePrevClass),(e=a?t.$wrapperEl.find("."+i.slideClass+'[data-swiper-slide-index="'+o+'"]'):n.eq(o)).addClass(i.slideActiveClass),i.loop&&(e.hasClass(i.slideDuplicateClass)?r.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+s+'"]').addClass(i.slideDuplicateActiveClass):r.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+s+'"]').addClass(i.slideDuplicateActiveClass));var c=e.nextAll("."+i.slideClass).eq(0).addClass(i.slideNextClass);i.loop&&0===c.length&&(c=n.eq(0)).addClass(i.slideNextClass);var l=e.prevAll("."+i.slideClass).eq(0).addClass(i.slidePrevClass);i.loop&&0===l.length&&(l=n.eq(-1)).addClass(i.slidePrevClass),i.loop&&(c.hasClass(i.slideDuplicateClass)?r.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+c.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicateNextClass):r.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+c.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicateNextClass),l.hasClass(i.slideDuplicateClass)?r.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicatePrevClass):r.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicatePrevClass)),t.emitSlidesClasses()},updateActiveIndex:function(e){var t,n=this,i=n.rtlTranslate?n.translate:-n.translate,r=n.slidesGrid,o=n.snapGrid,s=n.params,a=n.activeIndex,c=n.realIndex,l=n.snapIndex,u=e;if(void 0===u){for(var d=0;d=r[d]&&i=r[d]&&i=r[d]&&(u=d);s.normalizeSlideIndex&&(u<0||void 0===u)&&(u=0)}if(o.indexOf(i)>=0)t=o.indexOf(i);else{var h=Math.min(s.slidesPerGroupSkip,u);t=h+Math.floor((u-h)/s.slidesPerGroup)}if(t>=o.length&&(t=o.length-1),u!==a){var p=parseInt(n.slides.eq(u).attr("data-swiper-slide-index")||u,10);Tn(n,{snapIndex:t,realIndex:p,previousIndex:a,activeIndex:u}),n.emit("activeIndexChange"),n.emit("snapIndexChange"),c!==p&&n.emit("realIndexChange"),(n.initialized||n.params.runCallbacksOnInit)&&n.emit("slideChange")}else t!==l&&(n.snapIndex=t,n.emit("snapIndexChange"))},updateClickedSlide:function(e){var t,n=this,i=n.params,r=Sn(e.target).closest("."+i.slideClass)[0],o=!1;if(r)for(var s=0;s6&&(i=i.split(", ").map(function(e){return e.replace(",",".")}).join(", ")),r=new o.WebKitCSSMatrix("none"===i?"":i)):n=(r=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(i=o.WebKitCSSMatrix?r.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),"y"===t&&(i=o.WebKitCSSMatrix?r.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5])),i||0}(t.$wrapperEl[0],e);return i&&(o=-o),o||0},setTranslate:function(e,t){var n=this,i=n.rtlTranslate,r=n.params,o=n.$wrapperEl,s=n.wrapperEl,a=n.progress,c=0,l=0;n.isHorizontal()?c=i?-e:e:l=e,r.roundLengths&&(c=Math.floor(c),l=Math.floor(l)),r.cssMode?s[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-c:-l:r.virtualTranslate||o.transform("translate3d("+c+"px, "+l+"px, 0px)"),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?c:l;var u=n.maxTranslate()-n.minTranslate();(0===u?0:(e-n.minTranslate())/u)!==a&&n.updateProgress(e),n.emit("setTranslate",n.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,n,i,r){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===n&&(n=!0),void 0===i&&(i=!0);var o=this,s=o.params,a=o.wrapperEl;if(o.animating&&s.preventInteractionOnTransition)return!1;var c,l=o.minTranslate(),u=o.maxTranslate();if(o.updateProgress(c=i&&e>l?l:i&&eo?"next":ir?"next":i=l.length&&(b=l.length-1),(h||c.initialSlide||0)===(d||0)&&n&&s.emit("beforeSlideChangeStart");var m,y=-l[b];if(s.updateProgress(y),c.normalizeSlideIndex)for(var v=0;v=w&&C=w&&C=w&&(a=v)}if(s.initialized&&a!==h){if(!s.allowSlideNext&&ys.translate&&y>s.maxTranslate()&&(h||0)!==a)return!1}if(m=a>h?"next":a=e&&(h=e)}),void 0!==h&&(l=s.indexOf(h))<0&&(l=i.activeIndex-1),i.slideTo(l,e,t,n)},slideReset:function(e,t,n){return void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),this.slideTo(this.activeIndex,e,t,n)},slideToClosest:function(e,t,n,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),void 0===i&&(i=.5);var r=this,o=r.activeIndex,s=Math.min(r.params.slidesPerGroupSkip,o),a=s+Math.floor((o-s)/r.params.slidesPerGroup),c=r.rtlTranslate?r.translate:-r.translate;if(c>=r.snapGrid[a]){var l=r.snapGrid[a];c-l>(r.snapGrid[a+1]-l)*i&&(o+=r.params.slidesPerGroup)}else{var u=r.snapGrid[a-1];c-u<=(r.snapGrid[a]-u)*i&&(o-=r.params.slidesPerGroup)}return o=Math.max(o,0),o=Math.min(o,r.slidesGrid.length-1),r.slideTo(o,e,t,n)},slideToClickedSlide:function(){var e,t=this,n=t.params,i=t.$wrapperEl,r="auto"===n.slidesPerView?t.slidesPerViewDynamic():n.slidesPerView,o=t.clickedIndex;if(n.loop){if(t.animating)return;e=parseInt(Sn(t.clickedSlide).attr("data-swiper-slide-index"),10),n.centeredSlides?ot.slides.length-t.loopedSlides+r/2?(t.loopFix(),o=i.children("."+n.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+n.slideDuplicateClass+")").eq(0).index(),_n(function(){t.slideTo(o)})):t.slideTo(o):o>t.slides.length-r?(t.loopFix(),o=i.children("."+n.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+n.slideDuplicateClass+")").eq(0).index(),_n(function(){t.slideTo(o)})):t.slideTo(o)}else t.slideTo(o)}},loop:{loopCreate:function(){var e=this,t=rn(),n=e.params,i=e.$wrapperEl;i.children("."+n.slideClass+"."+n.slideDuplicateClass).remove();var r=i.children("."+n.slideClass);if(n.loopFillGroupWithBlank){var o=n.slidesPerGroup-r.length%n.slidesPerGroup;if(o!==n.slidesPerGroup){for(var s=0;sr.length&&(e.loopedSlides=r.length);var c=[],l=[];r.each(function(t,n){var i=Sn(t);n=r.length-e.loopedSlides&&c.push(t),i.attr("data-swiper-slide-index",n)});for(var u=0;u=0;d-=1)i.prepend(Sn(c[d].cloneNode(!0)).addClass(n.slideDuplicateClass))},loopFix:function(){var e=this;e.emit("beforeLoopFix");var t,n=e.activeIndex,i=e.slides,r=e.loopedSlides,o=e.allowSlidePrev,s=e.allowSlideNext,a=e.snapGrid,c=e.rtlTranslate;e.allowSlidePrev=!0,e.allowSlideNext=!0;var l=-a[n]-e.getTranslate();n=i.length-r&&(t=-i.length+n+r,e.slideTo(t+=r,0,!1,!0)&&0!==l&&e.setTranslate((c?-e.translate:e.translate)-l)),e.allowSlidePrev=o,e.allowSlideNext=s,e.emit("loopFix")},loopDestroy:function(){var e=this,t=e.params,n=e.slides;e.$wrapperEl.children("."+t.slideClass+"."+t.slideDuplicateClass+",."+t.slideClass+"."+t.slideBlankClass).remove(),n.removeAttr("data-swiper-slide-index")}},grabCursor:{setGrabCursor:function(e){var t=this;if(!(t.support.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)){var n=t.el;n.style.cursor="move",n.style.cursor=e?"-webkit-grabbing":"-webkit-grab",n.style.cursor=e?"-moz-grabbin":"-moz-grab",n.style.cursor=e?"grabbing":"grab"}},unsetGrabCursor:function(){var e=this;e.support.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.el.style.cursor="")}},manipulation:{appendSlide:function(e){var t=this,n=t.$wrapperEl,i=t.params;if(i.loop&&t.loopDestroy(),"object"==typeof e&&"length"in e)for(var r=0;r=s)n.appendSlide(t);else{for(var a=o>e?o+1:o,c=[],l=s-1;l>=e;l-=1){var u=n.slides.eq(l);u.remove(),c.unshift(u)}if("object"==typeof t&&"length"in t){for(var d=0;de?o+t.length:o}else i.append(t);for(var h=0;h1,h=u.slidesPerColumn>1,p=o.enabled;d&&!h?(s.removeClass(o.containerModifierClass+"multirow "+o.containerModifierClass+"multirow-column"),e.emitContainerClasses()):!d&&h&&(s.addClass(o.containerModifierClass+"multirow"),(u.slidesPerColumnFill&&"column"===u.slidesPerColumnFill||!u.slidesPerColumnFill&&"column"===o.slidesPerColumnFill)&&s.addClass(o.containerModifierClass+"multirow-column"),e.emitContainerClasses());var f=u.direction&&u.direction!==o.direction,g=o.loop&&(u.slidesPerView!==o.slidesPerView||f);f&&n&&e.changeDirection(),Tn(e.params,u);var b=e.params.enabled;Tn(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),p&&!b?e.disable():!p&&b&&e.enable(),e.currentBreakpoint=c,e.emit("_beforeBreakpoint",u),g&&n&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-r+e.loopedSlides,0,!1)),e.emit("breakpoint",u)}}},getBreakpoint:function(e,t,n){if(void 0===t&&(t="window"),e&&("container"!==t||n)){var i=!1,r=sn(),o="window"===t?r.innerHeight:n.clientHeight,s=Object.keys(e).map(function(e){if("string"==typeof e&&0===e.indexOf("@")){var t=parseFloat(e.substr(1));return{value:o*t,point:e}}return{value:e,point:e}});s.sort(function(e,t){return parseInt(e.value,10)-parseInt(t.value,10)});for(var a=0;a0&&t.slidesOffsetBefore+t.spaceBetween*(e.slides.length-1)+e.slides[0].offsetWidth*e.slides.length;e.isLocked=t.slidesOffsetBefore&&t.slidesOffsetAfter&&i?i<=e.size:1===e.snapGrid.length,e.allowSlideNext=!e.isLocked,e.allowSlidePrev=!e.isLocked,n!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock"),n&&n!==e.isLocked&&(e.isEnd=!1,e.navigation&&e.navigation.update())}},classes:{addClasses:function(){var e,t,n=this,i=n.classNames,r=n.params,o=n.$el,s=n.device,a=n.support,c=(e=r.containerModifierClass,t=[],["initialized",r.direction,{"pointer-events":a.pointerEvents&&!a.touch},{"free-mode":r.freeMode},{autoheight:r.autoHeight},{rtl:n.rtl},{multirow:r.slidesPerColumn>1},{"multirow-column":r.slidesPerColumn>1&&"column"===r.slidesPerColumnFill},{android:s.android},{ios:s.ios},{"css-mode":r.cssMode}].forEach(function(n){"object"==typeof n?Object.keys(n).forEach(function(i){n[i]&&t.push(e+i)}):"string"==typeof n&&t.push(e+n)}),t);i.push.apply(i,c),o.addClass([].concat(i).join(" ")),n.emitContainerClasses()},removeClasses:function(){var e=this;e.$el.removeClass(e.classNames.join(" ")),e.emitContainerClasses()}},images:{loadImage:function(e,t,n,i,r,o){var s,a=sn();function c(){o&&o()}Sn(e).parent("picture")[0]||e.complete&&r?c():t?((s=new a.Image).onload=c,s.onerror=c,i&&(s.sizes=i),n&&(s.srcset=n),t&&(s.src=t)):c()},preloadImages:function(){var e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(var n=0;n1){var s=[];return Sn(n.el).each(function(t){var i=Tn({},n,{el:t});s.push(new e(i))}),s}var a=this;a.__swiper__=!0,a.support=kn(),a.device=Pn({userAgent:n.userAgent}),a.browser=En(),a.eventsListeners={},a.eventsAnyListeners=[],void 0===a.modules&&(a.modules={}),Object.keys(a.modules).forEach(function(e){var t=a.modules[e];if(t.params){var i=Object.keys(t.params)[0],r=t.params[i];if("object"!=typeof r||null===r)return;if(["navigation","pagination","scrollbar"].indexOf(i)>=0&&!0===n[i]&&(n[i]={auto:!0}),!(i in n)||!("enabled"in r))return;!0===n[i]&&(n[i]={enabled:!0}),"object"!=typeof n[i]||"enabled"in n[i]||(n[i].enabled=!0),n[i]||(n[i]={enabled:!1})}});var c,l,u=Tn({},$n);return a.useParams(u),a.params=Tn({},u,Yn,n),a.originalParams=Tn({},a.params),a.passedParams=Tn({},n),a.params&&a.params.on&&Object.keys(a.params.on).forEach(function(e){a.on(e,a.params.on[e])}),a.params&&a.params.onAny&&a.onAny(a.params.onAny),a.$=Sn,Tn(a,{enabled:a.params.enabled,el:t,classNames:[],slides:Sn(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===a.params.direction},isVertical:function(){return"vertical"===a.params.direction},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:a.params.allowSlideNext,allowSlidePrev:a.params.allowSlidePrev,touchEvents:(c=["touchstart","touchmove","touchend","touchcancel"],l=["mousedown","mousemove","mouseup"],a.support.pointerEvents&&(l=["pointerdown","pointermove","pointerup"]),a.touchEventsTouch={start:c[0],move:c[1],end:c[2],cancel:c[3]},a.touchEventsDesktop={start:l[0],move:l[1],end:l[2]},a.support.touch||!a.params.simulateTouch?a.touchEventsTouch:a.touchEventsDesktop),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:a.params.focusableElements,lastClickTime:On(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.useModules(),a.emit("_swiper"),a.params.init&&a.init(),a}var t,n,i=e.prototype;return i.enable=function(){var e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))},i.disable=function(){var e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))},i.setProgress=function(e,t){var n=this;e=Math.min(Math.max(e,0),1);var i=n.minTranslate(),r=n.maxTranslate();n.translateTo((r-i)*e+i,void 0===t?0:t),n.updateActiveIndex(),n.updateSlidesClasses()},i.emitContainerClasses=function(){var e=this;if(e.params._emitClasses&&e.el){var t=e.el.className.split(" ").filter(function(t){return 0===t.indexOf("swiper-container")||0===t.indexOf(e.params.containerModifierClass)});e.emit("_containerClasses",t.join(" "))}},i.getSlideClasses=function(e){var t=this;return e.className.split(" ").filter(function(e){return 0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)}).join(" ")},i.emitSlidesClasses=function(){var e=this;if(e.params._emitClasses&&e.el){var t=[];e.slides.each(function(n){var i=e.getSlideClasses(n);t.push({slideEl:n,classNames:i}),e.emit("_slideClass",n,i)}),e.emit("_slideClasses",t)}},i.slidesPerViewDynamic=function(){var e=this,t=e.slides,n=e.slidesGrid,i=e.size,r=e.activeIndex,o=1;if(e.params.centeredSlides){for(var s,a=t[r].swiperSlideSize,c=r+1;ci&&(s=!0));for(var l=r-1;l>=0;l-=1)t[l]&&!s&&(o+=1,(a+=t[l].swiperSlideSize)>i&&(s=!0))}else for(var u=r+1;u1)&&e.isEnd&&!e.params.centeredSlides?e.slides.length-1:e.activeIndex,0,!1,!0)||i(),n.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}function i(){var t=Math.min(Math.max(e.rtlTranslate?-1*e.translate:e.translate,e.maxTranslate()),e.minTranslate());e.setTranslate(t),e.updateActiveIndex(),e.updateSlidesClasses()}},i.changeDirection=function(e,t){void 0===t&&(t=!0);var n=this,i=n.params.direction;return e||(e="horizontal"===i?"vertical":"horizontal"),e===i||"horizontal"!==e&&"vertical"!==e||(n.$el.removeClass(""+n.params.containerModifierClass+i).addClass(""+n.params.containerModifierClass+e),n.emitContainerClasses(),n.params.direction=e,n.slides.each(function(t){"vertical"===e?t.style.width="":t.style.height=""}),n.emit("changeDirection"),t&&n.update()),n},i.mount=function(e){var t=this;if(t.mounted)return!0;var n=Sn(e||t.params.el);if(!(e=n[0]))return!1;e.swiper=t;var i=function(){return"."+(t.params.wrapperClass||"").trim().split(" ").join(".")},r=function(){if(e&&e.shadowRoot&&e.shadowRoot.querySelector){var t=Sn(e.shadowRoot.querySelector(i()));return t.children=function(e){return n.children(e)},t}return n.children(i())}();if(0===r.length&&t.params.createElements){var o=rn().createElement("div");r=Sn(o),o.className=t.params.wrapperClass,n.append(o),n.children("."+t.params.slideClass).each(function(e){r.append(e)})}return Tn(t,{$el:n,el:e,$wrapperEl:r,wrapperEl:r[0],mounted:!0,rtl:"rtl"===e.dir.toLowerCase()||"rtl"===n.css("direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===e.dir.toLowerCase()||"rtl"===n.css("direction")),wrongRTL:"-webkit-box"===r.css("display")}),!0},i.init=function(e){var t=this;return t.initialized||!1===t.mount(e)||(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.params.loop&&t.loopCreate(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.preloadImages&&t.preloadImages(),t.slideTo(t.params.loop?t.params.initialSlide+t.loopedSlides:t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.attachEvents(),t.initialized=!0,t.emit("init"),t.emit("afterInit")),t},i.destroy=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);var n,i=this,r=i.params,o=i.$el,s=i.$wrapperEl,a=i.slides;return void 0===i.params||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),r.loop&&i.loopDestroy(),t&&(i.removeClasses(),o.removeAttr("style"),s.removeAttr("style"),a&&a.length&&a.removeClass([r.slideVisibleClass,r.slideActiveClass,r.slideNextClass,r.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),i.emit("destroy"),Object.keys(i.eventsListeners).forEach(function(e){i.off(e)}),!1!==e&&(i.$el[0].swiper=null,n=i,Object.keys(n).forEach(function(e){try{n[e]=null}catch(t){}try{delete n[e]}catch(t){}})),i.destroyed=!0),null},e.extendDefaults=function(e){Tn(Yn,e)},e.installModule=function(t){e.prototype.modules||(e.prototype.modules={});var n=t.name||Object.keys(e.prototype.modules).length+"_"+On();e.prototype.modules[n]=t},e.use=function(t){return Array.isArray(t)?(t.forEach(function(t){return e.installModule(t)}),e):(e.installModule(t),e)},t=e,(n=[{key:"extendedDefaults",get:function(){return Yn}},{key:"defaults",get:function(){return $n}}])&&Qn(t,n),e}();Object.keys(Gn).forEach(function(e){Object.keys(Gn[e]).forEach(function(t){Kn.prototype[t]=Gn[e][t]})}),Kn.use([Dn,An]);var Xn=Kn,qn=n("LRne");const Jn=["prevElRef"],Zn=["nextElRef"],ei=["scrollbarElRef"],ti=["paginationElRef"];function ni(e,t){1&e&&(g.Ub(0),g.Rb(1,"div",6,7),g.Rb(3,"div",8,9),g.Tb())}function ii(e,t){1&e&&g.Rb(0,"div",10,11)}function ri(e,t){1&e&&g.Rb(0,"div",12,13)}function oi(e,t){}function si(e,t){1&e&&g.Qc(0,oi,0,0,"ng-template")}function ai(e,t){}function ci(e,t){1&e&&g.Qc(0,ai,0,0,"ng-template")}function li(e,t){}function ui(e,t){1&e&&g.Qc(0,li,0,0,"ng-template")}function di(e,t){}const hi=function(e){return{$implicit:e}};function pi(e,t){if(1&e&&(g.Wb(0,"div",3),g.Qc(1,di,0,0,"ng-template",18),g.Vb()),2&e){const e=g.oc().$implicit,t=g.oc(2);g.wc("ngClass",t.zoomContainerClass),g.Cb(1),g.wc("ngTemplateOutlet",e.template)("ngTemplateOutletContext",g.Bc(3,hi,e.slideData))}}function fi(e,t){}function gi(e,t){if(1&e&&(g.Ub(0),g.Qc(1,fi,0,0,"ng-template",18),g.Tb()),2&e){const e=g.oc().$implicit;g.Cb(1),g.wc("ngTemplateOutlet",e.template)("ngTemplateOutletContext",g.Bc(2,hi,e.slideData))}}function bi(e,t){if(1&e&&(g.Wb(0,"div",15),g.Qc(1,pi,2,5,"div",16),g.Qc(2,gi,2,4,"ng-container",17),g.Vb()),2&e){const e=t.$implicit,n=g.oc().key,i=g.oc();g.Mc(i.style),g.wc("ngClass",(e.class?e.class+" ":"")+i.slideClass+(""!==n?" "+i.slideDuplicateClass:""))("ngSwitch",e.zoom),g.Db("data-swiper-slide-index",e.virtualIndex?e.virtualIndex:e.slideIndex),g.Cb(1),g.wc("ngSwitchCase",!0)}}function mi(e,t){1&e&&(g.Qc(0,bi,3,6,"div",14),g.pc(1,"async")),2&e&&g.wc("ngForOf",g.qc(1,1,t.loopSlides))}const yi=[[["","slot","container-start"]],[["","slot","wrapper-start"]],[["","slot","wrapper-end"]],[["","slot","container-end"]]],vi=function(e){return{loopSlides:e,key:"prepend"}},Ci=function(e){return{loopSlides:e,key:""}},wi=function(e){return{loopSlides:e,key:"append"}},Si=["[slot=container-start]","[slot=wrapper-start]","[slot=wrapper-end]","[slot=container-end]"];function _i(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function Oi(e,t,n){return!0===zi(e)&&t&&!t.el||!("boolean"!=typeof t&&t.el!==(null==n?void 0:n.nativeElement)&&("string"==typeof t.el||"object"==typeof t.el))}function xi(e,t){const n=["__proto__","constructor","prototype"];Object.keys(t).filter(e=>n.indexOf(e)<0).forEach(n=>{void 0!==e[n]?e[n]&&!t[n]||(_i(t[n])&&_i(e[n])&&Object.keys(t[n]).length>0?t[n].__swiper__?e[n]=t[n]:xi(e[n],t[n]):e[n]=t[n]):e[n]=t[n]})}function zi(e){return null!=e&&"false"!=`${e}`}const Ti=["pagination","navigation","scrollbar","virtual"];function ki(e,t={}){return _i(e)?e:!0===zi(e)&&t}const Pi=["init","_direction","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_freeModeMomentum","_freeModeMomentumRatio","_freeModeMomentumBounce","_freeModeMomentumBounceRatio","_freeModeMomentumVelocityRatio","_freeModeSticky","_freeModeMinimumVelocity","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","_spaceBetween","_slidesPerView","_slidesPerColumn","_slidesPerColumnFill","_slidesPerGroup","_slidesPerGroupSkip","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_watchSlidesVisibility","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_preloadImages","updateOnImagesReady","_loop","_loopAdditionalSlides","_loopedSlides","_loopFillGroupWithBlank","loopPreventsSlide","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideBlankClass","slideActiveClass","slideDuplicateActiveClass","slideVisibleClass","slideDuplicateClass","slideNextClass","slideDuplicateNextClass","slidePrevClass","slideDuplicatePrevClass","wrapperClass","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","hashNavigation","history","keyboard","lazy","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom"].map(e=>e.replace(/_/,""));function Ei(e={}){const t={on:{}},n={};xi(t,Xn.defaults),xi(t,Xn.extendedDefaults),t._emitClasses=!0;const i={};return Object.keys(e).forEach(r=>{const o=r.replace(/^_/,"");void 0!==e[o]&&(Pi.indexOf(o)>=0?_i(e[o])?(t[o]={},n[o]={},xi(t[o],e[o]),xi(n[o],e[o])):(t[o]=e[o],n[o]=e[o]):i[o]=e[o])}),{params:t,passedParams:n,rest:i}}let Di=(()=>{class e{constructor(e){this.template=e,this.class="",this.slideData={isActive:!1,isPrev:!1,isNext:!1,isVisible:!1,isDuplicate:!1}}set zoom(e){this._zoom=zi(e)}get zoom(){return this._zoom}get classNames(){return this._classNames}set classNames(e){this._classNames!==e&&(this._classNames=e,this.slideData={isActive:this._hasClass(["swiper-slide-active","swiper-slide-duplicate-active"]),isVisible:this._hasClass(["swiper-slide-visible"]),isDuplicate:this._hasClass(["swiper-slide-duplicate"]),isPrev:this._hasClass(["swiper-slide-prev","swiper-slide-duplicate-prev"]),isNext:this._hasClass(["swiper-slide-next","swiper-slide-duplicate-next"])})}_hasClass(e){return e.some(e=>this._classNames.indexOf(e)>=0)}}return e.\u0275fac=function(t){return new(t||e)(g.Qb(g.N))},e.\u0275dir=g.Lb({type:e,selectors:[["ng-template","swiperSlide",""]],inputs:{class:"class",zoom:"zoom",virtualIndex:"virtualIndex"}}),e})(),Mi=(()=>{class e{constructor(e,t,n,i){this._ngZone=e,this.elementRef=t,this._changeDetectorRef=n,this._platformId=i,this.slideClass="swiper-slide",this.wrapperClass="swiper-wrapper",this.showNavigation=!0,this.showPagination=!0,this.showScrollbar=!0,this.s__beforeBreakpoint=new g.n,this.s__containerClasses=new g.n,this.s__slideClass=new g.n,this.s__swiper=new g.n,this.s_activeIndexChange=new g.n,this.s_afterInit=new g.n,this.s_autoplay=new g.n,this.s_autoplayStart=new g.n,this.s_autoplayStop=new g.n,this.s_beforeDestroy=new g.n,this.s_beforeInit=new g.n,this.s_beforeLoopFix=new g.n,this.s_beforeResize=new g.n,this.s_beforeSlideChangeStart=new g.n,this.s_beforeTransitionStart=new g.n,this.s_breakpoint=new g.n,this.s_changeDirection=new g.n,this.s_click=new g.n,this.s_doubleTap=new g.n,this.s_doubleClick=new g.n,this.s_destroy=new g.n,this.s_fromEdge=new g.n,this.s_hashChange=new g.n,this.s_hashSet=new g.n,this.s_imagesReady=new g.n,this.s_init=new g.n,this.s_keyPress=new g.n,this.s_lazyImageLoad=new g.n,this.s_lazyImageReady=new g.n,this.s_loopFix=new g.n,this.s_momentumBounce=new g.n,this.s_navigationHide=new g.n,this.s_navigationShow=new g.n,this.s_observerUpdate=new g.n,this.s_orientationchange=new g.n,this.s_paginationHide=new g.n,this.s_paginationRender=new g.n,this.s_paginationShow=new g.n,this.s_paginationUpdate=new g.n,this.s_progress=new g.n,this.s_reachBeginning=new g.n,this.s_reachEnd=new g.n,this.s_realIndexChange=new g.n,this.s_resize=new g.n,this.s_scroll=new g.n,this.s_scrollbarDragEnd=new g.n,this.s_scrollbarDragMove=new g.n,this.s_scrollbarDragStart=new g.n,this.s_setTransition=new g.n,this.s_setTranslate=new g.n,this.s_slideChange=new g.n,this.s_slideChangeTransitionEnd=new g.n,this.s_slideChangeTransitionStart=new g.n,this.s_slideNextTransitionEnd=new g.n,this.s_slideNextTransitionStart=new g.n,this.s_slidePrevTransitionEnd=new g.n,this.s_slidePrevTransitionStart=new g.n,this.s_slideResetTransitionStart=new g.n,this.s_slideResetTransitionEnd=new g.n,this.s_sliderMove=new g.n,this.s_sliderFirstMove=new g.n,this.s_slidesLengthChange=new g.n,this.s_slidesGridLengthChange=new g.n,this.s_snapGridLengthChange=new g.n,this.s_snapIndexChange=new g.n,this.s_tap=new g.n,this.s_toEdge=new g.n,this.s_touchEnd=new g.n,this.s_touchMove=new g.n,this.s_touchMoveOpposite=new g.n,this.s_touchStart=new g.n,this.s_transitionEnd=new g.n,this.s_transitionStart=new g.n,this.s_update=new g.n,this.s_zoomChange=new g.n,this.s_swiper=new g.n,this.indexChange=new g.n,this._activeSlides=new G.a,this.containerClasses="swiper-container",this.slidesChanges=e=>{this.slides=e.map((e,t)=>(e.slideIndex=t,e.classNames=this.slideClass,e)),this.loop&&!this.loopedSlides&&this.calcLoopedSlides(),this.virtual?this.swiperRef&&this.swiperRef.virtual&&this._ngZone.runOutsideAngular(()=>{this.swiperRef.virtual.slides=this.slides,this.swiperRef.virtual.update(!0)}):(this.prependSlides=Object(qn.a)(this.slides.slice(this.slides.length-this.loopedSlides)),this.appendSlides=Object(qn.a)(this.slides.slice(0,this.loopedSlides))),this._changeDetectorRef.detectChanges()},this.style=null,this.updateVirtualSlides=e=>{!this.swiperRef||this.currentVirtualData&&this.currentVirtualData.from===e.from&&this.currentVirtualData.to===e.to&&this.currentVirtualData.offset===e.offset||(this.style=this.swiperRef.isHorizontal()?{[this.swiperRef.rtlTranslate?"right":"left"]:`${e.offset}px`}:{top:`${e.offset}px`},this.currentVirtualData=e,this._activeSlides.next(e.slides),this._ngZone.run(()=>{this._changeDetectorRef.detectChanges()}),this._ngZone.runOutsideAngular(()=>{this.swiperRef.updateSlides(),this.swiperRef.updateProgress(),this.swiperRef.updateSlidesClasses(),this.swiperRef.lazy&&this.swiperRef.params.lazy.enabled&&this.swiperRef.lazy.load(),this.swiperRef.virtual.update(!0)}))}}set navigation(e){var t,n,i;const r="boolean"!=typeof this._navigation?null===(t=this._navigation)||void 0===t?void 0:t.nextEl:null,o="boolean"!=typeof this._navigation?null===(n=this._navigation)||void 0===n?void 0:n.prevEl:null;this._navigation=ki(e,{nextEl:r||null,prevEl:o||null}),this.showNavigation=!(!0!==zi(e)||this._navigation&&"boolean"!=typeof this._navigation&&this._navigation.prevEl!==(null===(i=this._prevElRef)||void 0===i?void 0:i.nativeElement)&&(null!==this._navigation.prevEl||null!==this._navigation.nextEl)&&("string"==typeof this._navigation.nextEl||"string"==typeof this._navigation.prevEl||"object"==typeof this._navigation.nextEl||"object"==typeof this._navigation.prevEl))}get navigation(){return this._navigation}set pagination(e){var t;const n="boolean"!=typeof this._pagination?null===(t=this._pagination)||void 0===t?void 0:t.el:null;this._pagination=ki(e,{el:n||null}),this.showPagination=Oi(e,this._pagination,this._paginationElRef)}get pagination(){return this._pagination}set scrollbar(e){var t;const n="boolean"!=typeof this._scrollbar?null===(t=this._scrollbar)||void 0===t?void 0:t.el:null;this._scrollbar=ki(e,{el:n||null}),this.showScrollbar=Oi(e,this._scrollbar,this._scrollbarElRef)}get scrollbar(){return this._scrollbar}set virtual(e){this._virtual=ki(e)}get virtual(){return this._virtual}set index(e){this.setIndex(e)}set config(e){this.updateSwiper(e);const{params:t}=Ei(e);Object.assign(this,t)}set prevElRef(e){this._prevElRef=e,this._setElement(e,this.navigation,"navigation","prevEl")}set nextElRef(e){this._nextElRef=e,this._setElement(e,this.navigation,"navigation","nextEl")}set scrollbarElRef(e){this._scrollbarElRef=e,this._setElement(e,this.scrollbar,"scrollbar")}set paginationElRef(e){this._paginationElRef=e,this._setElement(e,this.pagination,"pagination")}get activeSlides(){return this.virtual?this._activeSlides:Object(qn.a)(this.slides)}get zoomContainerClass(){return"boolean"!=typeof this.zoom?this.zoom.containerClass:"swiper-zoom-container"}_setElement(e,t,n,i="el"){if(!e||!t)return;if(t&&e.nativeElement){if(t[i]===e.nativeElement)return;t[i]=e.nativeElement}const r={};r[n]=!0,this.updateInitSwiper(r)}ngOnInit(){const{params:e}=Ei(this);Object.assign(this,e)}ngAfterViewInit(){this.childrenSlidesInit(),this.initSwiper(),this._changeDetectorRef.detectChanges(),setTimeout(()=>{this.s_swiper.emit(this.swiperRef)})}childrenSlidesInit(){this.slidesChanges(this.slidesEl),this.slidesEl.changes.subscribe(this.slidesChanges)}get isSwiperActive(){return this.swiperRef&&!this.swiperRef.destroyed}initSwiper(){const{params:e}=Ei(this);Object.assign(this,e),this._ngZone.runOutsideAngular(()=>{e.init=!1,e.virtual||(e.observer=!0),e.onAny=(e,...t)=>{const n=this[`s_${e}`];n&&n.emit(...t)},Object.assign(e.on,{_containerClasses(e,t){this.containerClasses=t},_slideClasses:(e,t)=>{t.forEach(({slideEl:e,classNames:t},n)=>{const i=parseInt(e.getAttribute("data-swiper-slide-index"))||n;if(this.virtual){const e=this.slides.find(e=>e.virtualIndex&&e.virtualIndex===i);if(e)return void(e.classNames=t)}this.slides[i]&&(this.slides[i].classNames=t)}),this._changeDetectorRef.detectChanges()}});const t=new Xn(e);if(t.loopCreate=()=>{},t.loopDestroy=()=>{},e.loop&&(t.loopedSlides=this.loopedSlides),t.virtual&&t.params.virtual.enabled){t.virtual.slides=this.slides;const e={cache:!1,renderExternal:this.updateVirtualSlides,renderExternalUpdate:!1};xi(t.params.virtual,e),xi(t.originalParams.virtual,e)}Object(o.B)(this._platformId)&&(this.swiperRef=t.init(this.elementRef.nativeElement),this.swiperRef.virtual&&this.swiperRef.params.virtual.enabled&&this.swiperRef.virtual.update(!0),this._changeDetectorRef.detectChanges(),t.on("slideChange",()=>{this.indexChange.emit(this.swiperRef.realIndex)}))})}ngOnChanges(e){this.updateSwiper(e),this._changeDetectorRef.detectChanges()}updateInitSwiper(e){e&&this.swiperRef&&!this.swiperRef.destroyed&&this._ngZone.runOutsideAngular(()=>{const{pagination:t,navigation:n,scrollbar:i,thumbs:r}=this.swiperRef;e.pagination&&(this.pagination&&"boolean"!=typeof this.pagination&&this.pagination.el&&t&&!t.el?(this.updateParameter("pagination",this.pagination),t.init(),t.render(),t.update()):(t.destroy(),t.el=null)),e.scrollbar&&(this.scrollbar&&"boolean"!=typeof this.scrollbar&&this.scrollbar.el&&i&&!i.el?(this.updateParameter("scrollbar",this.scrollbar),i.init(),i.updateSize(),i.setTranslate()):(i.destroy(),i.el=null)),e.navigation&&(this.navigation&&"boolean"!=typeof this.navigation&&this.navigation.prevEl&&this.navigation.nextEl&&n&&!n.prevEl&&!n.nextEl?(this.updateParameter("navigation",this.navigation),n.init(),n.update()):n.prevEl&&n.nextEl&&(n.destroy(),n.nextEl=null,n.prevEl=null)),e.thumbs&&this.thumbs&&this.thumbs.swiper&&(this.updateParameter("thumbs",this.thumbs),r.init()&&r.update(!0)),e.controller&&this.controller&&this.controller.control&&(this.swiperRef.controller.control=this.controller.control),this.swiperRef.update()})}updateSwiper(e){this._ngZone.runOutsideAngular(()=>{var t,n;if(!e.config&&e&&this.swiperRef&&!this.swiperRef.destroyed){for(const i in e){if(Ti.indexOf(i)>=0)continue;const r=null!==(n=null===(t=e[i])||void 0===t?void 0:t.currentValue)&&void 0!==n?n:e[i];this.updateParameter(i,r)}e.allowSlideNext&&(this.swiperRef.allowSlideNext=this.allowSlideNext),e.allowSlidePrev&&(this.swiperRef.allowSlidePrev=this.allowSlidePrev),e.direction&&this.swiperRef.changeDirection(this.direction,!1),e.breakpoints&&(this.loop&&!this.loopedSlides&&this.calcLoopedSlides(),this.swiperRef.currentBreakpoint=null,this.swiperRef.setBreakpoint()),(e.thumbs||e.controller)&&this.updateInitSwiper(e),this.swiperRef.update()}})}calcLoopedSlides(){if(!this.loop)return;let e=this.slidesPerView;if(this.breakpoints){const t=Xn.prototype.getBreakpoint(this.breakpoints),n=t in this.breakpoints?this.breakpoints[t]:void 0;n&&n.slidesPerView&&(e=n.slidesPerView)}if("auto"===e)return this.loopedSlides=this.slides.length,this.slides.length;let t=this.loopedSlides||e;return t+=this.loopAdditionalSlides,t>this.slides.length&&(t=this.slides.length),this.loopedSlides=t,t}updateParameter(e,t){if(!this.swiperRef||this.swiperRef.destroyed)return;const n=e.replace(/^_/,""),i=_i(this.swiperRef.params[n]);if(Object.keys(this.swiperRef.modules).indexOf(n)>=0){const e=this.swiperRef.modules[n].params[n];i?xi(this.swiperRef.params[n],e):this.swiperRef.params[n]=e}i&&_i(t)?xi(this.swiperRef.params[n],t):this.swiperRef.params[n]=t}setIndex(e,t,n){this.isSwiperActive?e!==this.swiperRef.activeIndex&&this._ngZone.runOutsideAngular(()=>{this.loop?this.swiperRef.slideToLoop(e,t,!n):this.swiperRef.slideTo(e,t,!n)}):this.initialSlide=e}ngOnDestroy(){this._ngZone.runOutsideAngular(()=>{var e;null===(e=this.swiperRef)||void 0===e||e.destroy(!0,!1)})}}return e.\u0275fac=function(t){return new(t||e)(g.Qb(g.B),g.Qb(g.l),g.Qb(g.h),g.Qb(g.D))},e.\u0275cmp=g.Kb({type:e,selectors:[["swiper"],["","swiper",""]],contentQueries:function(e,t,n){if(1&e&&g.Jb(n,Di,4),2&e){let e;g.Dc(e=g.mc())&&(t.slidesEl=e)}},viewQuery:function(e,t){if(1&e&&(g.Xc(Jn,1),g.Xc(Zn,1),g.Xc(ei,1),g.Xc(ti,1)),2&e){let e;g.Dc(e=g.mc())&&(t.prevElRef=e.first),g.Dc(e=g.mc())&&(t.nextElRef=e.first),g.Dc(e=g.mc())&&(t.scrollbarElRef=e.first),g.Dc(e=g.mc())&&(t.paginationElRef=e.first)}},hostVars:2,hostBindings:function(e,t){2&e&&g.Eb(t.containerClasses)},inputs:{slideClass:"slideClass",wrapperClass:"wrapperClass",navigation:"navigation",pagination:"pagination",scrollbar:"scrollbar",virtual:"virtual",index:"index",config:"config",loopedSlides:"loopedSlides",initialSlide:"initialSlide",direction:"direction",touchEventsTarget:"touchEventsTarget",speed:"speed",cssMode:"cssMode",updateOnWindowResize:"updateOnWindowResize",resizeObserver:"resizeObserver",nested:"nested",focusableElements:"focusableElements",width:"width",height:"height",preventInteractionOnTransition:"preventInteractionOnTransition",userAgent:"userAgent",url:"url",edgeSwipeDetection:"edgeSwipeDetection",edgeSwipeThreshold:"edgeSwipeThreshold",freeMode:"freeMode",freeModeMomentum:"freeModeMomentum",freeModeMomentumRatio:"freeModeMomentumRatio",freeModeMomentumBounce:"freeModeMomentumBounce",freeModeMomentumBounceRatio:"freeModeMomentumBounceRatio",freeModeMomentumVelocityRatio:"freeModeMomentumVelocityRatio",freeModeSticky:"freeModeSticky",freeModeMinimumVelocity:"freeModeMinimumVelocity",autoHeight:"autoHeight",setWrapperSize:"setWrapperSize",virtualTranslate:"virtualTranslate",effect:"effect",breakpoints:"breakpoints",spaceBetween:"spaceBetween",slidesPerView:"slidesPerView",slidesPerColumn:"slidesPerColumn",slidesPerColumnFill:"slidesPerColumnFill",slidesPerGroup:"slidesPerGroup",slidesPerGroupSkip:"slidesPerGroupSkip",centeredSlides:"centeredSlides",centeredSlidesBounds:"centeredSlidesBounds",slidesOffsetBefore:"slidesOffsetBefore",slidesOffsetAfter:"slidesOffsetAfter",normalizeSlideIndex:"normalizeSlideIndex",centerInsufficientSlides:"centerInsufficientSlides",watchOverflow:"watchOverflow",roundLengths:"roundLengths",touchRatio:"touchRatio",touchAngle:"touchAngle",simulateTouch:"simulateTouch",shortSwipes:"shortSwipes",longSwipes:"longSwipes",longSwipesRatio:"longSwipesRatio",longSwipesMs:"longSwipesMs",followFinger:"followFinger",allowTouchMove:"allowTouchMove",threshold:"threshold",touchMoveStopPropagation:"touchMoveStopPropagation",touchStartPreventDefault:"touchStartPreventDefault",touchStartForcePreventDefault:"touchStartForcePreventDefault",touchReleaseOnEdges:"touchReleaseOnEdges",uniqueNavElements:"uniqueNavElements",resistance:"resistance",resistanceRatio:"resistanceRatio",watchSlidesProgress:"watchSlidesProgress",watchSlidesVisibility:"watchSlidesVisibility",grabCursor:"grabCursor",preventClicks:"preventClicks",preventClicksPropagation:"preventClicksPropagation",slideToClickedSlide:"slideToClickedSlide",preloadImages:"preloadImages",updateOnImagesReady:"updateOnImagesReady",loop:"loop",loopAdditionalSlides:"loopAdditionalSlides",loopFillGroupWithBlank:"loopFillGroupWithBlank",loopPreventsSlide:"loopPreventsSlide",allowSlidePrev:"allowSlidePrev",allowSlideNext:"allowSlideNext",swipeHandler:"swipeHandler",noSwiping:"noSwiping",noSwipingClass:"noSwipingClass",noSwipingSelector:"noSwipingSelector",passiveListeners:"passiveListeners",containerModifierClass:"containerModifierClass",slideBlankClass:"slideBlankClass",slideActiveClass:"slideActiveClass",slideDuplicateActiveClass:"slideDuplicateActiveClass",slideVisibleClass:"slideVisibleClass",slideDuplicateClass:"slideDuplicateClass",slideNextClass:"slideNextClass",slideDuplicateNextClass:"slideDuplicateNextClass",slidePrevClass:"slidePrevClass",slideDuplicatePrevClass:"slideDuplicatePrevClass",runCallbacksOnInit:"runCallbacksOnInit",observeParents:"observeParents",observeSlideChildren:"observeSlideChildren",a11y:"a11y",autoplay:"autoplay",controller:"controller",coverflowEffect:"coverflowEffect",cubeEffect:"cubeEffect",fadeEffect:"fadeEffect",flipEffect:"flipEffect",hashNavigation:"hashNavigation",history:"history",keyboard:"keyboard",lazy:"lazy",mousewheel:"mousewheel",parallax:"parallax",thumbs:"thumbs",zoom:"zoom",class:"class",id:"id"},outputs:{s__beforeBreakpoint:"_beforeBreakpoint",s__containerClasses:"_containerClasses",s__slideClass:"_slideClass",s__swiper:"_swiper",s_activeIndexChange:"activeIndexChange",s_afterInit:"afterInit",s_autoplay:"autoplay",s_autoplayStart:"autoplayStart",s_autoplayStop:"autoplayStop",s_beforeDestroy:"beforeDestroy",s_beforeInit:"beforeInit",s_beforeLoopFix:"beforeLoopFix",s_beforeResize:"beforeResize",s_beforeSlideChangeStart:"beforeSlideChangeStart",s_beforeTransitionStart:"beforeTransitionStart",s_breakpoint:"breakpoint",s_changeDirection:"changeDirection",s_click:"click",s_doubleTap:"doubleTap",s_doubleClick:"doubleClick",s_destroy:"destroy",s_fromEdge:"fromEdge",s_hashChange:"hashChange",s_hashSet:"hashSet",s_imagesReady:"imagesReady",s_init:"init",s_keyPress:"keyPress",s_lazyImageLoad:"lazyImageLoad",s_lazyImageReady:"lazyImageReady",s_loopFix:"loopFix",s_momentumBounce:"momentumBounce",s_navigationHide:"navigationHide",s_navigationShow:"navigationShow",s_observerUpdate:"observerUpdate",s_orientationchange:"orientationchange",s_paginationHide:"paginationHide",s_paginationRender:"paginationRender",s_paginationShow:"paginationShow",s_paginationUpdate:"paginationUpdate",s_progress:"progress",s_reachBeginning:"reachBeginning",s_reachEnd:"reachEnd",s_realIndexChange:"realIndexChange",s_resize:"resize",s_scroll:"scroll",s_scrollbarDragEnd:"scrollbarDragEnd",s_scrollbarDragMove:"scrollbarDragMove",s_scrollbarDragStart:"scrollbarDragStart",s_setTransition:"setTransition",s_setTranslate:"setTranslate",s_slideChange:"slideChange",s_slideChangeTransitionEnd:"slideChangeTransitionEnd",s_slideChangeTransitionStart:"slideChangeTransitionStart",s_slideNextTransitionEnd:"slideNextTransitionEnd",s_slideNextTransitionStart:"slideNextTransitionStart",s_slidePrevTransitionEnd:"slidePrevTransitionEnd",s_slidePrevTransitionStart:"slidePrevTransitionStart",s_slideResetTransitionStart:"slideResetTransitionStart",s_slideResetTransitionEnd:"slideResetTransitionEnd",s_sliderMove:"sliderMove",s_sliderFirstMove:"sliderFirstMove",s_slidesLengthChange:"slidesLengthChange",s_slidesGridLengthChange:"slidesGridLengthChange",s_snapGridLengthChange:"snapGridLengthChange",s_snapIndexChange:"snapIndexChange",s_tap:"tap",s_toEdge:"toEdge",s_touchEnd:"touchEnd",s_touchMove:"touchMove",s_touchMoveOpposite:"touchMoveOpposite",s_touchStart:"touchStart",s_transitionEnd:"transitionEnd",s_transitionStart:"transitionStart",s_update:"update",s_zoomChange:"zoomChange",s_swiper:"swiper",indexChange:"indexChange"},features:[g.Ab],ngContentSelectors:Si,decls:13,vars:17,consts:[[4,"ngIf"],["class","swiper-scrollbar",4,"ngIf"],["class","swiper-pagination",4,"ngIf"],[3,"ngClass"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["slidesTemplate",""],[1,"swiper-button-prev"],["prevElRef",""],[1,"swiper-button-next"],["nextElRef",""],[1,"swiper-scrollbar"],["scrollbarElRef",""],[1,"swiper-pagination"],["paginationElRef",""],[3,"ngClass","style","ngSwitch",4,"ngFor","ngForOf"],[3,"ngClass","ngSwitch"],[3,"ngClass",4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(e,t){if(1&e&&(g.vc(yi),g.uc(0),g.Qc(1,ni,5,0,"ng-container",0),g.Qc(2,ii,2,0,"div",1),g.Qc(3,ri,2,0,"div",2),g.Wb(4,"div",3),g.uc(5,1),g.Qc(6,si,1,0,void 0,4),g.Qc(7,ci,1,0,void 0,4),g.Qc(8,ui,1,0,void 0,4),g.uc(9,2),g.Vb(),g.uc(10,3),g.Qc(11,mi,2,3,"ng-template",null,5,g.Rc)),2&e){const e=g.Ec(12);g.Cb(1),g.wc("ngIf",t.navigation&&t.showNavigation),g.Cb(1),g.wc("ngIf",t.scrollbar&&t.showScrollbar),g.Cb(1),g.wc("ngIf",t.pagination&&t.showPagination),g.Cb(1),g.wc("ngClass",t.wrapperClass),g.Db("id",t.id),g.Cb(2),g.wc("ngTemplateOutlet",e)("ngTemplateOutletContext",g.Bc(11,vi,t.prependSlides)),g.Cb(1),g.wc("ngTemplateOutlet",e)("ngTemplateOutletContext",g.Bc(13,Ci,t.activeSlides)),g.Cb(1),g.wc("ngTemplateOutlet",e)("ngTemplateOutletContext",g.Bc(15,wi,t.appendSlides))}},directives:[o.o,o.m,o.t,o.n,o.q,o.r,o.s],pipes:[o.b],styles:["\n swiper {\n display: block;\n }\n "],encapsulation:2,changeDetection:0}),e})(),Ii=(()=>{class e{}return e.\u0275mod=g.Ob({type:e}),e.\u0275inj=g.Nb({factory:function(t){return new(t||e)},imports:[[o.c]]}),e})();var Ai=function(e){return e[e.UpdateLog=1]="UpdateLog",e[e.NewsCenter=2]="NewsCenter",e}({});class Ri{}var ji=n("IuoC"),Vi=n("pFuZ"),Li=n("PScX"),Ni=n("u47x");const Fi=["*"],Bi=["inputElement"],Wi=["nz-radio",""];let Hi=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=g.Lb({type:e,selectors:[["","nz-radio-button",""]]}),e})(),Ui=(()=>{class e{constructor(){this.selected$=new Y.a(1),this.touched$=new G.a,this.disabled$=new Y.a(1),this.name$=new Y.a(1)}touch(){this.touched$.next()}select(e){this.selected$.next(e)}setDisabled(e){this.disabled$.next(e)}setName(e){this.name$.next(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=g.Mb({token:e,factory:e.\u0275fac}),e})(),$i=(()=>{class e{constructor(e,t,n,i){this.cdr=e,this.nzRadioService=t,this.elementRef=n,this.directionality=i,this.value=null,this.destroy$=new G.a,this.onChange=()=>{},this.onTouched=()=>{},this.nzDisabled=!1,this.nzButtonStyle="outline",this.nzSize="default",this.nzName=null,this.dir="ltr",this.elementRef.nativeElement.classList.add("ant-radio-group")}ngOnInit(){var e;this.nzRadioService.selected$.pipe(Object(K.a)(this.destroy$)).subscribe(e=>{this.value!==e&&(this.value=e,this.onChange(this.value))}),this.nzRadioService.touched$.pipe(Object(K.a)(this.destroy$)).subscribe(()=>{Promise.resolve().then(()=>this.onTouched())}),null===(e=this.directionality.change)||void 0===e||e.pipe(Object(K.a)(this.destroy$)).subscribe(e=>{this.dir=e,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnChanges(e){const{nzDisabled:t,nzName:n}=e;t&&this.nzRadioService.setDisabled(this.nzDisabled),n&&this.nzRadioService.setName(this.nzName)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}writeValue(e){this.value=e,this.nzRadioService.select(e),this.cdr.markForCheck()}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.nzDisabled=e,this.nzRadioService.setDisabled(e),this.cdr.markForCheck()}}return e.\u0275fac=function(t){return new(t||e)(g.Qb(g.h),g.Qb(Ui),g.Qb(g.l),g.Qb(H.c,8))},e.\u0275cmp=g.Kb({type:e,selectors:[["nz-radio-group"]],hostVars:8,hostBindings:function(e,t){2&e&&g.Ib("ant-radio-group-large","large"===t.nzSize)("ant-radio-group-small","small"===t.nzSize)("ant-radio-group-solid","solid"===t.nzButtonStyle)("ant-radio-group-rtl","rtl"===t.dir)},inputs:{nzDisabled:"nzDisabled",nzButtonStyle:"nzButtonStyle",nzSize:"nzSize",nzName:"nzName"},exportAs:["nzRadioGroup"],features:[g.Bb([Ui,{provide:s.m,useExisting:Object(g.V)(()=>e),multi:!0}]),g.Ab],ngContentSelectors:Fi,decls:1,vars:0,template:function(e,t){1&e&&(g.vc(),g.uc(0))},encapsulation:2,changeDetection:0}),Object(W.b)([Object(Q.a)(),Object(W.c)("design:type",Object)],e.prototype,"nzDisabled",void 0),e})(),Qi=(()=>{class e{constructor(e,t,n,i,r,o){this.elementRef=e,this.cdr=t,this.focusMonitor=n,this.directionality=i,this.nzRadioService=r,this.nzRadioButtonDirective=o,this.isNgModel=!1,this.destroy$=new G.a,this.isChecked=!1,this.name=null,this.isRadioButton=!!this.nzRadioButtonDirective,this.onChange=()=>{},this.onTouched=()=>{},this.nzValue=null,this.nzDisabled=!1,this.nzAutoFocus=!1,this.dir="ltr"}onHostClick(e){e.stopPropagation(),e.preventDefault(),this.nzDisabled||this.isChecked||(this.nzRadioService&&this.nzRadioService.select(this.nzValue),this.isNgModel&&(this.isChecked=!0,this.onChange(!0)))}focus(){this.focusMonitor.focusVia(this.inputElement,"keyboard")}blur(){this.inputElement.nativeElement.blur()}setDisabledState(e){this.nzDisabled=e,this.cdr.markForCheck()}writeValue(e){this.isChecked=e,this.cdr.markForCheck()}registerOnChange(e){this.isNgModel=!0,this.onChange=e}registerOnTouched(e){this.onTouched=e}ngOnInit(){var e;this.nzRadioService&&(this.nzRadioService.name$.pipe(Object(K.a)(this.destroy$)).subscribe(e=>{this.name=e,this.cdr.markForCheck()}),this.nzRadioService.disabled$.pipe(Object(K.a)(this.destroy$)).subscribe(e=>{this.nzDisabled=e,this.cdr.markForCheck()}),this.nzRadioService.selected$.pipe(Object(K.a)(this.destroy$)).subscribe(e=>{this.isChecked=this.nzValue===e,this.cdr.markForCheck()})),this.focusMonitor.monitor(this.elementRef,!0).subscribe(e=>{e||(Promise.resolve().then(()=>this.onTouched()),this.nzRadioService&&this.nzRadioService.touch())}),null===(e=this.directionality.change)||void 0===e||e.pipe(Object(K.a)(this.destroy$)).subscribe(e=>{this.dir=e,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngAfterViewInit(){this.nzAutoFocus&&this.focus()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.focusMonitor.stopMonitoring(this.elementRef)}}return e.\u0275fac=function(t){return new(t||e)(g.Qb(g.l),g.Qb(g.h),g.Qb(Ni.b),g.Qb(H.c,8),g.Qb(Ui,8),g.Qb(Hi,8))},e.\u0275cmp=g.Kb({type:e,selectors:[["","nz-radio",""],["","nz-radio-button",""]],viewQuery:function(e,t){if(1&e&&g.Xc(Bi,1),2&e){let e;g.Dc(e=g.mc())&&(t.inputElement=e.first)}},hostVars:16,hostBindings:function(e,t){1&e&&g.lc("click",function(e){return t.onHostClick(e)}),2&e&&g.Ib("ant-radio-wrapper",!t.isRadioButton)("ant-radio-button-wrapper",t.isRadioButton)("ant-radio-wrapper-checked",t.isChecked&&!t.isRadioButton)("ant-radio-button-wrapper-checked",t.isChecked&&t.isRadioButton)("ant-radio-wrapper-disabled",t.nzDisabled&&!t.isRadioButton)("ant-radio-button-wrapper-disabled",t.nzDisabled&&t.isRadioButton)("ant-radio-wrapper-rtl",!t.isRadioButton&&"rtl"===t.dir)("ant-radio-button-wrapper-rtl",t.isRadioButton&&"rtl"===t.dir)},inputs:{nzValue:"nzValue",nzDisabled:"nzDisabled",nzAutoFocus:"nzAutoFocus"},exportAs:["nzRadio"],features:[g.Bb([{provide:s.m,useExisting:Object(g.V)(()=>e),multi:!0}])],attrs:Wi,ngContentSelectors:Fi,decls:6,vars:24,consts:[["type","radio",3,"disabled","checked"],["inputElement",""]],template:function(e,t){1&e&&(g.vc(),g.Wb(0,"span"),g.Rb(1,"input",0,1),g.Rb(3,"span"),g.Vb(),g.Wb(4,"span"),g.uc(5),g.Vb()),2&e&&(g.Ib("ant-radio",!t.isRadioButton)("ant-radio-checked",t.isChecked&&!t.isRadioButton)("ant-radio-disabled",t.nzDisabled&&!t.isRadioButton)("ant-radio-button",t.isRadioButton)("ant-radio-button-checked",t.isChecked&&t.isRadioButton)("ant-radio-button-disabled",t.nzDisabled&&t.isRadioButton),g.Cb(1),g.Ib("ant-radio-input",!t.isRadioButton)("ant-radio-button-input",t.isRadioButton),g.wc("disabled",t.nzDisabled)("checked",t.isChecked),g.Db("autofocus",t.nzAutoFocus?"autofocus":null)("name",t.name),g.Cb(2),g.Ib("ant-radio-inner",!t.isRadioButton)("ant-radio-button-inner",t.isRadioButton))},encapsulation:2,changeDetection:0}),Object(W.b)([Object(Q.a)(),Object(W.c)("design:type",Object)],e.prototype,"nzDisabled",void 0),Object(W.b)([Object(Q.a)(),Object(W.c)("design:type",Object)],e.prototype,"nzAutoFocus",void 0),e})(),Gi=(()=>{class e{}return e.\u0275mod=g.Ob({type:e}),e.\u0275inj=g.Nb({factory:function(t){return new(t||e)},imports:[[H.a,o.c,s.k]]}),e})();var Yi=n("TaO5"),Ki=n("9uaG");function Xi(e,t){if(1&e&&(g.Wb(0,"div",42),g.Sc(1,"\n "),g.Wb(2,"label",43),g.Sc(3),g.Vb(),g.Sc(4,"\n "),g.Vb()),2&e){const e=t.$implicit;g.Cb(2),g.wc("nzValue",e.value),g.Cb(1),g.Tc(e.value)}}function qi(e,t){1&e&&(g.Ub(0),g.ac(1,45),g.Tb())}function Ji(e,t){1&e&&(g.Ub(0),g.ac(1,46),g.Tb())}function Zi(e,t){if(1&e&&(g.Sc(0,"\n "),g.Qc(1,qi,2,0,"ng-container",44),g.Sc(2,"\n "),g.Qc(3,Ji,2,0,"ng-container",44),g.Sc(4,"\n ")),2&e){const e=t.$implicit;g.Cb(1),g.wc("ngIf",e.hasError("required")),g.Cb(2),g.wc("ngIf",e.hasError("email"))}}function er(e,t){1&e&&(g.Ub(0),g.ac(1,47),g.Tb())}function tr(e,t){1&e&&(g.Ub(0),g.ac(1,48),g.Tb())}function nr(e,t){if(1&e&&(g.Sc(0,"\n "),g.Qc(1,er,2,0,"ng-container",44),g.Sc(2,"\n "),g.Qc(3,tr,2,0,"ng-container",44),g.Sc(4,"\n ")),2&e){const e=t.$implicit;g.Cb(1),g.wc("ngIf",e.hasError("required")),g.Cb(2),g.wc("ngIf",e.hasError("phone"))}}function ir(e,t){if(1&e){const e=g.Xb();g.Ub(0),g.Sc(1,"\n "),g.Wb(2,"div",4),g.Sc(3,"\n "),g.Wb(4,"form",5),g.lc("submit",function(){return g.Hc(e),g.oc().submitFeedbackTicket()}),g.Sc(5,"\n "),g.Wb(6,"div",6),g.Sc(7,"1. "),g.Wb(8,"span"),g.ac(9,7),g.Vb(),g.Vb(),g.Sc(10,"\n "),g.Wb(11,"nz-form-item"),g.Sc(12,"\n "),g.Wb(13,"nz-form-control",8),g.Sc(14,"\n "),g.Wb(15,"nz-radio-group",9),g.Sc(16,"\n "),g.Wb(17,"div",10),g.Sc(18,"\n "),g.Wb(19,"div",11),g.Sc(20,"\n "),g.Wb(21,"label",12),g.ac(22,13),g.Vb(),g.Sc(23,"\n "),g.Vb(),g.Sc(24,"\n "),g.Wb(25,"div",11),g.Wb(26,"label",14),g.ac(27,15),g.Vb(),g.Vb(),g.Sc(28,"\n "),g.Vb(),g.Sc(29,"\n "),g.Vb(),g.Sc(30,"\n "),g.Vb(),g.Sc(31,"\n "),g.Vb(),g.Sc(32,"\n "),g.Wb(33,"div",6),g.Sc(34,"2. "),g.Wb(35,"span"),g.ac(36,16),g.Vb(),g.Vb(),g.Sc(37,"\n "),g.Wb(38,"nz-form-item"),g.Sc(39,"\n "),g.Wb(40,"nz-form-control",17),g.Sc(41,"\n "),g.Wb(42,"nz-checkbox-wrapper",18),g.lc("nzOnChange",function(t){return g.Hc(e),g.oc().regionChange(t)}),g.Sc(43,"\n "),g.Wb(44,"div",10),g.Sc(45,"\n "),g.Qc(46,Xi,5,2,"div",19),g.Sc(47,"\n "),g.Vb(),g.Sc(48,"\n "),g.Vb(),g.Sc(49,"\n "),g.Vb(),g.Sc(50,"\n "),g.Vb(),g.Sc(51,"\n "),g.Wb(52,"div",6),g.Sc(53,"3. "),g.Wb(54,"span"),g.ac(55,20),g.Vb(),g.Vb(),g.Sc(56,"\n "),g.Wb(57,"nz-form-item"),g.Sc(58,"\n "),g.Wb(59,"nz-form-control"),g.Sc(60,"\n "),g.Wb(61,"nz-radio-group",21),g.Sc(62,"\n "),g.Wb(63,"label",22),g.ac(64,23),g.Vb(),g.Sc(65,"\n "),g.Wb(66,"label",24),g.ac(67,25),g.Vb(),g.Sc(68,"\n "),g.Vb(),g.Sc(69,"\n "),g.Vb(),g.Sc(70,"\n "),g.Vb(),g.Sc(71,"\n "),g.Wb(72,"div",26),g.Sc(73,"\n "),g.Wb(74,"span"),g.ac(75,27),g.Vb(),g.Sc(76,"\n "),g.Vb(),g.Sc(77,"\n "),g.Wb(78,"nz-form-item"),g.Sc(79,"\n "),g.Wb(80,"div",28),g.Sc(81,"\n "),g.Wb(82,"nz-form-label"),g.ac(83,29),g.Vb(),g.Sc(84,"\n "),g.Wb(85,"nz-form-control"),g.Sc(86,"\n "),g.Rb(87,"input",30),g.Sc(88,"\n "),g.Vb(),g.Sc(89,"\n "),g.Vb(),g.Sc(90,"\n "),g.Vb(),g.Sc(91,"\n "),g.Wb(92,"nz-form-item"),g.Sc(93,"\n "),g.Wb(94,"div",28),g.Sc(95,"\n "),g.Wb(96,"nz-form-label"),g.ac(97,31),g.Vb(),g.Sc(98,"\n "),g.Wb(99,"nz-form-control",32),g.Sc(100,"\n "),g.Rb(101,"input",33),g.Sc(102,"\n "),g.Qc(103,Zi,5,2,"ng-template",null,34,g.Rc),g.Sc(105,"\n "),g.Vb(),g.Sc(106,"\n "),g.Vb(),g.Sc(107,"\n "),g.Vb(),g.Sc(108,"\n "),g.Wb(109,"nz-form-item"),g.Sc(110,"\n "),g.Wb(111,"div",28),g.Sc(112,"\n "),g.Wb(113,"nz-form-label"),g.ac(114,35),g.Vb(),g.Sc(115,"\n "),g.Wb(116,"nz-form-control",32),g.Sc(117,"\n "),g.Rb(118,"nd-input-phone",36),g.Sc(119,"\n "),g.Qc(120,nr,5,2,"ng-template",null,37,g.Rc),g.Sc(122,"\n "),g.Vb(),g.Sc(123,"\n "),g.Vb(),g.Sc(124,"\n "),g.Vb(),g.Sc(125,"\n "),g.Wb(126,"nz-form-item"),g.Sc(127,"\n "),g.Wb(128,"button",38),g.ac(129,39),g.Vb(),g.Sc(130,"\n "),g.Vb(),g.Sc(131,"\n "),g.Vb(),g.Sc(132,"\n "),g.Vb(),g.Sc(133,"\n "),g.Wb(134,"span",40),g.lc("click",function(){return g.Hc(e),g.oc().handleCancel()}),g.Sc(135,"\n "),g.Rb(136,"i",41),g.Sc(137,"\n "),g.Vb(),g.Sc(138,"\n "),g.Tb()}if(2&e){const e=g.Ec(104),t=g.Ec(121),n=g.oc();g.Cb(4),g.wc("formGroup",n.JoinUsForm),g.Cb(42),g.wc("ngForOf",n.regionList),g.Cb(53),g.wc("nzErrorTip",e),g.Cb(17),g.wc("nzErrorTip",t),g.Cb(12),g.wc("disabled",n.submitDisabled)("nzType","primary")("nzLoading",n.processing)}}function rr(e,t){1&e&&(g.Ub(0),g.Sc(1,"\n "),g.Wb(2,"div"),g.ac(3,49),g.Vb(),g.Sc(4,"\n "),g.Tb())}function or(e,t){1&e&&(g.Ub(0),g.Sc(1,"\n "),g.Rb(2,"i",50),g.Sc(3,"\n "),g.Wb(4,"h3"),g.Sc(5,"\n "),g.Wb(6,"span"),g.ac(7,51),g.Vb(),g.Sc(8,"\n !\n "),g.Vb(),g.Sc(9,"\n "),g.Wb(10,"p",52),g.ac(11,53),g.Vb(),g.Sc(12,"\n "),g.Tb())}const sr=["*"];let ar=(()=>{class e{constructor(e,t,n){this.messageService=e,this.lang=t,this.formBuilder=n,this.RegionMap={"en-US":[{label:"China",value:"China"},{label:"Asia",value:"Asia"},{label:"Europe",value:"Europe"},{label:"America",value:"America"},{label:"Near &Middle East",value:"Near &Middle East"},{label:"Africa",value:"Africa"},{label:"Australia & Oceania",value:"Australia & Oceania"},{label:"Central America & Caribbean",value:"Central America & Caribbean"}],"zh-CN":[{label:"\u4e2d\u56fd ",value:"\u4e2d\u56fd "},{label:"\u4e9a\u6d32",value:"\u4e9a\u6d32"},{label:"\u6b27\u6d32",value:"\u6b27\u6d32"},{label:"\u7f8e\u6d32",value:"\u7f8e\u6d32"},{label:"\u4e2d\u4e1c",value:"\u4e2d\u4e1c"},{label:"\u975e\u6d32",value:"\u975e\u6d32"},{label:"\u6fb3\u5927\u5229\u4e9a\u548c\u5927\u6d0b\u6d32",value:"\u6fb3\u5927\u5229\u4e9a\u548c\u5927\u6d0b\u6d32"},{label:"\u4e2d\u7f8e\u6d32\u548c\u52a0\u52d2\u6bd4\u5730\u533a",value:"\u4e2d\u7f8e\u6d32\u548c\u52a0\u52d2\u6bd4\u5730\u533a"}]},this.joinVisible=!1,this.joinSuccess=!1,this.processing=!1}onClick(e){this.joinVisible=!0}ngOnInit(){this.initForm()}get submitDisabled(){return this.JoinUsForm.invalid}get regionList(){return this.RegionMap[this.lang]||this.RegionMap["en-US"]}initForm(){this.JoinUsForm=this.formBuilder.group({Role:[null,[s.v.required]],Region:[null,[s.v.required]],CooperateWay:[null,[s.v.required]],Name:[null,[s.v.required]],Email:[null,[s.v.required,s.v.email]],Mobile:[null,[s.v.required,f.t]]})}regionChange(e){this.JoinUsForm.patchValue({Region:e})}handleCancel(){this.joinVisible=!1}closeSueecss(){this.joinSuccess=!1}submitFeedbackTicket(){if(this.JoinUsForm.invalid)return void Object.values(this.JoinUsForm.controls).forEach(e=>{e.markAsDirty(),e.updateValueAndValidity()});const e=this.JoinUsForm.getRawValue(),{Region:t,Email:n}=e,i=Object(W.d)(e,["Region","Email"]),o=Object.assign(Object.assign({},i),{Region:t.join("|")}),s={Content:JSON.stringify(o),UserEmail:n,Type:Vi.c.JoinAsSeller,Referer:location.host+location.pathname};this.processing=!0,Object(r.K)(Vi.f.createFeedbackWorkOrder(s)).subscribe(e=>{this.joinVisible=!1,this.joinSuccess=!0},e=>{this.messageService.error(`[${e.errorCode}] ${e.message}`)}).add(()=>this.processing=!1)}}return e.\u0275fac=function(t){return new(t||e)(g.Qb(Li.e),g.Qb(g.v),g.Qb(s.f))},e.\u0275cmp=g.Kb({type:e,selectors:[["dida-shopping-cooperation-intention-modal"]],hostBindings:function(e,t){1&e&&g.lc("click",function(e){return t.onClick(e)})},ngContentSelectors:sr,decls:14,vars:8,consts:function(){let e,t,n,i,r,o,s,a,c,l,u,d,h,p,f,g,b,m,y;return e="I\u2019m a",t="Hotel/Chain",n="DMC",i="Most of my inventory are in the following regions",r="I can cooperate in the following ways",o="Dynamic inventory connect",s="Ebooking Extranet Portal",a="Please leave your contact information",c="Name",l="Email",u="Mobile",d="Submit",h="Email must not be empty",p="Incorrect email address",f="Mobile number is required",g="Mobile phone format is invalid",b="Join our global distribution network",m="Thank you",y="We will arrange the responsible person to contact you in 3 working days.",[["nzClassName","joinUs-modal",3,"nzVisible","nzFooter","nzCloseIcon","nzWidth","nzVisibleChange","nzOnCancel"],[4,"nzModalContent"],[4,"nzModalTitle"],["nzClassName","succsee-modal",3,"nzVisible","nzFooter","nzWidth","nzCentered","nzVisibleChange","nzOnCancel"],[1,"nd-navbar-login-form"],["nz-form","",1,"joinUs-form",3,"formGroup","submit"],[1,"form-label"],e,["nzSpan","24","nzErrorTip",""],["formControlName","Role","name","Role",2,"width","100%"],["nz-row",""],["nz-col","","nzSpan","6"],["nz-radio","","nzValue","Hotel/Chain"],t,["nz-radio","","nzValue","DMC"],n,i,["nzSpan","24","nzErrorTip","need"],[2,"width","100%",3,"nzOnChange"],["nz-col","","nzSpan","8",4,"ngFor","ngForOf"],r,["formControlName","CooperateWay","name","CooperateWay"],["nz-radio","","nzValue","XML/API \u7cfb\u7edf\u76f4\u8fde"],o,["nz-radio","","nzValue","Ebooking\u5916\u7f51\u5e93\u5b58\u7ba1\u7406\u7cfb\u7edf"],s,[1,"form-label","required"],a,[1,"flex","input-box"],c,["nz-input","","formControlName","Name","name","Name"],l,[3,"nzErrorTip"],["nz-input","","formControlName","Email","name","Email"],["EmailError",""],u,["formControlName","Mobile","name","Mobile"],["cellPhoneErrorTips",""],["nz-button","",1,"nd-navbar-login-form__submit-btn","register_btn",3,"disabled","nzType","nzLoading"],d,[1,"close_btn","btn",3,"click"],["nz-icon","","nzType","nd:modal-close"],["nz-col","","nzSpan","8"],["nz-checkbox","",3,"nzValue"],[4,"ngIf"],h,p,f,g,b,["nz-icon","","nzType","nd:smile",1,"smile-icon"],m,[2,"margin-bottom","0"],y]},template:function(e,t){1&e&&(g.vc(),g.uc(0),g.Sc(1,"\n\n"),g.Wb(2,"nz-modal",0),g.lc("nzVisibleChange",function(e){return t.joinVisible=e})("nzOnCancel",function(){return t.handleCancel()}),g.Sc(3,"\n "),g.Qc(4,ir,139,7,"ng-container",1),g.Sc(5,"\n\n "),g.Qc(6,rr,5,0,"ng-container",2),g.Sc(7,"\n"),g.Vb(),g.Sc(8,"\n\n"),g.Wb(9,"nz-modal",3),g.lc("nzVisibleChange",function(e){return t.joinSuccess=e})("nzOnCancel",function(){return t.joinSuccess=!1}),g.Sc(10,"\n "),g.Qc(11,or,13,0,"ng-container",1),g.Sc(12,"\n"),g.Vb(),g.Sc(13,"\n")),2&e&&(g.Cb(2),g.wc("nzVisible",t.joinVisible)("nzFooter",null)("nzCloseIcon",null)("nzWidth",735),g.Cb(7),g.wc("nzVisible",t.joinSuccess)("nzFooter",null)("nzWidth",400)("nzCentered",!0))},directives:[h.a,h.b,h.g,s.w,s.p,l.b,s.j,b.c,l.c,b.a,l.a,$i,s.o,s.h,Qi,Yi.c,o.n,l.d,u.b,s.d,Ki.a,d.a,y.a,m.a,X.a,tt.a,Yi.a,o.o],styles:['.partner-slide{width:auto} .joinUs-modal{color:#000} .joinUs-modal .ant-modal-content{border-radius:12px} .joinUs-modal .ant-modal-content .ant-modal-header{border-radius:12px 12px 0 0;font-size:22px;font-weight:500;color:#000;padding:28px 50px} .joinUs-modal .ant-modal-content .ant-modal-header .ant-modal-title{font-size:22px;font-weight:500} .joinUs-modal .ant-modal-body{padding:12px 50px 50px} .joinUs-modal .ant-modal-body .input-box{margin-top:18px;width:80%} .joinUs-modal .ant-modal-body .input-box label{text-indent:5px;font-size:15px;color:#555;width:60px} .joinUs-modal .ant-modal-body .input-box .ant-input-group-wrapper, .joinUs-modal .ant-modal-body .input-box input{margin-left:5px;height:34px;color:#000} .joinUs-modal .ant-modal-body .input-box .ant-input-group-wrapper input, .joinUs-modal .ant-modal-body .input-box input input{height:34px;margin-left:0} .joinUs-modal .form-label{font-size:18px;font-weight:500;line-height:23px;margin:33px 0 3px;color:#000} .joinUs-modal .form-label.required{font-size:18px;font-weight:500;color:#e11e56} .joinUs-modal .form-label.required:before{display:inline;content:"*"} .joinUs-modal .ant-checkbox-wrapper, .joinUs-modal .ant-radio-wrapper{font-size:16px;color:#555;line-height:18px;margin-top:14px} .joinUs-modal .register_btn{margin:50px auto 0;width:270px;height:48px;border-radius:42px;font-weight:700;font-size:16px} .joinUs-modal .close_btn{display:block;position:absolute;right:33px;height:18px;width:18px;top:31px} .joinUs-modal .close_btn>i{width:100%;height:100%} .succsee-modal .ant-modal-content{border-radius:12px} .succsee-modal .ant-modal-body{padding:29px 33px 29px 64px} .succsee-modal .close_btn{position:absolute;top:5px;right:20px;width:10px;height:10px} .succsee-modal .smile-icon{position:absolute;top:28px;left:30px;font-size:24px}']}),e})();const cr=function(){return["animate-btn","btn","register"]};function lr(e,t){1&e&&(g.Ub(0),g.Sc(1,"\n "),g.Wb(2,"div",9),g.Sc(3,"\n "),g.Wb(4,"span"),g.ac(5,10),g.Vb(),g.Sc(6,"\n "),g.Vb(),g.Sc(7,"\n\n "),g.Wb(8,"dida-shopping-cooperation-intention-modal"),g.Sc(9,"\n "),g.Wb(10,"div",11),g.Sc(11,"\n "),g.Wb(12,"span"),g.ac(13,12),g.Vb(),g.Sc(14,"\n "),g.Vb(),g.Sc(15,"\n "),g.Vb(),g.Sc(16,"\n "),g.Tb()),2&e&&(g.Cb(2),g.wc("ngClass",g.Ac(2,cr)),g.Cb(8),g.wc("ngClass",g.Ac(3,cr)))}const ur=function(){return[192,108]},dr=function(e){return{width:e}},hr=function(){return["animate-btn","btn"]};function pr(e,t){if(1&e&&(g.Wb(0,"nd-image",2),g.Sc(1,"\n "),g.Wb(2,"div",3),g.Sc(3,"\n "),g.Wb(4,"nd-layout-container"),g.Sc(5,"\n "),g.Wb(6,"div",4),g.Sc(7),g.Vb(),g.Sc(8,"\n "),g.Wb(9,"div",5),g.Sc(10),g.Vb(),g.Sc(11,"\n "),g.Wb(12,"div",6),g.Sc(13,"\n "),g.Wb(14,"span"),g.ac(15,7),g.Vb(),g.Sc(16,"\n "),g.Vb(),g.Sc(17,"\n "),g.Qc(18,lr,17,4,"ng-container",8),g.Sc(19,"\n "),g.Vb(),g.Sc(20,"\n "),g.Vb(),g.Sc(21,"\n "),g.Vb()),2&e){const e=g.oc();g.wc("ndRatio",g.Ac(7,ur))("ndSrc",e.data[0].ImgUrl),g.Cb(6),g.wc("ngStyle",g.Bc(8,dr,e.titleWidth)),g.Cb(1),g.Tc(e.data[0].Title),g.Cb(3),g.Tc(e.data[0].Desc),g.Cb(2),g.wc("ngClass",g.Ac(10,hr)),g.Cb(6),g.wc("ngIf",!e.hasUserLogin)}}let fr=(()=>{class e extends r.o{constructor(){super()}get titleWidth(){return"zh-CN"===this.lang?"475px":"750px"}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=g.Kb({type:e,selectors:[["app-banner"]],inputs:{data:"data"},features:[g.zb],decls:5,vars:1,consts:function(){let e,t,n;return e="Know More",t="Sign up as a Buyer",n="Join as a Seller",[[1,"home-banner"],["class","home-banner-img","style","min-height: 663px",3,"ndRatio","ndSrc",4,"ngIf"],[1,"home-banner-img",2,"min-height","663px",3,"ndRatio","ndSrc"],[1,"banner-content"],[1,"title",3,"ngStyle"],[1,"content"],["routerLink","/home/partner-with-us",3,"ngClass"],e,[4,"ngIf"],["routerLink","/account/register",3,"ngClass"],t,[3,"ngClass"],n]},template:function(e,t){1&e&&(g.Wb(0,"div",0),g.Sc(1,"\n "),g.Qc(2,pr,22,11,"nd-image",1),g.Sc(3,"\n"),g.Vb(),g.Sc(4,"\n")),2&e&&(g.Cb(2),g.wc("ngIf",t.data[0]))},directives:[o.o,ji.a,Ze.c,o.p,c.h,o.m,ar],styles:[".home-banner-img{width:100%}.home-banner[_ngcontent-%COMP%]{position:relative;min-height:663px}.home-banner[_ngcontent-%COMP%] .banner-content[_ngcontent-%COMP%]{position:absolute;width:100%;height:100%;display:flex;align-items:center;color:#fff}.home-banner[_ngcontent-%COMP%] .banner-content[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:40px;text-shadow:0 0 25px rgba(0,0,0,.2)}.home-banner[_ngcontent-%COMP%] .banner-content[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{width:600px;font-size:15px;line-height:32px;margin-top:20px;opacity:.8}.home-banner[_ngcontent-%COMP%] .banner-content[_ngcontent-%COMP%] .animate-btn[_ngcontent-%COMP%]{display:inline-block;padding:0 30px;height:44px;background:#e11e56;border-radius:42px;text-align:center;font-size:18px;line-height:44px;margin-top:40px;transition:all .3s}.home-banner[_ngcontent-%COMP%] .banner-content[_ngcontent-%COMP%] .animate-btn.register[_ngcontent-%COMP%]{background:transparent;border:1px solid #fff;color:#fff;margin-left:30px}.home-banner[_ngcontent-%COMP%] .banner-content[_ngcontent-%COMP%] .animate-btn[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{display:inline-block;width:15px;margin-left:15px}.home-banner[_ngcontent-%COMP%] .banner-content[_ngcontent-%COMP%] .animate-btn[_ngcontent-%COMP%] .arrow_active[_ngcontent-%COMP%]{display:none}.home-banner[_ngcontent-%COMP%] .banner-content[_ngcontent-%COMP%] .animate-btn[_ngcontent-%COMP%]:hover{background:#fff;color:#e11e56}.home-banner[_ngcontent-%COMP%] .banner-content[_ngcontent-%COMP%] .animate-btn[_ngcontent-%COMP%]:hover .arrow[_ngcontent-%COMP%]{display:none}.home-banner[_ngcontent-%COMP%] .banner-content[_ngcontent-%COMP%] .animate-btn[_ngcontent-%COMP%]:hover .arrow_active[_ngcontent-%COMP%]{display:inline-block}"]}),e})();const gr=["scrollBody"],br=["scrollContainer"],mr=["appArea"],yr=["swiperWrapper"];function vr(e,t){if(1&e&&(g.Sc(0,"\n "),g.Wb(1,"div",12),g.Sc(2,"\n "),g.Wb(3,"div",2),g.Sc(4,"\n "),g.Wb(5,"div",13),g.Sc(6),g.Vb(),g.Sc(7,"\n "),g.Wb(8,"div",14),g.Sc(9),g.Vb(),g.Sc(10,"\n "),g.Vb(),g.Sc(11,"\n "),g.Vb(),g.Sc(12,"\n ")),2&e){const e=g.oc().$implicit;g.Cb(6),g.Tc(e.Title),g.Cb(3),g.Tc(e.Desc)}}function Cr(e,t){1&e&&g.Qc(0,vr,13,2,"ng-template",11)}let wr=(()=>{class e{constructor(){this.historyItemIndex=0,this.scrollOffset=0,this.itemWidth=420}get historyStyle(){return{width:this.data.length*(this.itemWidth+20)+"px",transform:`translateX(${this.scrollOffset}px)`}}get canNext(){return!0}get swiperStyle(){const e=Math.abs((this.appArea.nativeElement.getBoundingClientRect().width-1180)/2);return{margin:`100px ${-e}px 0`,padding:`0 ${e}px`}}ngOnInit(){}slideToRight(){console.log(this.swiperWrapper),this.swiperWrapper.swiperRef.slideNext()}slideToLeft(){this.swiperWrapper.swiperRef.slidePrev()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=g.Kb({type:e,selectors:[["app-milestones"]],viewQuery:function(e,t){if(1&e&&(g.Xc(gr,3),g.Xc(br,3),g.Xc(mr,3),g.Xc(yr,1)),2&e){let e;g.Dc(e=g.mc())&&(t.scrollBody=e.first),g.Dc(e=g.mc())&&(t.scrollContainer=e.first),g.Dc(e=g.mc())&&(t.appArea=e.first),g.Dc(e=g.mc())&&(t.swiperWrapper=e.first)}},inputs:{itemWidth:"itemWidth",data:"data"},decls:26,vars:7,consts:function(){let e;return e="Milestones",[[1,"app-milestones","home-area"],["appArea",""],[1,"content"],[1,"content-head"],e,[1,"flex","swiper_nav"],["nz-icon","","ndType","nd:next-gary",1,"pre","btn",3,"click"],["nz-icon","","ndType","nd:next-gary",1,"next","btn",3,"click"],["slidesPerView","auto",1,"home-milestones",3,"spaceBetween","freeMode","freeModeMomentumRatio","freeModeMomentumVelocityRatio","freeModeMomentumBounceRatio","ngStyle"],["swiperWrapper",""],[4,"ngFor","ngForOf"],["swiperSlide","","class","milestones-slide"],[1,"milestones-item"],[1,"milestones-year"],[1,"milestones-desc"]]},template:function(e,t){1&e&&(g.Wb(0,"div",0,1),g.Sc(2,"\n "),g.Wb(3,"div",2),g.Sc(4,"\n "),g.Wb(5,"div",3),g.Sc(6,"\n "),g.Wb(7,"span"),g.ac(8,4),g.Vb(),g.Sc(9,"\n "),g.Wb(10,"div",5),g.Sc(11,"\n "),g.Wb(12,"i",6),g.lc("click",function(){return t.slideToLeft()}),g.Vb(),g.Sc(13,"\n "),g.Wb(14,"i",7),g.lc("click",function(){return t.slideToRight()}),g.Vb(),g.Sc(15,"\n "),g.Vb(),g.Sc(16,"\n "),g.Vb(),g.Sc(17,"\n "),g.Wb(18,"swiper",8,9),g.Sc(20,"\n "),g.Qc(21,Cr,1,0,void 0,10),g.Sc(22,"\n "),g.Vb(),g.Sc(23,"\n "),g.Vb(),g.Sc(24,"\n"),g.Vb(),g.Sc(25,"\n")),2&e&&(g.Cb(18),g.wc("spaceBetween",50)("freeMode",!0)("freeModeMomentumRatio",.5)("freeModeMomentumVelocityRatio",2.6)("freeModeMomentumBounceRatio",2)("ngStyle",t.swiperStyle),g.Cb(3),g.wc("ngForOf",t.data))},directives:[X.a,tt.a,m.a,Mi,o.p,o.n,Di],styles:['.app-milestones[_ngcontent-%COMP%]{width:100%;height:512px;background-image:url(https://dsimage.didatravel.com/v2-app/images/home/milestones-bg.png)}.app-milestones[_ngcontent-%COMP%] > .content[_ngcontent-%COMP%]{width:1180px;margin:0 auto}.app-milestones[_ngcontent-%COMP%] .content-head[_ngcontent-%COMP%]{position:relative} .home-milestones{margin-top:86px} .milestones-slide{width:auto!important}.milestones-item[_ngcontent-%COMP%]{width:422px;height:204px}.milestones-item[_ngcontent-%COMP%] .milestones-year[_ngcontent-%COMP%]{font-size:28px;font-weight:600;color:#e11e56;line-height:34px;margin:24px 0 19px 30px}.milestones-item[_ngcontent-%COMP%] .milestones-desc[_ngcontent-%COMP%]{font-size:15px;font-weight:300;line-height:30px;padding:0 42px 0 70px;color:#fff;position:relative}.milestones-item[_ngcontent-%COMP%] .milestones-desc[_ngcontent-%COMP%]:before{display:block;content:"";height:45px;border-right:1px dashed hsla(0,0%,100%,.5);position:absolute;left:49px;top:11px}.swiper_nav[_ngcontent-%COMP%]{position:absolute;right:0;top:0}.swiper_nav[_ngcontent-%COMP%] > i[_ngcontent-%COMP%]{width:50px;height:50px;font-size:50px}.swiper_nav[_ngcontent-%COMP%] .pre[_ngcontent-%COMP%]{transform:rotate(180deg)}.swiper_nav[_ngcontent-%COMP%] .next[_ngcontent-%COMP%]{margin-left:15px}.swiper_nav[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:50px;height:50px;border-radius:50px;background-size:contain}']}),e})();function Sr(e,t){if(1&e&&(g.Wb(0,"div",6),g.Sc(1,"\n "),g.Wb(2,"div",7),g.Sc(3),g.Wb(4,"span",8),g.Sc(5),g.Vb(),g.Sc(6,"\n "),g.Vb(),g.Sc(7,"\n "),g.Wb(8,"p",9),g.Sc(9),g.Vb(),g.Sc(10,"\n "),g.Vb()),2&e){const e=t.$implicit;g.Cb(3),g.Uc("\n ",e.Title,""),g.Cb(2),g.Tc(e.SubTitle),g.Cb(4),g.Tc(e.Desc)}}let _r=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=g.Kb({type:e,selectors:[["app-connect"]],inputs:{data:"data"},decls:14,vars:1,consts:function(){let e;return e="Connect the world",[[1,"home-connect","home-area"],[1,"content"],[1,"content-head","part-title"],e,[1,"connect-content"],["class","connect-item",4,"ngFor","ngForOf"],[1,"connect-item"],[1,"title"],[1,"sub-title"],[1,"dec"]]},template:function(e,t){1&e&&(g.Wb(0,"div",0),g.Sc(1,"\n "),g.Wb(2,"div",1),g.Sc(3,"\n "),g.Wb(4,"div",2),g.ac(5,3),g.Vb(),g.Sc(6,"\n "),g.Wb(7,"div",4),g.Sc(8,"\n "),g.Qc(9,Sr,11,3,"div",5),g.Sc(10,"\n "),g.Vb(),g.Sc(11,"\n "),g.Vb(),g.Sc(12,"\n"),g.Vb(),g.Sc(13,"\n")),2&e&&(g.Cb(9),g.wc("ngForOf",t.data))},directives:[o.n],styles:['.home-connect[_ngcontent-%COMP%] > .content[_ngcontent-%COMP%]{width:100%}.home-connect[_ngcontent-%COMP%] .part-title[_ngcontent-%COMP%]{color:#0e0d32}.home-connect[_ngcontent-%COMP%] .connect-content[_ngcontent-%COMP%]{margin-top:46px;display:flex;flex-wrap:wrap}.home-connect[_ngcontent-%COMP%] .connect-item[_ngcontent-%COMP%]{width:25%;height:140px;padding:39px 80px 0 0;position:relative;color:#000;margin-top:40px}.home-connect[_ngcontent-%COMP%] .connect-item[_ngcontent-%COMP%]:not(:last-child):after{content:"";display:inline-block;height:70px;width:1px;background:#efefef;position:absolute;top:35px;right:45px}.home-connect[_ngcontent-%COMP%] .connect-item[_ngcontent-%COMP%]:nth-child(4n):after{display:none}.home-connect[_ngcontent-%COMP%] .connect-item[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{margin-bottom:8px;font-size:28px;font-weight:600;line-height:34px}.home-connect[_ngcontent-%COMP%] .connect-item[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .sub-title[_ngcontent-%COMP%]{font-size:15px}.home-connect[_ngcontent-%COMP%] .connect-item[_ngcontent-%COMP%] .dec[_ngcontent-%COMP%]{margin-bottom:0;font-size:14px;font-weight:300;color:#333;line-height:19px}']}),e})();const Or=["relationshipSwiper"];function xr(e,t){if(1&e&&(g.Wb(0,"section",23),g.Sc(1,"\n "),g.Rb(2,"app-connect",1),g.Sc(3,"\n"),g.Vb()),2&e){const e=g.oc();g.Cb(2),g.wc("data",e.advantageList)}}const zr=function(e){return{active:e}};function Tr(e,t){if(1&e){const e=g.Xb();g.Wb(0,"li",24),g.Sc(1,"\n "),g.Wb(2,"span"),g.Sc(3,"\n "),g.Wb(4,"span",25),g.lc("click",function(){g.Hc(e);const n=t.index;return g.oc().onSelcetPartner(n)}),g.Sc(5),g.Vb(),g.Sc(6,"\n "),g.Rb(7,"i",26),g.Sc(8,"\n "),g.Vb(),g.Sc(9,"\n "),g.Vb()}if(2&e){const e=t.$implicit,n=t.index,i=g.oc();g.wc("ngClass",g.Bc(2,zr,n===(null==i.curPartnerInfo?null:i.curPartnerInfo.pageIndex))),g.Cb(5),g.Tc(e.partnerType.Title)}}const kr=function(e){return{display:e}};function Pr(e,t){if(1&e&&(g.Wb(0,"li",29),g.Sc(1,"\n "),g.Wb(2,"div",30),g.Sc(3,"\n "),g.Rb(4,"img",31),g.Sc(5,"\n "),g.Vb(),g.Sc(6,"\n "),g.Vb()),2&e){const e=t.$implicit;g.wc("ngStyle",g.Bc(3,kr,e.ImgUrl?"inline-block":"none")),g.Cb(4),g.wc("ndOssSrc",e.ImgUrl)("title",e.Title)}}function Er(e,t){if(1&e&&(g.Wb(0,"div"),g.Sc(1,"\n "),g.Wb(2,"ul",27),g.Sc(3,"\n "),g.Qc(4,Pr,7,5,"li",28),g.Sc(5,"\n "),g.Vb(),g.Sc(6,"\n "),g.Vb()),2&e){const e=g.oc();g.Cb(4),g.wc("ngForOf",e.curPartnerInfo.dataList)}}function Dr(e,t){if(1&e&&(g.Wb(0,"div",32),g.Sc(1,"\n "),g.Wb(2,"a",33),g.Sc(3,"\n "),g.Wb(4,"span"),g.Sc(5),g.Vb(),g.Sc(6,"\n "),g.Wb(7,"div",34),g.Sc(8,"\n "),g.Rb(9,"i",35),g.Sc(10,"\n "),g.Vb(),g.Sc(11,"\n "),g.Vb(),g.Sc(12,"\n "),g.Vb()),2&e){const e=g.oc();g.Cb(2),g.wc("href",e.curPartnerInfo.partnerType.ReferenceUrl,g.Kc),g.Cb(3),g.Tc(e.curPartnerInfo.partnerType.Reference)}}function Mr(e,t){if(1&e&&(g.Sc(0,"\n "),g.Wb(1,"div",37),g.Sc(2,"\n "),g.Wb(3,"div",38),g.Sc(4,"\n "),g.Wb(5,"div",39),g.Sc(6,"\n "),g.Rb(7,"img",40),g.Sc(8,"\n "),g.Vb(),g.Sc(9,"\n "),g.Wb(10,"div",41),g.Sc(11,"\n "),g.Wb(12,"h3",42),g.Sc(13),g.Vb(),g.Sc(14,"\n "),g.Wb(15,"p"),g.Sc(16),g.Vb(),g.Sc(17,"\n "),g.Vb(),g.Sc(18,"\n "),g.Wb(19,"div",43),g.Sc(20,"\n "),g.Wb(21,"p"),g.Sc(22),g.Vb(),g.Sc(23,"\n "),g.Vb(),g.Sc(24,"\n "),g.Vb(),g.Sc(25,"\n "),g.Vb(),g.Sc(26,"\n ")),2&e){const e=g.oc().$implicit;g.Cb(7),g.wc("src",e.PhotoUrl,g.Kc),g.Cb(6),g.Tc(e.Name),g.Cb(3),g.Tc(e.Job),g.Cb(6),g.Tc(e.Desc)}}function Ir(e,t){1&e&&g.Qc(0,Mr,27,4,"ng-template",36)}const Ar=function(e){return["/home/news",e]};function Rr(e,t){if(1&e&&(g.Wb(0,"li",49),g.Sc(1,"\n "),g.Wb(2,"div",50),g.Sc(3),g.pc(4,"date"),g.Vb(),g.Sc(5,"\n "),g.Wb(6,"div",43),g.Sc(7,"\n "),g.Wb(8,"div"),g.Sc(9),g.Vb(),g.Sc(10,"\n "),g.Rb(11,"i",51),g.Sc(12,"\n "),g.Vb(),g.Sc(13,"\n "),g.Vb()),2&e){const e=t.$implicit;g.wc("routerLink",g.Bc(6,Ar,e.ID)),g.Cb(3),g.Uc("\n ",g.rc(4,3,e.CreateTime,"YYYY / MM / dd"),"\n "),g.Cb(6),g.Tc(e.Title)}}function jr(e,t){if(1&e&&(g.Wb(0,"section",44),g.Sc(1,"\n "),g.Wb(2,"div",4),g.Sc(3,"\n "),g.Wb(4,"p",5),g.Sc(5,"\n "),g.Wb(6,"span"),g.ac(7,45),g.Vb(),g.Sc(8,"\n "),g.Vb(),g.Sc(9,"\n "),g.Wb(10,"ul"),g.Sc(11,"\n "),g.Qc(12,Rr,14,8,"li",46),g.Sc(13,"\n "),g.Vb(),g.Sc(14,"\n "),g.Wb(15,"div",32),g.Sc(16,"\n "),g.Wb(17,"div",47),g.Sc(18,"\n "),g.Wb(19,"span"),g.ac(20,48),g.Vb(),g.Sc(21,"\n "),g.Wb(22,"div",34),g.Sc(23,"\n "),g.Rb(24,"i",35),g.Sc(25,"\n "),g.Vb(),g.Sc(26,"\n "),g.Vb(),g.Sc(27,"\n "),g.Vb(),g.Sc(28,"\n "),g.Vb(),g.Sc(29,"\n"),g.Vb()),2&e){const e=g.oc();g.Cb(12),g.wc("ngForOf",null==e.bulletinInfoList[0]?null:e.bulletinInfoList[0].data)}}function Vr(e,t){if(1&e){const e=g.Xb();g.Wb(0,"div",52),g.Sc(1,"\n "),g.Wb(2,"span",53),g.ac(3,54),g.Vb(),g.Sc(4,"\n "),g.Wb(5,"a",55),g.lc("click",function(){return g.Hc(e),g.oc().goRegister()}),g.ac(6,56),g.Vb(),g.Sc(7,"\n"),g.Vb()}}let Lr=(()=>{class e extends r.o{constructor(e,t,n){super(),this.localId=e,this.bmService=t,this.router=n,this.pageConfigStore=new f.j("home_page_config_"+this.appContext.lang),this.hideBulletinSection=!1,this.BulletinType=Ai,this.bulletinInfoList=[],this.milestones=[],this.homeBanner=[]}onBannerClick(e){this.bmService.trackEvent({category:"HomeIndex",action:"Click",label:`Banner_${e.Id}`})}ngOnInit(){this.restoreConfigFromLocal(),this.loadHomePageData(),Object(Zt.a)([Object(r.K)(Jt.c.searchBulletin(this.appContext.lang,Ai.NewsCenter,1,3)),Object(r.K)(Jt.c.searchBulletin(this.appContext.lang,Ai.UpdateLog,1,3))]).subscribe(([e,t])=>{this.hideBulletinSection=!0,e.Data.length>0&&(this.hideBulletinSection=!1,this.bulletinInfoList.push({type:Ai.NewsCenter,data:e.Data})),t.Data.length>0&&(this.hideBulletinSection=!1,this.bulletinInfoList.push({type:Ai.UpdateLog,data:t.Data}))})}restoreConfigFromLocal(){const e=this.pageConfigStore.value;e&&Object.assign(this,e)}loadHomePageData(){Object(r.K)(Jt.c.getResourceEntities("HomePageData")).subscribe(e=>{const t=e.find(e=>"HomeBanner"===e.EntityKey);t&&(this.homeBanner=t.EntityValue.map(e=>new Jt.b(e).switchLanguage("en-US").switchLanguage(this.localId)));const n=e.find(e=>"ParnerType"===e.EntityKey);n&&(this.partnerList=n.EntityValue.map(e=>new Jt.b(e)).filter(e=>e.IsValid).map((t,n)=>{t.switchLanguage("en-US").switchLanguage(this.localId);const i=e.find(e=>e.EntityKey===t.Id),r=this.toGridModel(i.EntityValue||[],15);let o=[];return r.forEach(e=>{o=[...o,...e]}),{partnerType:t,pageIndex:n,dataList:o.slice(0,20)}}),this.curPartnerInfo=this.partnerList[0]);const i=e.find(e=>"Milestones"===e.EntityKey);i&&(this.milestones=i.EntityValue.map(e=>new Jt.b(e).switchLanguage("en-US").switchLanguage(this.localId)));const r=e.find(e=>"Advantages"===e.EntityKey);r&&(this.advantageList=r.EntityValue.map(e=>new Jt.b(e).switchLanguage("en-US").switchLanguage(this.localId)));const o=e.find(e=>"PartnerEvaluation"===e.EntityKey);o&&(this.partnerEvaluation=o.EntityValue.map(e=>new Jt.b(e).switchLanguage("en-US").switchLanguage(this.localId)));const{milestones:s,advantageList:a,partnerList:c,homeBanner:l,partnerEvaluation:u}=this;this.pageConfigStore.set({milestones:s,advantageList:a,partnerList:c,homeBanner:l,partnerEvaluation:u})})}onSelcetPartner(e){this.curPartnerInfo=this.partnerList[e]}toGridModel(e,t=12){const n=[];e.length%t>0&&(e=e.concat("a".repeat(t-e.length%t).split("").map(()=>({}))));let i=e.splice(0,t);for(;i.length>0;)n.push(i),i=e.splice(0,t);return n}slideToRight(){this.relationshipSwiper.swiperRef.slideNext()}slideToLeft(){this.relationshipSwiper.swiperRef.slidePrev()}goRegister(){this.router.navigate(["/account/register"])}}return e.\u0275fac=function(t){return new(t||e)(g.Qb(g.v),g.Qb(r.l),g.Qb(c.g))},e.\u0275cmp=g.Kb({type:e,selectors:[["app-index"]],viewQuery:function(e,t){if(1&e&&g.Xc(Or,1,Mi),2&e){let e;g.Dc(e=g.mc())&&(t.relationshipSwiper=e.first)}},features:[g.zb],decls:68,vars:9,consts:function(){let e,t,n,i,r,o,s;return e="Home",t="Partners",n="We build win-win relationships",i="Latest",r="View more",o="Connecting world travel resources here",s="Register",[["ndTitle",e],[3,"data"],["style","background: #fbfbfb",4,"ngIf"],[1,"partner-section","home-area"],[1,"content"],[1,"content-head"],t,[1,"container"],[1,"nav"],[3,"ngClass",4,"ngFor","ngForOf"],[4,"ngIf"],["class","section-footer",4,"ngIf"],[1,"relationships-section","home-area"],n,[2,"position","relative"],[1,"swiper-ctr","relationships-ctr","flex"],["nz-icon","","ndType","nd:next-fill",1,"pre","btn",3,"click"],["nz-icon","","ndType","nd:next-fill",1,"next","btn",3,"click"],["slidesPerView","auto",1,"relationships-swiper"],["relationshipSwiper",""],[4,"ngFor","ngForOf"],["class","latest-section home-area",4,"ngIf"],["class","register-banner",4,"ngIf"],[2,"background","#fbfbfb"],[3,"ngClass"],[3,"click"],["nz-icon","","ndType","nd:arrow-nav",1,"arrow_nav"],[1,"__partner",2,"margin-bottom","0"],[3,"ngStyle",4,"ngFor","ngForOf"],[3,"ngStyle"],[1,"img-item"],[3,"ndOssSrc","title"],[1,"section-footer"],[1,"more_btn","btn",3,"href"],[1,"circle"],["nz-icon","","nzType","nd:arrow-right"],["swiperSlide","","class","relationships-slide"],[1,"bg-wrap"],[1,"bg"],[1,"portrait"],["alt","",3,"src"],[1,"info"],[1,"name"],[1,"desc"],[1,"latest-section","home-area"],i,["class","btn",3,"routerLink",4,"ngFor","ngForOf"],["routerLink","/home/media",1,"more_btn","btn"],r,[1,"btn",3,"routerLink"],[1,"date"],["nz-icon","","nzType","nd:article-arrow"],[1,"register-banner"],[1,"register-banner_word"],o,["nz-button","",1,"register_btn",3,"click"],s]},template:function(e,t){1&e&&(g.Rb(0,"nd-page-meta",0),g.Sc(1,"\n\n"),g.Rb(2,"app-banner",1),g.Sc(3,"\n\n"),g.Qc(4,xr,4,1,"section",2),g.Sc(5,"\n\n"),g.Rb(6,"app-milestones",1),g.Sc(7,"\n\n"),g.Wb(8,"section",3),g.Sc(9,"\n "),g.Wb(10,"div",4),g.Sc(11,"\n "),g.Wb(12,"p",5),g.Sc(13,"\n "),g.Wb(14,"span"),g.ac(15,6),g.Vb(),g.Sc(16,"\n "),g.Vb(),g.Sc(17,"\n "),g.Wb(18,"div",7),g.Sc(19,"\n "),g.Wb(20,"div",8),g.Sc(21,"\n "),g.Wb(22,"ul"),g.Sc(23,"\n "),g.Qc(24,Tr,10,4,"li",9),g.Sc(25,"\n "),g.Vb(),g.Sc(26,"\n "),g.Vb(),g.Sc(27,"\n "),g.Qc(28,Er,7,1,"div",10),g.Sc(29,"\n "),g.Vb(),g.Sc(30,"\n "),g.Qc(31,Dr,13,2,"div",11),g.Sc(32,"\n "),g.Sc(33,"\n "),g.Vb(),g.Sc(34,"\n"),g.Vb(),g.Sc(35,"\n\n"),g.Wb(36,"section",12),g.Sc(37,"\n "),g.Wb(38,"div",4),g.Sc(39,"\n "),g.Wb(40,"p",5),g.Sc(41,"\n "),g.Wb(42,"span"),g.ac(43,13),g.Vb(),g.Sc(44,"\n "),g.Vb(),g.Sc(45,"\n "),g.Vb(),g.Sc(46,"\n "),g.Wb(47,"div",14),g.Sc(48,"\n "),g.Wb(49,"div",15),g.Sc(50,"\n "),g.Wb(51,"i",16),g.lc("click",function(){return t.slideToLeft()}),g.Vb(),g.Sc(52,"\n "),g.Wb(53,"i",17),g.lc("click",function(){return t.slideToRight()}),g.Vb(),g.Sc(54,"\n "),g.Vb(),g.Sc(55,"\n "),g.Wb(56,"swiper",18,19),g.Sc(58,"\n "),g.Qc(59,Ir,1,0,void 0,20),g.Sc(60,"\n "),g.Vb(),g.Sc(61,"\n "),g.Vb(),g.Sc(62,"\n"),g.Vb(),g.Sc(63,"\n\n"),g.Qc(64,jr,30,1,"section",21),g.Sc(65,"\n\n"),g.Qc(66,Vr,8,0,"div",22),g.Sc(67,"\n")),2&e&&(g.Cb(2),g.wc("data",t.homeBanner),g.Cb(2),g.wc("ngIf",t.advantageList),g.Cb(2),g.wc("data",t.milestones),g.Cb(18),g.wc("ngForOf",t.partnerList),g.Cb(4),g.wc("ngIf",t.curPartnerInfo),g.Cb(3),g.wc("ngIf",null==t.curPartnerInfo||null==t.curPartnerInfo.partnerType?null:t.curPartnerInfo.partnerType.ReferenceUrl),g.Cb(28),g.wc("ngForOf",t.partnerEvaluation),g.Cb(5),g.wc("ngIf",!t.hideBulletinSection),g.Cb(2),g.wc("ngIf",!t.hasUserLogin))},directives:[qe.a,fr,o.o,wr,o.n,X.a,tt.a,m.a,Mi,_r,o.m,o.p,nt.a,Di,c.h,d.a],pipes:[o.f],styles:['@charset "UTF-8"; .home-area{padding:86px 0 100px;width:1180px;margin:0 auto} .home-area>.content .content-head{font-size:40px;line-height:36px;color:#fff;position:relative} .home-area>.content .content-head:before{display:block;position:absolute;content:"\u2022";color:#e11e56;font-size:20px;top:50%;left:-20px;transform:translateY(-50%)} .home-area .section-footer{height:56px}ul[_ngcontent-%COMP%]{padding:0}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style-type:none}.partner-section[_ngcontent-%COMP%] .content-head[_ngcontent-%COMP%]{color:#0e0d32}.partner-section[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{display:flex;justify-content:space-between;margin-top:72px}.partner-section[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%]{width:152px;flex-shrink:0}.partner-section[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin-bottom:36px;font-size:13px;line-height:19px;color:#333}.partner-section[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{position:relative;display:inline-block;border-bottom:1px solid transparent;cursor:pointer}.partner-section[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]:hover{color:#e11e56;border-bottom:1px solid #e11e56}.partner-section[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .arrow_nav[_ngcontent-%COMP%]{position:absolute;width:7px;height:7px;top:8px;right:-17px;display:none;font-size:7px}.partner-section[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] li.active[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{font-size:14px;color:#e11e56;border-bottom:1px solid #e11e56}.partner-section[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] li.active[_ngcontent-%COMP%] .arrow_nav[_ngcontent-%COMP%]{display:block}.partner-section[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] ul.__partner[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin-bottom:40px;margin-left:30px}.partner-section[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] ul.__partner[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .img-item[_ngcontent-%COMP%]{border-radius:10px;border:1px solid #dadada;padding:15px 25px}.partner-section[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] ul.__partner[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .img-item[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:122px;height:60px}.partner-section[_ngcontent-%COMP%] .section-footer[_ngcontent-%COMP%]{margin-top:18px}.relationships-section[_ngcontent-%COMP%]{padding:83px 0 100px}.relationships-section[_ngcontent-%COMP%] .content-head[_ngcontent-%COMP%]{color:#0e0d32;margin-bottom:84px}.relationships-section[_ngcontent-%COMP%] .relationships-swiper[_ngcontent-%COMP%]{margin-top:84px}.relationships-section[_ngcontent-%COMP%] .relationships-ctr[_ngcontent-%COMP%]{position:absolute;right:370px;top:82px;height:60px;right:30px;z-index:2}.relationships-section[_ngcontent-%COMP%] .relationships-ctr[_ngcontent-%COMP%] .pre[_ngcontent-%COMP%]{transform:rotate(180deg)}.relationships-section[_ngcontent-%COMP%] .relationships-ctr[_ngcontent-%COMP%] .next[_ngcontent-%COMP%]{margin-left:10px}.relationships-section[_ngcontent-%COMP%] .relationships-ctr[_ngcontent-%COMP%] > i[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:60px;font-size:60px}.more_btn[_ngcontent-%COMP%]{color:#000;display:flex;align-items:center;float:right;transition:all .3s}.more_btn[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:inline-block;margin-right:15px;font-weight:700}.more_btn[_ngcontent-%COMP%] .circle[_ngcontent-%COMP%]{width:56px;height:56px;border-radius:56px;display:flex;justify-content:center;align-items:center;background:#000;transition:all .3s}.more_btn[_ngcontent-%COMP%] .circle[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{width:16px}.more_btn[_ngcontent-%COMP%]:hover{color:#e11e56}.more_btn[_ngcontent-%COMP%]:hover .circle[_ngcontent-%COMP%]{background:#e11e56} .relationships-slide .bg-wrap{padding-top:112px;padding-left:140px} .relationships-slide .bg-wrap .bg{height:458px;background:#f8f8f8;color:#000;position:relative;padding:53px 95px 0 235px} .relationships-slide .bg-wrap .bg .portrait{width:280px;height:380px;background:#999;position:absolute;left:-140px;top:-112px} .relationships-slide .bg-wrap .bg .info{margin-bottom:45px;padding:0 15px;border-left:5px solid #e11e56} .relationships-slide .bg-wrap .bg .info>p{margin-top:10px} .relationships-slide .bg-wrap .bg .desc p{font-size:22px;font-weight:300;line-height:42px;position:relative}.latest-section[_ngcontent-%COMP%]{width:100%;background-color:#fbfbfb}.latest-section[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{width:1180px;margin:0 auto}.latest-section[_ngcontent-%COMP%] .content-head[_ngcontent-%COMP%]{color:#0e0d32;margin-bottom:65px}.latest-section[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{height:102px;display:flex;border-bottom:1px solid #eee;color:#000}.latest-section[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{border-top:1px solid #eee}.latest-section[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover{color:#e11e56;background-color:#fff}.latest-section[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover .desc[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{text-decoration:underline}.latest-section[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:100%;display:flex;align-items:center}.latest-section[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .date[_ngcontent-%COMP%]{width:180px;text-align:center;border-right:1px solid #eee;font-size:18px;font-weight:500;justify-content:center}.latest-section[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%]{flex:1;width:800px;font-size:18px;padding:0 30px 0 50px;justify-content:space-between;font-weight:700}.latest-section[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%] > i[_ngcontent-%COMP%]{width:21px}.latest-section[_ngcontent-%COMP%] .section-footer[_ngcontent-%COMP%]{margin-top:58px}.register-banner[_ngcontent-%COMP%]{height:62px;background:#e11e56;line-height:62px;text-align:center;color:#fff;font-weight:500}.register-banner[_ngcontent-%COMP%] .register-banner_word[_ngcontent-%COMP%]{font-size:16px;word-spacing:2px}.register-banner[_ngcontent-%COMP%] .register_btn[_ngcontent-%COMP%]{margin-left:25px;font-size:14px;height:30px;line-height:30px;color:#e11e56;padding:0 24px}']}),e})();var Nr=function(e){return e[e.UpdateLog=1]="UpdateLog",e[e.NewsCenter=2]="NewsCenter",e}({}),Fr=n("4hBO");function Br(e,t){if(1&e&&(g.Wb(0,"span"),g.ac(1,3),g.pc(2,"number"),g.Vb()),2&e){const e=g.oc().$implicit;g.Cb(2),g.ec(g.qc(2,1,e)),g.bc(1)}}function Wr(e,t){1&e&&g.Sb(0)}const Hr=function(e,t){return{$implicit:e,range:t}};function Ur(e,t){if(1&e&&(g.Ub(0),g.Sc(1,"\n "),g.Qc(2,Wr,1,0,"ng-container",4),g.Sc(3,"\n "),g.Tb()),2&e){const e=g.oc(),t=e.$implicit,n=e.range,i=g.oc();g.Cb(2),g.wc("ngTemplateOutlet",i.ndTotalItemDescription)("ngTemplateOutletContext",g.Cc(2,Hr,t,n))}}function $r(e,t){if(1&e&&(g.Sc(0,"\n "),g.Qc(1,Br,3,3,"span",2),g.Sc(2,"\n "),g.Qc(3,Ur,4,5,"ng-container",2),g.Sc(4,"\n")),2&e){const e=g.oc();g.Cb(1),g.wc("ngIf",!e.ndTotalItemDescription),g.Cb(2),g.wc("ngIf",e.ndTotalItemDescription)}}let Qr=(()=>{class e{constructor(){this.ndData={PageSize:10,PageNum:1,TotalAmount:0},this.ndSize="default",this.ndShowQuickJumper=!0,this.ndHideOnSinglePage=!0,this.ndPageSizeOptions=[10,20,30,40],this.ndPageIndexChange=new g.n,this.ndPageSizeChange=new g.n}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=g.Kb({type:e,selectors:[["nd-pagination"]],inputs:{ndData:"ndData",ndDisabled:"ndDisabled",ndSimple:"ndSimple",ndSize:"ndSize",ndHideTotal:"ndHideTotal",ndShowSizeChanger:"ndShowSizeChanger",ndShowQuickJumper:"ndShowQuickJumper",ndHideOnSinglePage:"ndHideOnSinglePage",ndTotalItemDescription:"ndTotalItemDescription",nzItemRender:"nzItemRender",ndPageSizeOptions:"ndPageSizeOptions"},outputs:{ndPageIndexChange:"ndPageIndexChange",ndPageSizeChange:"ndPageSizeChange"},decls:5,vars:12,consts:function(){let e;return e="Total " + "\ufffd0\ufffd" + " items",[[3,"nzPageIndex","nzPageSize","nzTotal","nzSimple","nzSize","nzShowQuickJumper","nzShowTotal","nzShowSizeChanger","nzHideOnSinglePage","nzPageSizeOptions","nzDisabled","nzItemRender","nzPageIndexChange","nzPageSizeChange"],["showTotalTemplate",""],[4,"ngIf"],e,[4,"ngTemplateOutlet","ngTemplateOutletContext"]]},template:function(e,t){if(1&e&&(g.Wb(0,"nz-pagination",0),g.lc("nzPageIndexChange",function(e){return t.ndPageIndexChange.emit(e)})("nzPageSizeChange",function(e){return t.ndPageSizeChange.emit(e)}),g.Vb(),g.Sc(1,"\n"),g.Qc(2,$r,5,2,"ng-template",null,1,g.Rc),g.Sc(4,"\n")),2&e){const e=g.Ec(3);g.wc("nzPageIndex",t.ndData.PageNum)("nzPageSize",t.ndData.PageSize)("nzTotal",t.ndData.TotalAmount)("nzSimple",t.ndSimple)("nzSize",t.ndSize)("nzShowQuickJumper",t.ndShowQuickJumper)("nzShowTotal",t.ndHideTotal?null:e)("nzShowSizeChanger",t.ndShowSizeChanger)("nzHideOnSinglePage",t.ndHideOnSinglePage)("nzPageSizeOptions",t.ndPageSizeOptions)("nzDisabled",t.ndDisabled)("nzItemRender",t.nzItemRender)}},directives:[Me,o.o,o.t],pipes:[o.g],styles:[""]}),e})();var Gr=n("T94O");function Yr(e,t){1&e&&(g.Wb(0,"nd-loading"),g.ac(1,26),g.Vb())}function Kr(e,t){if(1&e&&(g.Wb(0,"li"),g.Sc(1,"\n "),g.Wb(2,"a",27),g.Sc(3,"\n "),g.Sc(4,"\n\n "),g.Wb(5,"div",28),g.Sc(6,"\n "),g.Wb(7,"div",29),g.Sc(8,"\n "),g.Wb(9,"span"),g.Sc(10),g.pc(11,"date"),g.Vb(),g.Sc(12,"\n "),g.Vb(),g.Sc(13,"\n "),g.Vb(),g.Sc(14,"\n\n "),g.Wb(15,"div",4),g.Sc(16,"\n "),g.Wb(17,"div",6),g.Sc(18),g.Vb(),g.Sc(19,"\n "),g.Wb(20,"span"),g.Sc(21),g.Vb(),g.Sc(22,"\n "),g.Vb(),g.Sc(23,"\n\n "),g.Wb(24,"div",30),g.Sc(25,"\n "),g.Wb(26,"div"),g.Sc(27,"\n "),g.Wb(28,"span",31),g.ac(29,32),g.Vb(),g.Sc(30,"\n "),g.Vb(),g.Sc(31,"\n "),g.Wb(32,"div",33),g.Sc(33,"\n "),g.Rb(34,"i",34),g.Sc(35,"\n "),g.Vb(),g.Sc(36,"\n "),g.Vb(),g.Sc(37,"\n "),g.Vb(),g.Sc(38,"\n "),g.Vb()),2&e){const e=t.$implicit;g.Cb(2),g.yc("routerLink","/home/news/",e.ID,""),g.Cb(8),g.Tc(g.rc(11,4,e.CreateTime,"YYYY / MM / dd")),g.Cb(8),g.Tc(e.Title),g.Cb(3),g.Tc(e.Summary)}}function Xr(e,t){if(1&e&&(g.Wb(0,"li"),g.Sc(1,"\n "),g.Wb(2,"a",27),g.Sc(3,"\n "),g.Sc(4,"\n\n "),g.Wb(5,"div",28),g.Sc(6,"\n "),g.Wb(7,"div",29),g.Sc(8,"\n "),g.Wb(9,"span"),g.Sc(10),g.pc(11,"date"),g.Vb(),g.Sc(12,"\n "),g.Vb(),g.Sc(13,"\n "),g.Vb(),g.Sc(14,"\n\n "),g.Wb(15,"div",4),g.Sc(16,"\n "),g.Wb(17,"div",6),g.Sc(18),g.Vb(),g.Sc(19,"\n "),g.Wb(20,"span"),g.Sc(21),g.Vb(),g.Sc(22,"\n "),g.Vb(),g.Sc(23,"\n\n "),g.Wb(24,"div",30),g.Sc(25,"\n "),g.Wb(26,"div"),g.Sc(27,"\n "),g.Wb(28,"span",31),g.Sc(29,"View more"),g.Vb(),g.Sc(30,"\n "),g.Vb(),g.Sc(31,"\n "),g.Wb(32,"div",33),g.Sc(33,"\n "),g.Rb(34,"i",34),g.Sc(35,"\n "),g.Vb(),g.Sc(36,"\n "),g.Vb(),g.Sc(37,"\n "),g.Vb(),g.Sc(38,"\n "),g.Vb()),2&e){const e=t.$implicit;g.Cb(2),g.yc("routerLink","/home/news/",e.ID,""),g.Cb(8),g.Tc(g.rc(11,4,e.CreateTime,"YYYY / MM / dd")),g.Cb(8),g.Tc(e.Title),g.Cb(3),g.Tc(e.Summary)}}function qr(e,t){if(1&e&&(g.Wb(0,"span"),g.Sc(1),g.Vb()),2&e){const e=g.oc().page;g.Cb(1),g.Tc(e)}}function Jr(e,t){1&e&&(g.Wb(0,"span",39),g.ac(1,40),g.Vb())}function Zr(e,t){1&e&&(g.Wb(0,"span",41),g.ac(1,42),g.Vb())}function eo(e,t){1&e&&(g.Wb(0,"span"),g.Sc(1,"\u2022\u2022\u2022"),g.Vb())}function to(e,t){1&e&&(g.Wb(0,"span"),g.Sc(1,"\u2022\u2022\u2022"),g.Vb())}function no(e,t){if(1&e&&(g.Sc(0,"\n "),g.Ub(1,35),g.Sc(2,"\n "),g.Qc(3,qr,2,1,"span",36),g.Sc(4,"\n "),g.Qc(5,Jr,2,0,"span",37),g.Sc(6,"\n "),g.Qc(7,Zr,2,0,"span",38),g.Sc(8,"\n "),g.Qc(9,eo,2,0,"span",36),g.Sc(10,"\n "),g.Qc(11,to,2,0,"span",36),g.Sc(12,"\n "),g.Tb(),g.Sc(13,"\n ")),2&e){const e=t.$implicit;g.Cb(1),g.wc("ngSwitch",e),g.Cb(2),g.wc("ngSwitchCase","page"),g.Cb(2),g.wc("ngSwitchCase","prev"),g.Cb(2),g.wc("ngSwitchCase","next"),g.Cb(2),g.wc("ngSwitchCase","prev_5"),g.Cb(2),g.wc("ngSwitchCase","next_5")}}const io=function(e,t){return{position:e,"z-index":t}};let ro=(()=>{class e{constructor(e){this.lang=e,this.curMediaType="info",this.newListPageNum=1,this.newListLoading=!1,this.newListResult={},this.footToTop=1e3}get evenList(){var e;return null===(e=this.newListResult.Data)||void 0===e?void 0:e.filter((e,t)=>t%2==0)}get oddList(){var e;return null===(e=this.newListResult.Data)||void 0===e?void 0:e.filter((e,t)=>t%2==1)}get needAffix(){return this.footToTop>210}onScroll(e){var t;this.footToTop=null===(t=document.querySelector(".nd-layout__footer"))||void 0===t?void 0:t.getBoundingClientRect().top}ngOnInit(){this.searchNewsList(1)}searchUpdateLogs(e){console.log(e)}searchNewsList(e){this.newListLoading=!0,Object(r.K)(Jt.c.searchBulletin(this.lang,Nr.NewsCenter,e)).subscribe(t=>{this.newListResult=t,this.newListPageNum=e,window.scrollTo(0,0)}).add(()=>{this.newListLoading=!1})}}return e.\u0275fac=function(t){return new(t||e)(g.Qb(g.v))},e.\u0275cmp=g.Kb({type:e,selectors:[["app-media-center"]],hostBindings:function(e,t){1&e&&g.lc("scroll",function(e){return t.onScroll(e)},!1,g.Gc)},decls:73,vars:12,consts:function(){let e,t,n,i,r,o,s,a;return e="Media room",t="MEDIA ROOM",n="Find the latest news about us here",i="Press Releases",r="Loading...",o="View more",s="Previous",a="Next",[["ndTitle",e],[1,"container","media-container"],[1,"media-top","common-page-top"],[1,"page-top-content"],[1,"content"],[1,"bef"],[1,"title"],t,[1,"dec"],n,[1,"media-body"],[1,"media-body-inner"],[1,"media-nav"],[3,"ngStyle"],[3,"ngClass"],i,["nz-icon","","nzType","nd:arrow-nav",1,"arrow_nav"],[1,"media-content"],[4,"ngIf"],[1,"list-area"],[1,"__media"],[4,"ngFor","ngForOf"],[1,"__media","odd"],[1,"pagination"],[3,"ndData","nzItemRender","ndHideTotal","ndShowQuickJumper","ndPageIndexChange"],["renderItemTemplate",""],r,[1,"btn",3,"routerLink"],[1,"head"],[1,"date"],[1,"foot"],[1,"underline"],o,[1,"icon"],["nz-icon","","nzType","nd:article-arrow"],[3,"ngSwitch"],[4,"ngSwitchCase"],["class","pagination-nav prev",4,"ngSwitchCase"],["class","pagination-nav next",4,"ngSwitchCase"],[1,"pagination-nav","prev"],s,[1,"pagination-nav","next"],a]},template:function(e,t){if(1&e&&(g.Rb(0,"nd-page-meta",0),g.Sc(1,"\n\n"),g.Wb(2,"div",1),g.Sc(3,"\n "),g.Wb(4,"div",2),g.Sc(5,"\n "),g.Wb(6,"div",3),g.Sc(7,"\n "),g.Wb(8,"div",4),g.Sc(9,"\n "),g.Rb(10,"div",5),g.Sc(11,"\n "),g.Wb(12,"div",6),g.ac(13,7),g.Vb(),g.Sc(14,"\n "),g.Wb(15,"div",8),g.ac(16,9),g.Vb(),g.Sc(17,"\n "),g.Vb(),g.Sc(18,"\n "),g.Vb(),g.Sc(19,"\n "),g.Vb(),g.Sc(20,"\n "),g.Wb(21,"div",10),g.Sc(22,"\n "),g.Wb(23,"div",11),g.Sc(24,"\n "),g.Wb(25,"div",12),g.Sc(26,"\n "),g.Wb(27,"nz-affix",13),g.Sc(28,"\n "),g.Wb(29,"ul"),g.Sc(30,"\n "),g.Wb(31,"li",14),g.Sc(32,"\n "),g.Wb(33,"span"),g.ac(34,15),g.Vb(),g.Sc(35,"\n "),g.Rb(36,"i",16),g.Sc(37,"\n "),g.Vb(),g.Sc(38,"\n "),g.Sc(39,"\n "),g.Vb(),g.Sc(40,"\n "),g.Vb(),g.Sc(41,"\n "),g.Vb(),g.Sc(42,"\n "),g.Wb(43,"div",17),g.Sc(44,"\n "),g.Qc(45,Yr,2,0,"nd-loading",18),g.Sc(46,"\n\n "),g.Wb(47,"div",19),g.Sc(48,"\n "),g.Wb(49,"ul",20),g.Sc(50,"\n "),g.Qc(51,Kr,39,7,"li",21),g.Sc(52,"\n "),g.Vb(),g.Sc(53,"\n\n "),g.Wb(54,"ul",22),g.Sc(55,"\n "),g.Qc(56,Xr,39,7,"li",21),g.Sc(57,"\n "),g.Vb(),g.Sc(58,"\n "),g.Vb(),g.Sc(59,"\n\n "),g.Wb(60,"div",23),g.Sc(61,"\n "),g.Wb(62,"nd-pagination",24),g.lc("ndPageIndexChange",function(e){return t.searchNewsList(e)}),g.Sc(63,"\n "),g.Qc(64,no,14,6,"ng-template",null,25,g.Rc),g.Sc(66,"\n "),g.Vb(),g.Sc(67,"\n "),g.Vb(),g.Sc(68,"\n "),g.Vb(),g.Sc(69,"\n "),g.Vb(),g.Sc(70,"\n "),g.Vb(),g.Sc(71,"\n"),g.Vb(),g.Sc(72,"\n")),2&e){const e=g.Ec(65);g.Cb(27),g.wc("ngStyle",g.Cc(9,io,t.needAffix?"":"absolute",t.needAffix?1:-1)),g.Cb(4),g.wc("ngClass","info"===t.curMediaType?"active":""),g.Cb(14),g.wc("ngIf",t.newListLoading),g.Cb(6),g.wc("ngForOf",t.evenList),g.Cb(5),g.wc("ngForOf",t.oddList),g.Cb(6),g.wc("ndData",t.newListResult)("nzItemRender",e)("ndHideTotal",!0)("ndShowQuickJumper",!1)}},directives:[qe.a,Fr.a,o.p,o.m,X.a,tt.a,m.a,o.o,o.n,Qr,Gr.a,c.j,o.q,o.r],pipes:[o.f],styles:['.container[_ngcontent-%COMP%]{font-family:Microsoft YaHei}.container[_ngcontent-%COMP%] .common-page-top[_ngcontent-%COMP%]{background-color:#fff}.container[_ngcontent-%COMP%] .common-page-top[_ngcontent-%COMP%] .page-top-content[_ngcontent-%COMP%]{height:300px;width:1180px;margin:0 auto;color:#000;display:flex;align-items:center}.container[_ngcontent-%COMP%] .common-page-top[_ngcontent-%COMP%] .page-top-content[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{position:relative}.container[_ngcontent-%COMP%] .common-page-top[_ngcontent-%COMP%] .page-top-content[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .bef[_ngcontent-%COMP%]{position:absolute;width:1px;height:64px;background:#000;left:-38px;top:12px}.container[_ngcontent-%COMP%] .common-page-top[_ngcontent-%COMP%] .page-top-content[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .bef[_ngcontent-%COMP%]:before{display:inline-block;content:"";position:absolute;width:6px;height:6px;border-radius:6px;background:#000;left:-3px;top:-3px}.container[_ngcontent-%COMP%] .common-page-top[_ngcontent-%COMP%] .page-top-content[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:34px;font-weight:700;line-height:46px}.container[_ngcontent-%COMP%] .common-page-top[_ngcontent-%COMP%] .page-top-content[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .dec[_ngcontent-%COMP%]{margin-top:10px;font-size:15px;font-weight:400;line-height:24px;color:#aaa;width:526px}.container[_ngcontent-%COMP%] .media-body[_ngcontent-%COMP%]{background-color:#fbfbfb;padding:46px 0 120px}.container[_ngcontent-%COMP%] .media-body[_ngcontent-%COMP%] .media-body-inner[_ngcontent-%COMP%]{width:1180px;margin:0 auto;display:flex;justify-content:space-between}.container[_ngcontent-%COMP%] .media-body[_ngcontent-%COMP%] .media-nav[_ngcontent-%COMP%]{width:110px}.container[_ngcontent-%COMP%] .media-body[_ngcontent-%COMP%] .media-nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{font-size:13px;font-weight:500;color:#333;line-height:16px;display:flex;align-items:center;margin-bottom:20px;padding-top:15px;cursor:pointer}.container[_ngcontent-%COMP%] .media-body[_ngcontent-%COMP%] .media-nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{padding-bottom:1px;border-bottom:1px solid transparent}.container[_ngcontent-%COMP%] .media-body[_ngcontent-%COMP%] .media-nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > i.arrow_nav[_ngcontent-%COMP%]{font-size:7px;margin-left:8px;display:none}.container[_ngcontent-%COMP%] .media-body[_ngcontent-%COMP%] .media-nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.active[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{color:#e11e56;font-weight:700;border-bottom:1px solid #e11e56}.container[_ngcontent-%COMP%] .media-body[_ngcontent-%COMP%] .media-nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.active[_ngcontent-%COMP%] > i.arrow_nav[_ngcontent-%COMP%]{display:block}.container[_ngcontent-%COMP%] .media-body[_ngcontent-%COMP%] .media-nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover > span[_ngcontent-%COMP%]{color:#e11e56;border-bottom:1px solid #e11e56}.container[_ngcontent-%COMP%] .media-body[_ngcontent-%COMP%] .media-content[_ngcontent-%COMP%]{width:1010px}.container[_ngcontent-%COMP%] .media-body[_ngcontent-%COMP%] .media-content[_ngcontent-%COMP%] .list-area[_ngcontent-%COMP%]{display:flex}.container[_ngcontent-%COMP%] .media-body[_ngcontent-%COMP%] .media-content[_ngcontent-%COMP%] .__media.odd[_ngcontent-%COMP%]{margin-left:30px}.container[_ngcontent-%COMP%] .media-body[_ngcontent-%COMP%] .media-content[_ngcontent-%COMP%] .__media[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{width:490px;border:1px solid #dedede;margin-bottom:30px}.container[_ngcontent-%COMP%] .media-body[_ngcontent-%COMP%] .media-content[_ngcontent-%COMP%] .__media[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover{background:#fff;box-shadow:4px 4px 15px 0 rgba(0,0,0,.1)}.container[_ngcontent-%COMP%] .media-body[_ngcontent-%COMP%] .media-content[_ngcontent-%COMP%] .__media[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover .foot[_ngcontent-%COMP%]{color:#e11e56}.container[_ngcontent-%COMP%] .media-body[_ngcontent-%COMP%] .media-content[_ngcontent-%COMP%] .__media[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover .foot[_ngcontent-%COMP%] div[_ngcontent-%COMP%] > span.underline[_ngcontent-%COMP%]{border-bottom:1px solid #e11e56}.container[_ngcontent-%COMP%] .media-body[_ngcontent-%COMP%] .media-content[_ngcontent-%COMP%] .__media[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{text-decoration:none;color:#000}.container[_ngcontent-%COMP%] .media-body[_ngcontent-%COMP%] .media-content[_ngcontent-%COMP%] .__media[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover{text-decoration:none;color:initial}.container[_ngcontent-%COMP%] .media-body[_ngcontent-%COMP%] .media-content[_ngcontent-%COMP%] .__media[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%] .foot[_ngcontent-%COMP%], .container[_ngcontent-%COMP%] .media-body[_ngcontent-%COMP%] .media-content[_ngcontent-%COMP%] .__media[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%] .head[_ngcontent-%COMP%]{height:70px;display:flex;align-items:center}.container[_ngcontent-%COMP%] .media-body[_ngcontent-%COMP%] .media-content[_ngcontent-%COMP%] .__media[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%] .foot[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .container[_ngcontent-%COMP%] .media-body[_ngcontent-%COMP%] .media-content[_ngcontent-%COMP%] .__media[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%] .head[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:flex;align-items:center;height:100%;justify-content:center}.container[_ngcontent-%COMP%] .media-body[_ngcontent-%COMP%] .media-content[_ngcontent-%COMP%] .__media[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%] .head[_ngcontent-%COMP%]{border-bottom:1px solid #dedede}.container[_ngcontent-%COMP%] .media-body[_ngcontent-%COMP%] .media-content[_ngcontent-%COMP%] .__media[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%] .foot[_ngcontent-%COMP%]{font-weight:700;padding-left:50px;border-top:1px solid #dedede;justify-content:space-between}.container[_ngcontent-%COMP%] .media-body[_ngcontent-%COMP%] .media-content[_ngcontent-%COMP%] .__media[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%] .foot[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{width:70px;text-align:center;border-left:1px solid #dedede;display:flex;justify-content:center}.container[_ngcontent-%COMP%] .media-body[_ngcontent-%COMP%] .media-content[_ngcontent-%COMP%] .__media[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%] .foot[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{width:24px;height:14px}.container[_ngcontent-%COMP%] .media-body[_ngcontent-%COMP%] .media-content[_ngcontent-%COMP%] .__media[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%] .foot[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{justify-content:flex-start}.container[_ngcontent-%COMP%] .media-body[_ngcontent-%COMP%] .media-content[_ngcontent-%COMP%] .__media[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%] .foot[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{border-bottom:1px solid #000}.container[_ngcontent-%COMP%] .media-body[_ngcontent-%COMP%] .media-content[_ngcontent-%COMP%] .__media[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%] .date[_ngcontent-%COMP%]{width:214px;text-align:center;font-size:12px;font-weight:500;border-right:1px solid #dedede}.container[_ngcontent-%COMP%] .media-body[_ngcontent-%COMP%] .media-content[_ngcontent-%COMP%] .__media[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%] .date[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{position:relative;display:block}.container[_ngcontent-%COMP%] .media-body[_ngcontent-%COMP%] .media-content[_ngcontent-%COMP%] .__media[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%] .date[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]:before{display:block;position:absolute;content:"";left:-18px;width:8px;height:8px;border-radius:8px;background-color:#000;top:calc(50% - 4px)}.container[_ngcontent-%COMP%] .media-body[_ngcontent-%COMP%] .media-content[_ngcontent-%COMP%] .__media[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{padding:20px 50px}.container[_ngcontent-%COMP%] .media-body[_ngcontent-%COMP%] .media-content[_ngcontent-%COMP%] .__media[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-weight:700;color:#0e0d32;font-size:27px;line-height:36px;margin-bottom:11px}.container[_ngcontent-%COMP%] .media-body[_ngcontent-%COMP%] .media-content[_ngcontent-%COMP%] .__media[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{font-size:14px;font-weight:300;line-height:26px}.container[_ngcontent-%COMP%] .media-body[_ngcontent-%COMP%] .media-content[_ngcontent-%COMP%] .pagination[_ngcontent-%COMP%]{margin-top:84px;text-align:center}.container[_ngcontent-%COMP%] .media-body[_ngcontent-%COMP%] .media-content[_ngcontent-%COMP%] .pagination[_ngcontent-%COMP%] .pagination-nav[_ngcontent-%COMP%]{font-size:16px;font-weight:600} .media-content .ant-pagination{line-height:48px} .media-content .ant-pagination-next, .media-content .ant-pagination-prev{width:118px;height:48px;background:#eee;border-radius:27px;line-height:48px;text-align:center} .media-content .ant-pagination-next:hover, .media-content .ant-pagination-prev:hover{background:#e11e56;color:#fff} .media-content .ant-pagination-prev{float:left} .media-content .ant-pagination-next{float:right} .media-content .ant-pagination-item{border-radius:32px;font-size:16px;font-weight:400;color:#000;border-width:0;line-height:32px;margin-right:25px;background:transparent} .media-content .ant-pagination-item:hover{background:#e11e56;color:#fff} .media-content .ant-pagination-jump-next, .media-content .ant-pagination-jump-prev{margin-right:25px} .media-content .ant-pagination-item-active{background:#e11e56;color:#fff}']}),e})();var oo=n("Nqz0"),so=n("79xS"),ao=n("pLZG"),co=n("JX91"),lo=n("rDax"),uo=n("JgHy");function ho(e,t){if(1&e){const e=g.Xb();g.Wb(0,"nz-breadcrumb-item"),g.Wb(1,"a",2),g.lc("click",function(n){g.Hc(e);const i=t.$implicit;return g.oc(2).navigate(i.url,n)}),g.Sc(2),g.Vb(),g.Vb()}if(2&e){const e=t.$implicit;g.Cb(1),g.Db("href",e.url,g.Kc),g.Cb(1),g.Tc(e.label)}}function po(e,t){if(1&e&&(g.Ub(0),g.Qc(1,ho,3,2,"nz-breadcrumb-item",1),g.Tb()),2&e){const e=g.oc();g.Cb(1),g.wc("ngForOf",e.breadcrumbs)}}const fo=["*"];function go(e,t){}function bo(e,t){1&e&&g.Rb(0,"i",6)}function mo(e,t){if(1&e&&(g.Ub(0),g.Wb(1,"span",3),g.Qc(2,go,0,0,"ng-template",4),g.Qc(3,bo,1,0,"i",5),g.Vb(),g.Tb()),2&e){const e=g.oc(),t=g.Ec(2);g.Cb(1),g.wc("nzDropdownMenu",e.nzOverlay),g.Cb(1),g.wc("ngTemplateOutlet",t),g.Cb(1),g.wc("ngIf",!!e.nzOverlay)}}function yo(e,t){1&e&&(g.Wb(0,"span",7),g.uc(1),g.Vb())}function vo(e,t){if(1&e&&(g.Ub(0),g.Sc(1),g.Tb()),2&e){const e=g.oc(2);g.Cb(1),g.Uc(" ",e.nzBreadCrumbComponent.nzSeparator," ")}}function Co(e,t){if(1&e&&(g.Wb(0,"span",8),g.Qc(1,vo,2,1,"ng-container",9),g.Vb()),2&e){const e=g.oc();g.Cb(1),g.wc("nzStringTemplateOutlet",e.nzBreadCrumbComponent.nzSeparator)}}let wo=(()=>{class e{constructor(e,t,n,i,r,o){this.injector=e,this.ngZone=t,this.cdr=n,this.elementRef=i,this.renderer=r,this.directionality=o,this.nzAutoGenerate=!1,this.nzSeparator="/",this.nzRouteLabel="breadcrumb",this.nzRouteLabelFn=e=>e,this.breadcrumbs=[],this.dir="ltr",this.destroy$=new G.a,r.addClass(i.nativeElement,"ant-breadcrumb")}ngOnInit(){var e;this.nzAutoGenerate&&this.registerRouterChange(),null===(e=this.directionality.change)||void 0===e||e.pipe(Object(K.a)(this.destroy$)).subscribe(e=>{this.dir=e,this.prepareComponentForRtl(),this.cdr.detectChanges()}),this.dir=this.directionality.value,this.prepareComponentForRtl()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}navigate(e,t){t.preventDefault(),this.ngZone.run(()=>this.injector.get(c.g).navigateByUrl(e).then()).then()}registerRouterChange(){try{const e=this.injector.get(c.g),t=this.injector.get(c.a);e.events.pipe(Object(ao.a)(e=>e instanceof c.c),Object(K.a)(this.destroy$),Object(co.a)(!0)).subscribe(()=>{this.breadcrumbs=this.getBreadcrumbs(t.root),this.cdr.markForCheck()})}catch(e){throw new Error(`${so.a} You should import RouterModule if you want to use 'NzAutoGenerate'.`)}}getBreadcrumbs(e,t="",n=[]){const i=e.children;if(0===i.length)return n;for(const r of i)if(r.outlet===c.f){const e=r.snapshot.url.map(e=>e.path).filter(e=>e).join("/"),i=e?t+`/${e}`:t,o=this.nzRouteLabelFn(r.snapshot.data[this.nzRouteLabel]);return e&&o&&n.push({label:o,params:r.snapshot.params,url:i}),this.getBreadcrumbs(r,i,n)}return n}prepareComponentForRtl(){"rtl"===this.dir?this.renderer.addClass(this.elementRef.nativeElement,"ant-breadcrumb-rtl"):this.renderer.removeClass(this.elementRef.nativeElement,"ant-breadcrumb-rtl")}}return e.\u0275fac=function(t){return new(t||e)(g.Qb(g.s),g.Qb(g.B),g.Qb(g.h),g.Qb(g.l),g.Qb(g.G),g.Qb(H.c,8))},e.\u0275cmp=g.Kb({type:e,selectors:[["nz-breadcrumb"]],inputs:{nzAutoGenerate:"nzAutoGenerate",nzSeparator:"nzSeparator",nzRouteLabel:"nzRouteLabel",nzRouteLabelFn:"nzRouteLabelFn"},exportAs:["nzBreadcrumb"],ngContentSelectors:fo,decls:2,vars:1,consts:[[4,"ngIf"],[4,"ngFor","ngForOf"],[3,"click"]],template:function(e,t){1&e&&(g.vc(),g.uc(0),g.Qc(1,po,2,1,"ng-container",0)),2&e&&(g.Cb(1),g.wc("ngIf",t.nzAutoGenerate&&t.breadcrumbs.length))},directives:function(){return[o.o,o.n,So]},encapsulation:2,changeDetection:0}),Object(W.b)([Object(Q.a)(),Object(W.c)("design:type",Object)],e.prototype,"nzAutoGenerate",void 0),e})(),So=(()=>{class e{constructor(e){this.nzBreadCrumbComponent=e}}return e.\u0275fac=function(t){return new(t||e)(g.Qb(wo))},e.\u0275cmp=g.Kb({type:e,selectors:[["nz-breadcrumb-item"]],inputs:{nzOverlay:"nzOverlay"},exportAs:["nzBreadcrumbItem"],ngContentSelectors:fo,decls:4,vars:3,consts:[[4,"ngIf","ngIfElse"],["noMenuTpl",""],["class","ant-breadcrumb-separator",4,"ngIf"],["nz-dropdown","",1,"ant-breadcrumb-overlay-link",3,"nzDropdownMenu"],[3,"ngTemplateOutlet"],["nz-icon","","nzType","down",4,"ngIf"],["nz-icon","","nzType","down"],[1,"ant-breadcrumb-link"],[1,"ant-breadcrumb-separator"],[4,"nzStringTemplateOutlet"]],template:function(e,t){if(1&e&&(g.vc(),g.Qc(0,mo,4,3,"ng-container",0),g.Qc(1,yo,2,0,"ng-template",null,1,g.Rc),g.Qc(3,Co,2,1,"span",2)),2&e){const e=g.Ec(2);g.wc("ngIf",!!t.nzOverlay)("ngIfElse",e),g.Cb(3),g.wc("ngIf",t.nzBreadCrumbComponent.nzSeparator)}},directives:[o.o,oo.b,o.t,X.a,Ue.b],encapsulation:2,changeDetection:0}),e})(),_o=(()=>{class e{}return e.\u0275mod=g.Ob({type:e}),e.\u0275inj=g.Nb({factory:function(t){return new(t||e)},imports:[[o.c,Ue.a,lo.f,uo.c,oo.c,X.b],H.a]}),e})();var Oo=n("lR5k");function xo(e,t){1&e&&(g.Wb(0,"nd-loading"),g.ac(1,2),g.Vb())}function zo(e,t){if(1&e&&(g.Wb(0,"div",3),g.Sc(1,"\n "),g.Wb(2,"nz-breadcrumb"),g.Sc(3,"\n "),g.Wb(4,"nz-breadcrumb-item"),g.Sc(5,"\n "),g.Wb(6,"a",4),g.ac(7,5),g.Vb(),g.Sc(8,"\n "),g.Vb(),g.Sc(9,"\n "),g.Wb(10,"nz-breadcrumb-item"),g.Sc(11,"\n "),g.Wb(12,"a",6),g.ac(13,7),g.Vb(),g.Sc(14,"\n "),g.Vb(),g.Sc(15,"\n "),g.Wb(16,"nz-breadcrumb-item"),g.Sc(17),g.Vb(),g.Sc(18,"\n "),g.Vb(),g.Sc(19,"\n "),g.Wb(20,"article"),g.Sc(21,"\n "),g.Wb(22,"header",8),g.Sc(23,"\n "),g.Wb(24,"h3",9),g.Sc(25),g.Vb(),g.Sc(26,"\n "),g.Wb(27,"div",10),g.Sc(28),g.pc(29,"date"),g.Vb(),g.Sc(30,"\n "),g.Vb(),g.Sc(31,"\n "),g.Rb(32,"markdown",11),g.Sc(33,"\n "),g.Vb(),g.Sc(34,"\n"),g.Vb()),2&e){const e=g.oc();g.Cb(17),g.Uc("",e.bulletinInfo.Title," "),g.Cb(8),g.Tc(e.bulletinInfo.Title),g.Cb(3),g.Tc(g.rc(29,4,e.bulletinInfo.CreateTime,"yyyy-MM-dd")),g.Cb(4),g.wc("data",e.bulletinInfo.Content)}}let To=(()=>{class e{constructor(e,t,n){this.route=e,this.router=t,this.titleService=n,this.bulletinInfo=new Ri,this.loading=!0}ngOnInit(){const e=this.route.snapshot.params.id;this.loading=!0,Object(r.K)(Jt.c.getBulletin(e)).subscribe(e=>{e&&(this.bulletinInfo=e,this.titleService.setTitle(this.bulletinInfo.Title))}).add(()=>{this.loading=!1})}}return e.\u0275fac=function(t){return new(t||e)(g.Qb(c.a),g.Qb(c.g),g.Qb(i.d))},e.\u0275cmp=g.Kb({type:e,selectors:[["app-news-detail"]],decls:4,vars:2,consts:function(){let e,t,n;return e="Loading...",t="Home",n="Media Room",[[4,"ngIf"],["class","container",4,"ngIf"],e,[1,"container"],["routerLink","/home"],t,["routerLink","/home/media"],n,[1,"article-header"],[1,"article-title"],[1,"article-datetime"],[3,"data"]]},template:function(e,t){1&e&&(g.Qc(0,xo,2,0,"nd-loading",0),g.Sc(1,"\n"),g.Qc(2,zo,35,7,"div",1),g.Sc(3,"\n")),2&e&&(g.wc("ngIf",t.loading),g.Cb(2),g.wc("ngIf",!t.loading))},directives:[o.o,Gr.a,wo,So,c.j,Oo.a],pipes:[o.f],styles:["article img{max-width:100%}.container[_ngcontent-%COMP%]{width:800px;margin:0 auto}.article-header[_ngcontent-%COMP%]{margin-bottom:20px;border-bottom:1px solid #ced4da;padding-bottom:20px}.article-title[_ngcontent-%COMP%]{font-size:24px;line-height:36px;color:#1f2b4b;margin:20px 0 10px}.article-datetime[_ngcontent-%COMP%]{color:#676f86}"]}),e})();function ko(e,t){1&e&&(g.Wb(0,"nd-loading"),g.ac(1,17),g.Vb())}function Po(e,t){if(1&e&&(g.Wb(0,"li",23),g.Sc(1,"\n "),g.Wb(2,"a",24),g.Sc(3,"\n "),g.Wb(4,"div",25),g.Sc(5,"\n "),g.Wb(6,"h4",26),g.Sc(7),g.Vb(),g.Sc(8,"\n "),g.Wb(9,"p",27),g.Sc(10),g.Vb(),g.Sc(11,"\n "),g.Vb(),g.Sc(12,"\n "),g.Wb(13,"div",28),g.Sc(14,"\n "),g.Wb(15,"h1",29),g.Sc(16),g.pc(17,"date"),g.Vb(),g.Sc(18,"\n "),g.Wb(19,"div",30),g.Sc(20,"\n "),g.Wb(21,"p",31),g.Sc(22),g.pc(23,"date"),g.Vb(),g.Sc(24,"\n "),g.Rb(25,"img",32),g.Sc(26,"\n "),g.Vb(),g.Sc(27,"\n "),g.Vb(),g.Sc(28,"\n "),g.Vb(),g.Sc(29,"\n "),g.Vb()),2&e){const e=t.$implicit;g.Cb(2),g.yc("routerLink","/home/news/",e.ID,""),g.Cb(5),g.Tc(e.Title),g.Cb(3),g.Tc(e.Summary),g.Cb(6),g.Tc(g.rc(17,5,e.CreateTime,"MM-dd")),g.Cb(6),g.Tc(g.rc(23,8,e.CreateTime,"yyyy"))}}function Eo(e,t){if(1&e){const e=g.Xb();g.Wb(0,"div",18),g.Sc(1,"\n "),g.Wb(2,"ul",19),g.Sc(3,"\n "),g.Qc(4,Po,30,11,"li",20),g.Sc(5,"\n "),g.Vb(),g.Sc(6,"\n\n "),g.Wb(7,"div",21),g.Sc(8,"\n "),g.Wb(9,"nd-pagination",22),g.lc("ndPageIndexChange",function(t){return g.Hc(e),g.oc().searchNewsList(t)}),g.Vb(),g.Sc(10,"\n "),g.Vb(),g.Sc(11,"\n "),g.Vb()}if(2&e){const e=g.oc();g.wc("ngClass",0===e.activeIndex?"slideInLeft":"slideOutLeft"),g.Cb(4),g.wc("ngForOf",e.newListResult.Data),g.Cb(5),g.wc("ndData",e.newListResult)}}function Do(e,t){if(1&e&&(g.Wb(0,"li",23),g.Sc(1,"\n "),g.Wb(2,"a",24),g.Sc(3,"\n "),g.Wb(4,"div",25),g.Sc(5,"\n "),g.Wb(6,"h4",26),g.Sc(7),g.Vb(),g.Sc(8,"\n "),g.Wb(9,"p",33),g.Sc(10),g.Vb(),g.Sc(11,"\n "),g.Vb(),g.Sc(12,"\n "),g.Wb(13,"div",28),g.Sc(14,"\n "),g.Wb(15,"h1",29),g.Sc(16),g.pc(17,"date"),g.Vb(),g.Sc(18,"\n "),g.Wb(19,"div",30),g.Sc(20,"\n "),g.Wb(21,"p",31),g.Sc(22),g.pc(23,"date"),g.Vb(),g.Sc(24,"\n "),g.Rb(25,"img",34),g.Sc(26,"\n "),g.Vb(),g.Sc(27,"\n "),g.Vb(),g.Sc(28,"\n "),g.Vb(),g.Sc(29,"\n "),g.Vb()),2&e){const e=t.$implicit;g.Cb(2),g.yc("routerLink","/home/news/",e.ID,""),g.Cb(5),g.Tc(e.Title),g.Cb(3),g.Tc(e.Summary),g.Cb(6),g.Tc(g.rc(17,5,e.CreateTime,"MM-dd")),g.Cb(6),g.Tc(g.rc(23,8,e.CreateTime,"yyyy"))}}function Mo(e,t){if(1&e){const e=g.Xb();g.Wb(0,"div",18),g.Sc(1,"\n "),g.Wb(2,"ul",19),g.Sc(3,"\n "),g.Qc(4,Do,30,11,"li",20),g.Sc(5,"\n "),g.Vb(),g.Sc(6,"\n\n "),g.Wb(7,"div",21),g.Sc(8,"\n "),g.Wb(9,"nd-pagination",22),g.lc("ndPageIndexChange",function(t){return g.Hc(e),g.oc().searchUpdateLogs(t)}),g.Vb(),g.Sc(10,"\n "),g.Vb(),g.Sc(11,"\n "),g.Vb()}if(2&e){const e=g.oc();g.wc("ngClass",1===e.activeIndex?"slideOutLeft":"slideInLeft"),g.Cb(4),g.wc("ngForOf",e.logListResult.Data),g.Cb(5),g.wc("ndData",e.logListResult)}}let Io=(()=>{class e{constructor(e){this.lang=e,this.activeIndex=0,this.newListLoading=!1,this.logListLoading=!1,this.newListPageNum=1,this.logListPageNum=1,this.newListResult={},this.logListResult={}}ngOnInit(){this.searchNewsList(1),this.searchUpdateLogs(1)}searchNewsList(e){this.newListLoading=!0,Object(r.K)(Jt.c.searchBulletin(this.lang,Ai.NewsCenter,e)).subscribe(t=>{this.newListResult=t,this.newListPageNum=e,window.scrollTo(0,0)}).add(()=>{this.newListLoading=!1})}searchUpdateLogs(e){this.logListLoading=!0,Object(r.K)(Jt.c.searchBulletin(this.lang,Ai.UpdateLog,e)).subscribe(t=>{this.logListPageNum=e,this.logListResult=t,window.scrollTo(0,0)}).add(()=>{this.logListLoading=!1})}}return e.\u0275fac=function(t){return new(t||e)(g.Qb(g.v))},e.\u0275cmp=g.Kb({type:e,selectors:[["app-news-index"]],decls:41,vars:7,consts:function(){let e,t,n,i,r,o,s;return e="News",t="Home",n="News",i="News",r="News Center",o="Updates",s="Loading...",[["ndTitle",e],[1,"container"],[1,"breadcrumb"],["routerLink","/home"],t,n,[1,"section-header"],[1,"section-title"],i,[1,"section-nav"],[3,"ngModel","ngModelChange"],["nz-radio-button","",3,"nzValue"],r,o,[4,"ngIf"],[1,"bulletin-wrapper",3,"hidden"],["class","bulletin-container",3,"ngClass",4,"ngIf"],s,[1,"bulletin-container",3,"ngClass"],[1,"list-group"],["class","list-group-item",4,"ngFor","ngForOf"],[1,"nd-text-right"],[3,"ndData","ndPageIndexChange"],[1,"list-group-item"],[1,"bulletin-item",3,"routerLink"],[1,"bulletin-item__content"],[1,"bulletin-item__title"],[1,"bulletin-item__summary"],[1,"bulletin-item__datetime"],[1,"bulletin-item__date"],[1,"bulletin-item__slide-up"],[1,"bulletin-item__year"],["src","https://dsimage.didatravel.com/v2-app/images/home/news-arrow.png","alt","",1,"bulletin-item__icon-arrow"],[1,"bulletin-item__summary","nd-text-ellipsis"],["src","https://dsimage.didatravel.com/new_web_iamges/Line%202.png","alt","",1,"bulletin-item__icon-arrow"]]},template:function(e,t){1&e&&(g.Rb(0,"nd-page-meta",0),g.Sc(1,"\n\n"),g.Wb(2,"div",1),g.Sc(3,"\n "),g.Wb(4,"nz-breadcrumb",2),g.Sc(5,"\n "),g.Wb(6,"nz-breadcrumb-item"),g.Wb(7,"a",3),g.ac(8,4),g.Vb(),g.Vb(),g.Sc(9,"\n "),g.Wb(10,"nz-breadcrumb-item"),g.ac(11,5),g.Vb(),g.Sc(12,"\n "),g.Vb(),g.Sc(13,"\n\n "),g.Wb(14,"div",6),g.Sc(15,"\n "),g.Wb(16,"h3",7),g.ac(17,8),g.Vb(),g.Sc(18,"\n "),g.Wb(19,"div",9),g.Sc(20,"\n "),g.Wb(21,"nz-radio-group",10),g.lc("ngModelChange",function(e){return t.activeIndex=e}),g.Sc(22,"\n "),g.Wb(23,"label",11),g.ac(24,12),g.Vb(),g.Wb(25,"label",11),g.ac(26,13),g.Vb(),g.Sc(27,"\n "),g.Vb(),g.Sc(28,"\n "),g.Vb(),g.Sc(29,"\n "),g.Vb(),g.Sc(30,"\n\n "),g.Qc(31,ko,2,0,"nd-loading",14),g.Sc(32,"\n "),g.Wb(33,"div",15),g.Sc(34,"\n "),g.Qc(35,Eo,12,3,"div",16),g.Sc(36,"\n "),g.Qc(37,Mo,12,3,"div",16),g.Sc(38,"\n "),g.Vb(),g.Sc(39,"\n"),g.Vb(),g.Sc(40,"\n")),2&e&&(g.Cb(21),g.wc("ngModel",t.activeIndex),g.Cb(2),g.wc("nzValue",0),g.Cb(2),g.wc("nzValue",1),g.Cb(6),g.wc("ngIf",t.newListLoading||t.logListLoading),g.Cb(2),g.wc("hidden",t.newListLoading||t.logListLoading),g.Cb(2),g.wc("ngIf",0===t.activeIndex),g.Cb(2),g.wc("ngIf",1===t.activeIndex))},directives:[qe.a,wo,So,c.j,$i,s.o,s.r,Qi,Hi,o.o,Gr.a,o.m,o.n,Qr],pipes:[o.f],styles:['[_nghost-%COMP%]{font-size:14px;line-height:22px}.list-group[_ngcontent-%COMP%]{list-style:none;padding:0}.list-group[_ngcontent-%COMP%] .list-group-item[_ngcontent-%COMP%]{position:relative;border-width:1px 0!important;border-radius:0!important;border-top:1px solid #eee;margin-bottom:-1px}.list-group[_ngcontent-%COMP%] .list-group-item[_ngcontent-%COMP%] + .list-group-item[_ngcontent-%COMP%]{border-bottom:1px solid #eee}.list-group[_ngcontent-%COMP%] .list-group-item[_ngcontent-%COMP%]:before{content:"";position:absolute;width:0;height:100%;top:0;left:0;background-image:linear-gradient(90deg,#ff0264,#ff7932);will-change:width;transition:width .4s ease 0s}.list-group[_ngcontent-%COMP%] .list-group-item[_ngcontent-%COMP%]:hover:before{width:100%}.list-group[_ngcontent-%COMP%] .list-group-item[_ngcontent-%COMP%]:hover{border-color:transparent;color:#fff}.list-group[_ngcontent-%COMP%] .list-group-item[_ngcontent-%COMP%]:hover + .list-group-item[_ngcontent-%COMP%]{border-top-color:transparent}.bulletin-item[_ngcontent-%COMP%]{position:relative;display:flex;color:#676f86;padding:20px!important}.bulletin-item[_ngcontent-%COMP%]:hover{text-decoration:none}.bulletin-item__title[_ngcontent-%COMP%]{color:#1f2b4b;font-size:18px;line-height:40px}.bulletin-item__content[_ngcontent-%COMP%]{flex:1;padding-right:10px;border-right:1px solid #eee}.bulletin-item__summary[_ngcontent-%COMP%]{margin-bottom:15px;font-size:14px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;max-height:44px}.bulletin-item__datetime[_ngcontent-%COMP%]{padding-left:26px}.bulletin-item__date[_ngcontent-%COMP%]{font-size:36px;line-height:1;margin-bottom:0}.bulletin-item__year[_ngcontent-%COMP%]{margin-bottom:0}.bulletin-item__icon-arrow[_ngcontent-%COMP%]{opacity:0;display:inline-block;width:3em;vertical-align:initial}.bulletin-item[_ngcontent-%COMP%]:hover *[_ngcontent-%COMP%]{color:#fff;border-color:currentColor}.bulletin-item__slide-up[_ngcontent-%COMP%]{transform:translate3d(0,16px,0);transition:transform .6s ease 0s}.bulletin-item[_ngcontent-%COMP%]:hover .bulletin-item__summary[_ngcontent-%COMP%]{margin-top:0}.bulletin-item[_ngcontent-%COMP%]:hover .bulletin-item__slide-up[_ngcontent-%COMP%]{transform:translateZ(0)!important}.bulletin-item[_ngcontent-%COMP%]:hover .bulletin-item__icon-arrow[_ngcontent-%COMP%]{opacity:1}.section-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;margin-bottom:20px}.section-header[_ngcontent-%COMP%] .section-title[_ngcontent-%COMP%]{color:#1f2b4b;font-size:24px;line-height:32px;margin-bottom:0}.section-header[_ngcontent-%COMP%] .section-nav[_ngcontent-%COMP%]{margin-right:20px}.section-header[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{border-radius:0!important;border:none!important;font-weight:400}.section-header[_ngcontent-%COMP%] .btnhighlight[_ngcontent-%COMP%]{font-weight:700}.section-header[_ngcontent-%COMP%] .btn-divider[_ngcontent-%COMP%]{display:inline-block;margin:0 10px;color:#d4d4d4;font-weight:400}']}),e})();function Ao(e,t){1&e&&(g.Wb(0,"div",6),g.Sc(1,"\n "),g.Wb(2,"div",29),g.Sc(3,"\n Join as a\n "),g.Wb(4,"span"),g.Sc(5,"Buyer"),g.Vb(),g.Sc(6,"\n .\n "),g.Vb(),g.Sc(7,"\n "),g.Vb())}function Ro(e,t){1&e&&(g.Wb(0,"div",6),g.Sc(1,"\u4ee5 \u4e70\u5bb6 \u8eab\u4efd\u52a0\u5165 ."),g.Vb())}function jo(e,t){if(1&e&&(g.Wb(0,"li"),g.Sc(1,"\n "),g.Wb(2,"div",36),g.Sc(3),g.Vb(),g.Sc(4,"\n "),g.Wb(5,"div",37),g.Sc(6),g.Vb(),g.Sc(7,"\n "),g.Vb()),2&e){const e=t.$implicit;g.Cb(3),g.Tc(e.Title),g.Cb(3),g.Tc(e.Desc)}}function Vo(e,t){if(1&e&&(g.Wb(0,"div",4),g.Sc(1,"\n "),g.Wb(2,"ul"),g.Sc(3,"\n "),g.Qc(4,jo,8,2,"li",28),g.Sc(5,"\n "),g.Vb(),g.Sc(6,"\n "),g.Wb(7,"div",30),g.Sc(8,"\n "),g.Wb(9,"div",31),g.Sc(10,"\n "),g.Sc(11,"\n "),g.Wb(12,"div",32),g.Sc(13),g.Vb(),g.Sc(14,"\n "),g.Wb(15,"div",15),g.Sc(16),g.Vb(),g.Sc(17,"\n "),g.Sc(18,"\n "),g.Vb(),g.Sc(19,"\n "),g.Wb(20,"div",33),g.Sc(21,"\n "),g.Sc(22,"\n "),g.Wb(23,"div",32),g.Sc(24),g.Vb(),g.Sc(25,"\n "),g.Wb(26,"div",15),g.Sc(27),g.Vb(),g.Sc(28,"\n "),g.Sc(29,"\n "),g.Vb(),g.Sc(30,"\n "),g.Vb(),g.Sc(31,"\n "),g.Wb(32,"div",34),g.ac(33,35),g.Vb(),g.Sc(34,"\n "),g.Vb()),2&e){const e=g.oc();g.Cb(4),g.wc("ngForOf",null==e.buyerData?null:e.buyerData.Advantage),g.Cb(9),g.Tc(e.buyerData.NoAbliity.Title),g.Cb(3),g.Tc(e.buyerData.NoAbliity.Desc),g.Cb(8),g.Tc(e.buyerData.HaveAbliity.Title),g.Cb(3),g.Tc(e.buyerData.HaveAbliity.Desc)}}function Lo(e,t){1&e&&(g.Wb(0,"div",6),g.Sc(1,"\n "),g.Wb(2,"div",29),g.Sc(3,"\n Join as a\n "),g.Wb(4,"span"),g.Sc(5,"Seller"),g.Vb(),g.Sc(6,"\n .\n "),g.Vb(),g.Sc(7,"\n "),g.Vb())}function No(e,t){1&e&&(g.Wb(0,"div",6),g.Sc(1,"\u4ee5 \u4f9b\u5e94\u5546 \u8eab\u4efd\u52a0\u5165 ."),g.Vb())}function Fo(e,t){if(1&e&&(g.Wb(0,"li"),g.Sc(1,"\n "),g.Wb(2,"div",36),g.Sc(3),g.Vb(),g.Sc(4,"\n "),g.Wb(5,"div",37),g.Sc(6),g.Vb(),g.Sc(7,"\n "),g.Vb()),2&e){const e=t.$implicit;g.Cb(3),g.Tc(e.Title),g.Cb(3),g.Tc(e.Desc)}}function Bo(e,t){if(1&e&&(g.Wb(0,"div",4),g.Sc(1,"\n "),g.Wb(2,"div",38),g.Sc(3,"\n "),g.Wb(4,"div",39),g.Sc(5,"\n "),g.Wb(6,"span"),g.Sc(7),g.Vb(),g.Sc(8,"\n "),g.Wb(9,"span"),g.Sc(10),g.Vb(),g.Sc(11,"\n "),g.Vb(),g.Sc(12,"\n "),g.Wb(13,"ul",40),g.Sc(14,"\n "),g.Qc(15,Fo,8,2,"li",28),g.Sc(16,"\n "),g.Vb(),g.Sc(17,"\n "),g.Vb(),g.Sc(18,"\n "),g.Wb(19,"div",30),g.Sc(20,"\n "),g.Wb(21,"div",31),g.Sc(22,"\n "),g.Sc(23,"\n "),g.Wb(24,"div",32),g.Sc(25),g.Vb(),g.Sc(26,"\n "),g.Wb(27,"div",15),g.Sc(28),g.Vb(),g.Sc(29,"\n "),g.Vb(),g.Sc(30,"\n "),g.Wb(31,"div",33),g.Sc(32,"\n "),g.Sc(33,"\n "),g.Wb(34,"div",32),g.Sc(35),g.Vb(),g.Sc(36,"\n "),g.Wb(37,"div",15),g.Sc(38),g.Vb(),g.Sc(39,"\n "),g.Vb(),g.Sc(40,"\n "),g.Vb(),g.Sc(41,"\n "),g.Wb(42,"dida-shopping-cooperation-intention-modal"),g.Sc(43,"\n "),g.Wb(44,"div",41),g.ac(45,42),g.Vb(),g.Sc(46,"\n "),g.Vb(),g.Sc(47,"\n "),g.Vb()),2&e){const e=g.oc();g.Cb(7),g.Tc(e.sellerData.Dida.Title),g.Cb(3),g.Tc(e.sellerData.Dida.Desc),g.Cb(5),g.wc("ngForOf",null==e.sellerData?null:e.sellerData.Advantage),g.Cb(10),g.Tc(e.sellerData.NoAbliity.Title),g.Cb(3),g.Tc(e.sellerData.NoAbliity.Desc),g.Cb(7),g.Tc(e.sellerData.HaveAbliity.Title),g.Cb(3),g.Tc(e.sellerData.HaveAbliity.Desc)}}function Wo(e,t){if(1&e&&(g.Sc(0,"\n "),g.Wb(1,"div",44),g.Sc(2,"\n "),g.Rb(3,"img",45),g.Sc(4,"\n "),g.Vb(),g.Sc(5,"\n ")),2&e){const e=g.oc().$implicit;g.Cb(3),g.wc("src",e.ImgUrl,g.Kc)}}function Ho(e,t){1&e&&g.Qc(0,Wo,6,1,"ng-template",43)}const Uo=function(){return["container","join-container"]};let $o=(()=>{class e extends r.o{constructor(){super(),this.pageConfigStore=new f.j("home_joinus_config_"+this.appContext.lang),this.joinVisible=!1,this.joinSuccess=!1}ngOnInit(){this.restoreConfigFromLocal(),this.loadData()}restoreConfigFromLocal(){const e=this.pageConfigStore.value;e&&Object.assign(this,e)}loadData(){Object(r.K)(Jt.c.getResourceEntities("HomePageData",["JoinUs","TechnicalParnter"])).subscribe(e=>{const t=e.find(e=>"JoinUs"===e.EntityKey).EntityValue;this.buyerData=t[0][this.lang.replace("-","_")]||t[0].en_US,this.sellerData=t[1][this.lang.replace("-","_")]||t[0].en_US,this.technicalParnter=e.find(e=>"TechnicalParnter"===e.EntityKey).EntityValue.map(e=>new Jt.b(e).switchLanguage("en-US").switchLanguage(this.langCode)),this.pageConfigStore.set({technicalParnter:this.technicalParnter,buyerData:this.buyerData,sellerData:this.sellerData})})}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=g.Kb({type:e,selectors:[["app-partner-with-us"]],features:[g.zb],decls:94,vars:14,consts:function(){let e,t,n,i,r,o,s,a,c,l,u;return e="Partner With Us",t="B2B GLOBAL DISTRIBUTION NETWORK",n="Transcending travel business through innovation",i="Hotel",r="Access to 700,000 properties in real-time",o="Flight",s="Access to 500 FSCs + 100 LCCs in real-time",a="T&A",c="Coming soon",l="Sign up as a Buyer",u="Join as a Seller",[["ndTitle",e],[3,"ngClass"],[1,"join-top","common-page-top"],[1,"page-top-content"],[1,"content"],[1,"bef"],[1,"title"],t,[1,"dec"],n,[1,"join-body"],[1,"type"],[1,"join-body_hotel"],[1,"nav-area"],i,[1,"desc"],r,[1,"join-body_flight"],o,s,[1,"join-body_t_a"],a,c,[1,"join-buyer","join-area"],["class","title",4,"ngIf"],["class","content",4,"ngIf"],[1,"join-seller","join-area"],["slidesPerView","auto",1,"partner-swiper",3,"spaceBetween","freeMode","freeModeMomentumRatio","freeModeMomentumVelocityRatio","freeModeMomentumBounceRatio"],[4,"ngFor","ngForOf"],[1,"title_en"],[1,"connection"],[1,"skill"],[1,"sub-title"],[1,"ability"],["routerLink","/account/register",1,"join-btn"],l,[1,"circle"],[1,"tip"],[1,"content-top"],[1,"dida"],[1,"sellAdvantage"],[1,"join-btn"],u,["swiperSlide","","class","partner-slide"],[1,"partner-item"],["alt","",3,"src"]]},template:function(e,t){1&e&&(g.Rb(0,"nd-page-meta",0),g.Sc(1,"\n\n"),g.Wb(2,"div",1),g.Sc(3,"\n "),g.Wb(4,"div",2),g.Sc(5,"\n "),g.Wb(6,"div",3),g.Sc(7,"\n "),g.Wb(8,"div",4),g.Sc(9,"\n "),g.Rb(10,"div",5),g.Sc(11,"\n "),g.Wb(12,"div",6),g.ac(13,7),g.Vb(),g.Sc(14,"\n "),g.Wb(15,"div",8),g.ac(16,9),g.Vb(),g.Sc(17,"\n "),g.Vb(),g.Sc(18,"\n "),g.Vb(),g.Sc(19,"\n "),g.Vb(),g.Sc(20,"\n "),g.Wb(21,"div",10),g.Sc(22,"\n "),g.Wb(23,"div",11),g.Sc(24,"\n "),g.Wb(25,"ul"),g.Sc(26,"\n "),g.Wb(27,"li",12),g.Sc(28,"\n "),g.Wb(29,"div",13),g.Sc(30,"\n "),g.Wb(31,"div",6),g.ac(32,14),g.Vb(),g.Sc(33,"\n "),g.Wb(34,"div",15),g.ac(35,16),g.Vb(),g.Sc(36,"\n "),g.Sc(37,"\n "),g.Vb(),g.Sc(38,"\n "),g.Vb(),g.Sc(39,"\n "),g.Wb(40,"li",17),g.Sc(41,"\n "),g.Wb(42,"div",13),g.Sc(43,"\n "),g.Wb(44,"div",6),g.ac(45,18),g.Vb(),g.Sc(46,"\n "),g.Wb(47,"div",15),g.ac(48,19),g.Vb(),g.Sc(49,"\n "),g.Sc(50,"\n "),g.Vb(),g.Sc(51,"\n "),g.Vb(),g.Sc(52,"\n "),g.Wb(53,"li",20),g.Sc(54,"\n "),g.Wb(55,"div",13),g.Sc(56,"\n "),g.Wb(57,"div",6),g.ac(58,21),g.Vb(),g.Sc(59,"\n "),g.Wb(60,"div",15),g.ac(61,22),g.Vb(),g.Sc(62,"\n "),g.Sc(63,"\n "),g.Vb(),g.Sc(64,"\n "),g.Vb(),g.Sc(65,"\n "),g.Vb(),g.Sc(66,"\n "),g.Vb(),g.Sc(67,"\n\n "),g.Wb(68,"div",23),g.Sc(69,"\n "),g.Sc(70,"\n "),g.Qc(71,Ao,8,0,"div",24),g.Sc(72,"\n "),g.Qc(73,Ro,2,0,"div",24),g.Sc(74,"\n "),g.Qc(75,Vo,35,5,"div",25),g.Sc(76,"\n "),g.Vb(),g.Sc(77,"\n\n "),g.Wb(78,"div",26),g.Sc(79,"\n "),g.Qc(80,Lo,8,0,"div",24),g.Sc(81,"\n "),g.Qc(82,No,2,0,"div",24),g.Sc(83,"\n "),g.Qc(84,Bo,48,7,"div",25),g.Sc(85,"\n "),g.Vb(),g.Sc(86,"\n\n "),g.Wb(87,"swiper",27),g.Sc(88,"\n "),g.Qc(89,Ho,1,0,void 0,28),g.Sc(90,"\n "),g.Vb(),g.Sc(91,"\n "),g.Vb(),g.Sc(92,"\n"),g.Vb(),g.Sc(93,"\n")),2&e&&(g.Cb(2),g.wc("ngClass",g.Ac(13,Uo)),g.Cb(69),g.wc("ngIf","zh-CN"!==t.lang),g.Cb(2),g.wc("ngIf","zh-CN"===t.lang),g.Cb(2),g.wc("ngIf",t.buyerData),g.Cb(5),g.wc("ngIf","zh-CN"!==t.lang),g.Cb(2),g.wc("ngIf","zh-CN"===t.lang),g.Cb(2),g.wc("ngIf",t.sellerData),g.Cb(3),g.wc("spaceBetween",85)("freeMode",!0)("freeModeMomentumRatio",.5)("freeModeMomentumVelocityRatio",1)("freeModeMomentumBounceRatio",2),g.Cb(2),g.wc("ngForOf",t.technicalParnter))},directives:[qe.a,o.m,o.o,Mi,o.n,c.h,ar,Di],styles:['.container[_ngcontent-%COMP%]{font-family:Microsoft YaHei}.container[_ngcontent-%COMP%] .common-page-top[_ngcontent-%COMP%]{background-color:#fff}.container[_ngcontent-%COMP%] .common-page-top[_ngcontent-%COMP%] .page-top-content[_ngcontent-%COMP%]{height:300px;width:1180px;margin:0 auto;color:#000;display:flex;align-items:center}.container[_ngcontent-%COMP%] .common-page-top[_ngcontent-%COMP%] .page-top-content[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{position:relative}.container[_ngcontent-%COMP%] .common-page-top[_ngcontent-%COMP%] .page-top-content[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .bef[_ngcontent-%COMP%]{position:absolute;width:1px;height:64px;background:#000;left:-38px;top:12px}.container[_ngcontent-%COMP%] .common-page-top[_ngcontent-%COMP%] .page-top-content[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .bef[_ngcontent-%COMP%]:before{display:inline-block;content:"";position:absolute;width:6px;height:6px;border-radius:6px;background:#000;left:-3px;top:-3px}.container[_ngcontent-%COMP%] .common-page-top[_ngcontent-%COMP%] .page-top-content[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:34px;font-weight:700;line-height:46px}.container[_ngcontent-%COMP%] .common-page-top[_ngcontent-%COMP%] .page-top-content[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .dec[_ngcontent-%COMP%]{margin-top:10px;font-size:15px;font-weight:400;line-height:24px;color:#aaa;width:526px}.container[_ngcontent-%COMP%] .join-body[_ngcontent-%COMP%] .type[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{display:flex;margin-bottom:0}.container[_ngcontent-%COMP%] .join-body[_ngcontent-%COMP%] .type[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{flex:1;color:#fff;position:relative;background-image:url(https://dsimage.didatravel.com/v2-app/images/home/Join/t&a.png);background-position:50%;background-repeat:no-repeat;background-size:cover;height:260px;display:flex;align-items:center;justify-content:center}.container[_ngcontent-%COMP%] .join-body[_ngcontent-%COMP%] .type[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.join-body_hotel[_ngcontent-%COMP%]{background-image:url(https://dsimage.didatravel.com/v2-app/images/home/Join/hotel.png)}.container[_ngcontent-%COMP%] .join-body[_ngcontent-%COMP%] .type[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.join-body_flight[_ngcontent-%COMP%]{background-image:url(https://dsimage.didatravel.com/v2-app/images/home/Join/flight.png)}.container[_ngcontent-%COMP%] .join-body[_ngcontent-%COMP%] .type[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.join-body_t_a[_ngcontent-%COMP%]{background-image:url(https://dsimage.didatravel.com/v2-app/images/home/Join/t&a.png)}.container[_ngcontent-%COMP%] .join-body[_ngcontent-%COMP%] .type[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .nav-area[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;transition:all .3s}.container[_ngcontent-%COMP%] .join-body[_ngcontent-%COMP%] .type[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:24px;font-weight:700;line-height:29px}.container[_ngcontent-%COMP%] .join-body[_ngcontent-%COMP%] .type[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%]{font-size:13px;line-height:16px;font-weight:400;margin-top:15px;opacity:.9;padding:0 30px}.container[_ngcontent-%COMP%] .join-body[_ngcontent-%COMP%] .type[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .arrow[_ngcontent-%COMP%]{width:64px;height:64px;border-radius:64px;margin-top:30px}.container[_ngcontent-%COMP%] .join-body[_ngcontent-%COMP%] .join-area[_ngcontent-%COMP%]{margin:0 auto;background:#21060f;color:#fff}.container[_ngcontent-%COMP%] .join-body[_ngcontent-%COMP%] .join-area[_ngcontent-%COMP%] > .title[_ngcontent-%COMP%]{height:120px;background:50% url(https://dsimage.didatravel.com/v2-app/images/home/Join/buyer_bg.png) no-repeat;background-size:cover;color:#fff;font-size:28px;line-height:120px;text-align:center}.container[_ngcontent-%COMP%] .join-body[_ngcontent-%COMP%] .join-area[_ngcontent-%COMP%] > .title[_ngcontent-%COMP%] .title_en[_ngcontent-%COMP%]{transform:skewX(-10deg)}.container[_ngcontent-%COMP%] .join-body[_ngcontent-%COMP%] .join-area[_ngcontent-%COMP%] > .title[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{padding:6px 0;border-bottom:2px solid #fff}.container[_ngcontent-%COMP%] .join-body[_ngcontent-%COMP%] .join-area.join-seller[_ngcontent-%COMP%] > .title[_ngcontent-%COMP%]{background:50% url(https://dsimage.didatravel.com/v2-app/images/home/Join/seller_bg.png) no-repeat}.container[_ngcontent-%COMP%] .join-body[_ngcontent-%COMP%] .join-area.join-seller[_ngcontent-%COMP%] .join-btn[_ngcontent-%COMP%]{margin-bottom:0!important}.container[_ngcontent-%COMP%] .join-body[_ngcontent-%COMP%] .join-area[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{width:1180px;margin:0 auto;text-align:center}.container[_ngcontent-%COMP%] .join-body[_ngcontent-%COMP%] .join-area[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .join-btn[_ngcontent-%COMP%]{display:inline-block;padding:0 32px;height:46px;line-height:46px;background:#e11e56;border-radius:32px;font-size:16px;font-weight:600;text-align:center;margin:22px auto 70px;cursor:pointer;transition:all .3s}.container[_ngcontent-%COMP%] .join-body[_ngcontent-%COMP%] .join-area[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .join-btn[_ngcontent-%COMP%]:hover{background:#fff;color:#e11e56}.container[_ngcontent-%COMP%] .join-body[_ngcontent-%COMP%] .join-area[_ngcontent-%COMP%] .content-top[_ngcontent-%COMP%]{padding:78px 0 68px;border-bottom:1px dashed hsla(0,0%,100%,.5);display:flex;justify-content:space-between;text-align:left}.container[_ngcontent-%COMP%] .join-body[_ngcontent-%COMP%] .join-area[_ngcontent-%COMP%] .content-top[_ngcontent-%COMP%] .dida[_ngcontent-%COMP%]{width:490px;padding-top:25px}.container[_ngcontent-%COMP%] .join-body[_ngcontent-%COMP%] .join-area[_ngcontent-%COMP%] .content-top[_ngcontent-%COMP%] .dida[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{font-size:15px;font-weight:300;line-height:30px}.container[_ngcontent-%COMP%] .join-body[_ngcontent-%COMP%] .join-area[_ngcontent-%COMP%] .content-top[_ngcontent-%COMP%] .dida[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]:first-child{font-size:26px;font-weight:500}.container[_ngcontent-%COMP%] .join-body[_ngcontent-%COMP%] .join-area[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%]{border-bottom:1px dashed hsla(0,0%,100%,.5);padding:78px 0 68px}.container[_ngcontent-%COMP%] .join-body[_ngcontent-%COMP%] .join-area[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{display:flex;margin-bottom:0;flex-wrap:wrap}.container[_ngcontent-%COMP%] .join-body[_ngcontent-%COMP%] .join-area[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] ul.sellAdvantage[_ngcontent-%COMP%]{width:590px}.container[_ngcontent-%COMP%] .join-body[_ngcontent-%COMP%] .join-area[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] ul.sellAdvantage[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{width:50%}.container[_ngcontent-%COMP%] .join-body[_ngcontent-%COMP%] .join-area[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] ul.sellAdvantage[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:nth-child(3), .container[_ngcontent-%COMP%] .join-body[_ngcontent-%COMP%] .join-area[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] ul.sellAdvantage[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:nth-child(4){margin-top:27px}.container[_ngcontent-%COMP%] .join-body[_ngcontent-%COMP%] .join-area[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:flex;height:120px;align-items:center;width:25%}.container[_ngcontent-%COMP%] .join-body[_ngcontent-%COMP%] .join-area[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .circle[_ngcontent-%COMP%]{width:74px;height:74px;border-radius:74px;background:#fff;line-height:74px;font-size:18px;font-weight:700;text-align:center;flex-shrink:0;color:#21060f}.container[_ngcontent-%COMP%] .join-body[_ngcontent-%COMP%] .join-area[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .tip[_ngcontent-%COMP%]{margin:0 32px 0 14px;font-size:15px;font-weight:300;color:#fff;text-align:left}.container[_ngcontent-%COMP%] .join-body[_ngcontent-%COMP%] .join-area[_ngcontent-%COMP%] .connection[_ngcontent-%COMP%]{display:flex;color:#fff;text-align:left}.container[_ngcontent-%COMP%] .join-body[_ngcontent-%COMP%] .join-area[_ngcontent-%COMP%] .connection[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{margin-right:60px}.container[_ngcontent-%COMP%] .join-body[_ngcontent-%COMP%] .join-area[_ngcontent-%COMP%] .connection[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:32px;font-weight:700;width:461px;line-height:40px;margin-top:96px}.container[_ngcontent-%COMP%] .join-body[_ngcontent-%COMP%] .join-area[_ngcontent-%COMP%] .connection[_ngcontent-%COMP%] .split-line[_ngcontent-%COMP%]{width:26px;height:1px;background:#fff;margin:30px 0}.container[_ngcontent-%COMP%] .join-body[_ngcontent-%COMP%] .join-area[_ngcontent-%COMP%] .connection[_ngcontent-%COMP%] .sub-title[_ngcontent-%COMP%]{font-size:18px;line-height:32px;font-weight:500;margin-top:96px}.container[_ngcontent-%COMP%] .join-body[_ngcontent-%COMP%] .join-area[_ngcontent-%COMP%] .connection[_ngcontent-%COMP%] .desc[_ngcontent-%COMP%]{font-size:14px;line-height:24px;height:144;width:540px;overflow:hidden;text-overflow:ellipsis;margin:12px 0 38px;opacity:.7}.container[_ngcontent-%COMP%] .join-body[_ngcontent-%COMP%] .partner-swiper[_ngcontent-%COMP%]{padding:120px 100px;background:#21060f}.container[_ngcontent-%COMP%] .join-body[_ngcontent-%COMP%] .partner-swiper[_ngcontent-%COMP%] .partner-item[_ngcontent-%COMP%]{width:150px;height:64px}.container[_ngcontent-%COMP%] .join-body[_ngcontent-%COMP%] .partner-swiper[_ngcontent-%COMP%] .partner-item[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%;border-radius:4px} .partner-slide{width:auto}']}),e})();var Qo=n("iPdJ");function Go(e,t){if(1&e){const e=g.Xb();g.Wb(0,"nd-markdown-doc",3),g.lc("ndDocLoaded",function(t){return g.Hc(e),g.oc().onMdDocLoaded(t)}),g.Sc(1,"\n "),g.Vb()}if(2&e){const e=t.ngIf;g.wc("ndFileName",e.type)("ndLang",e.lang)("ndIgnoreLang",e.ignoreLang)}}let Yo=(()=>{class e extends r.n{constructor(e,t){super(),this.route=e,this.title=t,this.version=+new Date}ngOnInit(){super.ngOnInit(),this.policyDocInfo$=new It.a(this.getPolicyDocInfo()),this.subscriptions.routeParamMap=this.route.url.subscribe(()=>{this.policyDocInfo$.next(this.getPolicyDocInfo())})}onMdDocLoaded(e){this.fileTitle=e.title}getPolicyDocInfo(){const e=this.route.snapshot,t=e.params.type.replace("|","/"),n=e.queryParams.lang;return{type:t,lang:n,ignoreLang:""===n}}}return e.\u0275fac=function(t){return new(t||e)(g.Qb(c.a),g.Qb(i.d))},e.\u0275cmp=g.Kb({type:e,selectors:[["dida-policy"]],features:[g.zb],decls:12,vars:4,consts:[[3,"ndTitle"],[1,"dida-policy-doc"],[3,"ndFileName","ndLang","ndIgnoreLang","ndDocLoaded",4,"ngIf"],[3,"ndFileName","ndLang","ndIgnoreLang","ndDocLoaded"]],template:function(e,t){1&e&&(g.Sc(0,"\n "),g.Wb(1,"nd-panel"),g.Sc(2,"\n "),g.Rb(3,"nd-page-meta",0),g.Sc(4,"\n "),g.Wb(5,"div",1),g.Sc(6,"\n "),g.Qc(7,Go,2,3,"nd-markdown-doc",2),g.pc(8,"async"),g.Sc(9,"\n "),g.Vb(),g.Sc(10,"\n "),g.Vb(),g.Sc(11,"\n ")),2&e&&(g.Cb(3),g.wc("ndTitle",t.fileTitle),g.Cb(4),g.wc("ngIf",g.qc(8,2,t.policyDocInfo$)))},directives:[jt.a,qe.a,o.o,Qo.a],pipes:[o.b],encapsulation:2,changeDetection:0}),e})();const Ko=function(e,t){return{height:e,width:t}};let Xo=(()=>{class e{constructor(e,t,n){this.titleService=e,this.route=t,this.sanitizer=n}resize(){this.availHeight=screen.availHeight+"px",this.availWidth=screen.availWidth+"px"}onContentLoad(e){this.titleService.setTitle(e.target.contentDocument.title)}ngOnInit(){this.availHeight=screen.availHeight+"px",this.availWidth=screen.availWidth+"px";let e=`https://dsimage.didatravel.com/StaticPages/${this.route.snapshot.params.alias}`;Object(g.X)()&&(e=`/assets/pages/${this.route.snapshot.params.alias}`),this.targetUrl=this.sanitizer.bypassSecurityTrustResourceUrl(e+"?_t="+Date.now())}}return e.\u0275fac=function(t){return new(t||e)(g.Qb(i.d),g.Qb(c.a),g.Qb(i.b))},e.\u0275cmp=g.Kb({type:e,selectors:[["app-static-page"]],hostBindings:function(e,t){1&e&&g.lc("resize",function(){return t.resize()})},decls:2,vars:5,consts:[["frameborder","0",1,"content-window",3,"ngStyle","src","load"]],template:function(e,t){1&e&&(g.Wb(0,"iframe",0),g.lc("load",function(e){return t.onContentLoad(e)}),g.Vb(),g.Sc(1,"\n")),2&e&&g.wc("ngStyle",g.Cc(2,Ko,t.availHeight,t.availWidth))("src",t.targetUrl,g.Jc)},directives:[o.p],styles:[".content-window[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;right:0;left:0}"]}),e})();var qo=n("K9Ic"),Jo=n("GSp9"),Zo=n("Etcd");const es=[{path:"home",children:[{path:"",component:Lr,data:{layoutType:"body-fluid",navFloat:!0},canActivate:[r.k]},{path:"partner-with-us",component:$o,data:{layoutType:"body-fluid"},canActivate:[r.k]},{path:"news",component:Io},{path:"media",component:ro,data:{layoutType:"body-fluid"},canActivate:[r.k]},{path:"news/:id",component:To},{path:"doc/:type",redirectTo:"/policy/:type"},{path:"static/:alias",component:Xo,data:{hideLayout:!0,responsive:!0}},{component:qt,path:"faq",data:{theme:"island"}},{component:(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=g.Kb({type:e,selectors:[["dida-shopping-flight"]],decls:256,vars:0,consts:[["ndTitle","Air Ticket"],[1,"banner",2,"min-height","500px"],["ndOssSrc","/v2-app/images/air-ticket/jipiao_banner.png"],[1,"header-section"],[1,"container"],["nz-row","","nzGutter","165",1,"header-content"],["nz-col","","nzFlex","1"],[1,"ring"],[2,"margin-top","70px"],[1,"section-title","square"],[2,"margin-bottom","85px"],["nz-col",""],["ndOssSrc","/v2-app/images/air-ticket/jipiao_data_cube.png","alt","",2,"width","586px"],[1,"nd-text-center"],[1,"section-title","dash","nd-text-center"],[1,"section-subtitle"],[1,"feature-wrapper"],[1,"feature-box"],["nz-row",""],["nz-col","","nzFlex","1",1,"feature-list"],[1,"feature-list-item"],[1,"procedure-section"],["nz-row","",1,"nd-text-center","procedure-list"],["nz-col","","nzFlex","1",1,"procedure-item"],[1,"procedure-circle"],["ndOssSrc","/v2-app/images/air-ticket/jipiao_arrow.png","alt","",1,"procedure-arrow"],[1,"procedure-desc"],[1,"procedure-circle","even"],[1,"partner-section"],["nz-row","","nzGutter","60"],["ndOssSrc","/v2-app/images/air-ticket/jipiao_image_bottom.png","alt","",1,"left-img"],[2,"display","flex","flex-direction","column","justify-content","space-between","height","100%"],[2,"flex","1"],[1,"section-title"],[1,"nd-text-active"],["href","mailto:flight-bd@didatravel.com"],["href","https://doc.didatravel.com/ui/index.html?projectID=5&Lang=EN","download","Dida Flight API v0.0.1_EN.pdf",1,"explore-btn"],["nz-icon","","nzType","nd:history-next_active",1,"history__nav-icon","history__nav-icon_active",2,"float","right","margin-top","12px"]],template:function(e,t){1&e&&(g.Rb(0,"nd-page-meta",0),g.Sc(1,"\n"),g.Wb(2,"div",1),g.Sc(3,"\n "),g.Rb(4,"img",2),g.Sc(5,"\n"),g.Vb(),g.Sc(6,"\n\n"),g.Wb(7,"section",3),g.Sc(8,"\n "),g.Wb(9,"div",4),g.Sc(10,"\n "),g.Wb(11,"div",5),g.Sc(12,"\n "),g.Wb(13,"div",6),g.Sc(14,"\n "),g.Rb(15,"div",7),g.Sc(16,"\n "),g.Rb(17,"div",8),g.Sc(18,"\n "),g.Wb(19,"h4",9),g.Sc(20,"Didatravel \u2013 Air"),g.Vb(),g.Sc(21,"\n "),g.Wb(22,"p",10),g.Sc(23,"\n Our API is an integration solution that empowers travel agents to ticket from a\n "),g.Wb(24,"b"),g.Sc(25,"largest global air fare consolidation"),g.Vb(),g.Sc(26,". It can be integrated into the existing booking tools (Travel\n Portals, OTA, Meta Search Engines and Apps) of the business partners.\n "),g.Vb(),g.Sc(27,"\n "),g.Wb(28,"h4",9),g.Sc(29,"Good Profit Margins And Optimal Policies"),g.Vb(),g.Sc(30,"\n "),g.Wb(31,"p"),g.Sc(32,"\n By offering Chinese airlines directly connected products, our airfare business has substantial and\n "),g.Wb(33,"b"),g.Sc(34,"incremental profit margin"),g.Vb(),g.Sc(35,", providing standard and "),g.Wb(36,"b"),g.Sc(37,"same refund/exchange policy"),g.Vb(),g.Sc(38," as the airlines\u2019\n official website booking.\n "),g.Vb(),g.Sc(39,"\n "),g.Vb(),g.Sc(40,"\n "),g.Wb(41,"div",11),g.Sc(42,"\n "),g.Rb(43,"img",12),g.Sc(44,"\n "),g.Vb(),g.Sc(45,"\n "),g.Vb(),g.Sc(46,"\n "),g.Vb(),g.Sc(47,"\n"),g.Vb(),g.Sc(48,"\n\n"),g.Wb(49,"section"),g.Sc(50,"\n "),g.Wb(51,"div",4),g.Sc(52,"\n "),g.Wb(53,"div",13),g.Sc(54,"\n "),g.Wb(55,"h4",14),g.Sc(56,"Exclusive And Leading In Industry"),g.Vb(),g.Sc(57,"\n "),g.Wb(58,"p",15),g.Sc(59,"\n Our API Service Can Be Integrated Into The Existing Booking Tools Of The Business Partners\n "),g.Vb(),g.Sc(60,"\n "),g.Vb(),g.Sc(61,"\n "),g.Wb(62,"p"),g.Sc(63,"\n We strongly recommended that you read through the complete guide before integration. The aim is to outline the\n "),g.Wb(64,"b"),g.Sc(65,"key stages of the integration cycle"),g.Vb(),g.Sc(66," and to furnish you with relevant information. This API document is a\n "),g.Wb(67,"b"),g.Sc(68,"preliminary release"),g.Vb(),g.Sc(69," and may be changed prior to final commercial release. By "),g.Wb(70,"b"),g.Sc(71,"XML connectivity"),g.Vb(),g.Sc(72,", as\n our partner, you could get real time access to "),g.Wb(73,"b"),g.Sc(74,"lowest fare"),g.Vb(),g.Sc(75," across the globe. Also,\n "),g.Wb(76,"b"),g.Sc(77,"24/7 premium customer services"),g.Vb(),g.Sc(78," and technical support are provided.\n "),g.Vb(),g.Sc(79,"\n "),g.Vb(),g.Sc(80,"\n"),g.Vb(),g.Sc(81,"\n\n"),g.Wb(82,"section"),g.Sc(83,"\n "),g.Wb(84,"div",4),g.Sc(85,"\n "),g.Wb(86,"h4",14),g.Sc(87,"Get Access To Integration Features"),g.Vb(),g.Sc(88,"\n "),g.Wb(89,"div",16),g.Sc(90,"\n "),g.Rb(91,"div",7),g.Sc(92,"\n "),g.Wb(93,"div",17),g.Sc(94,"\n "),g.Wb(95,"div",18),g.Sc(96,"\n "),g.Wb(97,"div",19),g.Sc(98,"\n "),g.Wb(99,"div"),g.Sc(100,"\n "),g.Wb(101,"div",20),g.Wb(102,"b"),g.Sc(103,"Smart"),g.Vb(),g.Sc(104," Shopping Engine"),g.Vb(),g.Sc(105,"\n "),g.Wb(106,"div",20),g.Sc(107,"Improved "),g.Wb(108,"b"),g.Sc(109,"Efficiency"),g.Vb(),g.Vb(),g.Sc(110,"\n "),g.Wb(111,"div",20),g.Wb(112,"b"),g.Sc(113,"Multi-GDS"),g.Vb(),g.Sc(114," Integrated"),g.Vb(),g.Sc(115,"\n "),g.Vb(),g.Sc(116,"\n "),g.Vb(),g.Sc(117,"\n "),g.Wb(118,"div",19),g.Sc(119,"\n "),g.Wb(120,"div"),g.Sc(121,"\n "),g.Wb(122,"div",20),g.Wb(123,"b"),g.Sc(124,"Increased Margin"),g.Vb(),g.Vb(),g.Sc(125,"\n "),g.Wb(126,"div",20),g.Sc(127,"Searching Booking Ticketing "),g.Wb(128,"b"),g.Sc(129,"Automation"),g.Vb(),g.Vb(),g.Sc(130,"\n "),g.Wb(131,"div",20),g.Wb(132,"b"),g.Sc(133,"Simple"),g.Vb(),g.Sc(134," Connection"),g.Vb(),g.Sc(135,"\n "),g.Vb(),g.Sc(136,"\n "),g.Vb(),g.Sc(137,"\n "),g.Vb(),g.Sc(138,"\n "),g.Vb(),g.Sc(139,"\n "),g.Vb(),g.Sc(140,"\n "),g.Vb(),g.Sc(141,"\n"),g.Vb(),g.Sc(142,"\n\n"),g.Wb(143,"section",21),g.Sc(144,"\n "),g.Wb(145,"div",4),g.Sc(146,"\n "),g.Wb(147,"h4",14),g.Sc(148,"Procedure"),g.Vb(),g.Sc(149,"\n\n "),g.Wb(150,"div",22),g.Sc(151,"\n "),g.Wb(152,"div",23),g.Sc(153,"\n "),g.Wb(154,"div",24),g.Sc(155,"1"),g.Vb(),g.Sc(156,"\n "),g.Rb(157,"img",25),g.Sc(158,"\n "),g.Wb(159,"div",26),g.Sc(160,"NDA, Client Agreement & SLA"),g.Vb(),g.Sc(161,"\n "),g.Vb(),g.Sc(162,"\n "),g.Wb(163,"div",23),g.Sc(164,"\n "),g.Wb(165,"div",27),g.Sc(166,"2"),g.Vb(),g.Sc(167,"\n "),g.Rb(168,"img",25),g.Sc(169,"\n "),g.Wb(170,"div",26),g.Sc(171,"Client Questionnaire"),g.Vb(),g.Sc(172,"\n "),g.Vb(),g.Sc(173,"\n "),g.Wb(174,"div",23),g.Sc(175,"\n "),g.Wb(176,"div",24),g.Sc(177,"3"),g.Vb(),g.Sc(178,"\n "),g.Rb(179,"img",25),g.Sc(180,"\n "),g.Wb(181,"div",26),g.Sc(182,"API Doc & Test Credential"),g.Vb(),g.Sc(183,"\n "),g.Vb(),g.Sc(184,"\n "),g.Wb(185,"div",23),g.Sc(186,"\n "),g.Wb(187,"div",27),g.Sc(188,"4"),g.Vb(),g.Sc(189,"\n "),g.Rb(190,"img",25),g.Sc(191,"\n "),g.Wb(192,"div",26),g.Sc(193,"Pre-Production Test"),g.Vb(),g.Sc(194,"\n "),g.Vb(),g.Sc(195,"\n "),g.Wb(196,"div",23),g.Sc(197,"\n "),g.Wb(198,"div",24),g.Sc(199,"5"),g.Vb(),g.Sc(200,"\n "),g.Wb(201,"div",26),g.Sc(202,"Go Live!"),g.Vb(),g.Sc(203,"\n "),g.Vb(),g.Sc(204,"\n "),g.Vb(),g.Sc(205,"\n "),g.Vb(),g.Sc(206,"\n"),g.Vb(),g.Sc(207,"\n\n"),g.Wb(208,"section",28),g.Sc(209,"\n "),g.Wb(210,"div",4),g.Sc(211,"\n "),g.Wb(212,"div",29),g.Sc(213,"\n "),g.Wb(214,"div",11),g.Sc(215,"\n "),g.Rb(216,"img",30),g.Sc(217,"\n "),g.Vb(),g.Sc(218,"\n "),g.Wb(219,"div",6),g.Sc(220,"\n "),g.Wb(221,"div",31),g.Sc(222,"\n "),g.Wb(223,"div",32),g.Sc(224,"\n "),g.Wb(225,"h5",33),g.Wb(226,"span",34),g.Sc(227,"Hi Partners,"),g.Vb(),g.Vb(),g.Sc(228,"\n "),g.Wb(229,"p"),g.Sc(230,"\n If your commercial team has not yet signed an agreement with DidaTravel Air team, but you are about to\n embark on the integration work in parallel, please notify \u201c"),g.Wb(231,"a",35),g.Sc(232,"flight-bd@didatravel.com"),g.Vb(),g.Sc(233,"\u201d prior to doing so.\n "),g.Vb(),g.Sc(234,"\n "),g.Wb(235,"p"),g.Sc(236,"\n For commercial related issues, please contact\n "),g.Wb(237,"a",35),g.Sc(238,"flight-bd@didatravel.com"),g.Vb(),g.Sc(239,".\n "),g.Vb(),g.Sc(240,"\n "),g.Sc(241,"\n "),g.Vb(),g.Sc(242,"\n "),g.Wb(243,"div"),g.Sc(244,"\n "),g.Wb(245,"a",36),g.Sc(246,"\n Explore The API\n "),g.Rb(247,"i",37),g.Sc(248,"\n "),g.Vb(),g.Sc(249,"\n "),g.Vb(),g.Sc(250,"\n "),g.Vb(),g.Sc(251,"\n "),g.Vb(),g.Sc(252,"\n "),g.Vb(),g.Sc(253,"\n "),g.Vb(),g.Sc(254,"\n"),g.Vb(),g.Sc(255,"\n"))},directives:[qe.a,nt.a,b.c,b.a,X.a,tt.a,m.a],styles:['.container[_ngcontent-%COMP%]{width:1180px;margin:0 auto}section[_ngcontent-%COMP%]{padding:100px 0}section[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:14px;line-height:26px}section[_ngcontent-%COMP%] .section-title[_ngcontent-%COMP%]{position:relative;font-size:32px;line-height:40px;font-weight:900;color:#1f2b4b;margin-bottom:30px}section[_ngcontent-%COMP%] .section-title.dash[_ngcontent-%COMP%]:after{content:"";display:block;width:74px;border-bottom:2px solid #f32a4e;margin:20px auto 30px}section[_ngcontent-%COMP%] .section-title.square[_ngcontent-%COMP%]:after{content:"";position:absolute;top:-2px;left:-12px;height:14px;width:14px;background-color:#ff0364;display:inline-block}section[_ngcontent-%COMP%] .section-subtitle[_ngcontent-%COMP%]{line-height:27px;font-size:20px;font-weight:300;color:#1f2b4b;margin-bottom:30px}section[_ngcontent-%COMP%]:nth-child(2n){background-color:#f3f9fc;padding:80px 0}.header-content[_ngcontent-%COMP%]{position:relative}.header-content[_ngcontent-%COMP%] .ring[_ngcontent-%COMP%]{position:absolute;top:-80px;left:-86px}.feature-wrapper[_ngcontent-%COMP%]{position:relative}.feature-wrapper[_ngcontent-%COMP%] .ring[_ngcontent-%COMP%]{position:absolute;top:-100px;right:-136px}.feature-wrapper[_ngcontent-%COMP%]:before{content:"";display:block;background-color:#f2f8fa;width:100%;height:100%;position:absolute;z-index:0;top:20px;left:20px}.feature-wrapper[_ngcontent-%COMP%] .feature-box[_ngcontent-%COMP%]{padding:40px 0;border:1px solid #dfdfdf;position:relative;z-index:1;background:#fff}.feature-wrapper[_ngcontent-%COMP%] .feature-box[_ngcontent-%COMP%] .feature-list[_ngcontent-%COMP%]{padding-left:86px}.feature-wrapper[_ngcontent-%COMP%] .feature-box[_ngcontent-%COMP%] .feature-list[_ngcontent-%COMP%] .feature-list-item[_ngcontent-%COMP%]:before{content:"";display:inline-block;margin-top:.5em;margin-right:20px;height:10px;width:10px;border-radius:10px;background-color:#f32a4e}.feature-wrapper[_ngcontent-%COMP%] .feature-box[_ngcontent-%COMP%] .feature-list[_ngcontent-%COMP%] .feature-list-item[_ngcontent-%COMP%] + .feature-list-item[_ngcontent-%COMP%]{margin-top:45px}.feature-wrapper[_ngcontent-%COMP%] .feature-box[_ngcontent-%COMP%] .feature-list[_ngcontent-%COMP%] + .feature-list[_ngcontent-%COMP%]{border-left:1px solid #d4d4d4}.procedure-section[_ngcontent-%COMP%]{text-align:center}.procedure-section[_ngcontent-%COMP%] .procedure-list[_ngcontent-%COMP%]{margin-top:50px}.procedure-section[_ngcontent-%COMP%] .procedure-circle[_ngcontent-%COMP%]{display:inline-block;font-size:22px;line-height:56px;color:#fff;height:56px;width:56px;border-radius:56px;background-color:#392d8e}.procedure-section[_ngcontent-%COMP%] .procedure-circle.even[_ngcontent-%COMP%]{background-color:#f32a4e}.procedure-section[_ngcontent-%COMP%] .procedure-desc[_ngcontent-%COMP%]{width:165px;font-weight:400;color:#232f4e;font-size:20px;line-height:24px;margin:24px auto 0}.procedure-section[_ngcontent-%COMP%] .procedure-item[_ngcontent-%COMP%]{position:relative}.procedure-section[_ngcontent-%COMP%] .procedure-item[_ngcontent-%COMP%] .procedure-arrow[_ngcontent-%COMP%]{position:absolute;margin-top:25px;margin-left:20px}.partner-section[_ngcontent-%COMP%] .left-img[_ngcontent-%COMP%]{width:344px;margin-top:-10px;margin-right:-10px}.partner-section[_ngcontent-%COMP%] .section-title[_ngcontent-%COMP%]{font-size:20px;line-height:28px;font-weight:500;color:#f32a4e}.partner-section[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:30px}.partner-section[_ngcontent-%COMP%] .explore-btn[_ngcontent-%COMP%]{cursor:pointer;display:inline-block;width:300px;height:50px;line-height:48px;font-size:24px;font-weight:500;text-align:center;color:#fff;padding:0 20px;background-color:#f32a4e}.ring[_ngcontent-%COMP%]{display:inline-block;position:relative;height:220px;width:220px;border:25px solid #ffb41a;border-radius:220px}']}),e})(),path:"flight",data:{layoutType:"body-fluid"}}],canActivate:[r.k],data:{layoutType:"normal",hideSideToolkit:!0}},{component:Yo,path:"policy/:type",data:{theme:"island",layoutType:"normal"},canActivate:[r.k]},{path:"help",data:{theme:"island",layoutType:"normal"},loadChildren:()=>n.e(12).then(n.bind(null,"7lH/")).then(e=>e.HelpModule),canActivate:[r.k]},{path:"error/:code",component:Mt,data:{layoutType:"normal"},canActivate:[r.k]},{path:"**",redirectTo:"home"},{path:"",redirectTo:"/home",pathMatch:"full"}];let ts=(()=>{class e{}return e.\u0275mod=g.Ob({type:e,bootstrap:[zt]}),e.\u0275inj=g.Nb({factory:function(t){return new(t||e)},providers:[r.a,r.b],imports:[[i.a,a.b,s.k,s.t,o.c,Fr.b,h.d,X.b,Yi.b,l.e,Xe.d.forRoot({pageTracking:{clearIds:!0,clearQueryParams:!0,idsRegExp:new RegExp("^\\d+$|^(DHB|STM)\\d+$","i")}}),c.k.forRoot(es,{initialNavigation:"enabled",scrollPositionRestoration:"enabled",anchorScrolling:"enabled",relativeLinkResolution:"legacy"}),r.C.forRoot({appName:"home-app",defaultPath:"/"}),k.a,j,P.a,L.b,B.a,B.a,I,I,Ye,N.a,Le,V.a,Ke,Jo.a,qo.a,T,Fe.a,Ne.a,F.a,_o,Rt.e,Gi,d.c,u.d,Zo.c,b.b,Ii,q.d]]}),e})();n("Enxc");const ns={appEnv:{production:!0,localDebug:!1,proxyEnabled:!1,ignoreBuildNumber:!1,localeCookieName:"dida-locale",oldSite:"v1.didatravel.com",service:{endpoint:"https://shoppingwebapi.didatravel.com"},assetsBase:"https://dsimage.didatravel.com/webapp-assets/",googleMap:{apiHost:"//ditu.google.cn",apiKey:"AIzaSyDK9ZspgnjH6AQi2iRrZNtJX4Xl-MPu6-g"}},boosterBuilder:e=>i.e(e.providers).bootstrapModule(ts,e),translationResolver:e=>n("ggBN")(`./messages(${e}).json`).then(e=>e.default),siteRouteJsonResolver:()=>n("O9QJ")};Object(r.J)(ns).then(()=>{console.log("app started")})},ejfv:function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return o});const i=["moz","ms","webkit"];function r(e){if("undefined"==typeof window)return null;if(window.cancelAnimationFrame)return window.cancelAnimationFrame(e);const t=i.filter(e=>`${e}CancelAnimationFrame`in window||`${e}CancelRequestAnimationFrame`in window)[0];return t?(window[`${t}CancelAnimationFrame`]||window[`${t}CancelRequestAnimationFrame`]).call(this,e):clearTimeout(e)}const o=function(){if("undefined"==typeof window)return()=>0;if(window.requestAnimationFrame)return window.requestAnimationFrame.bind(window);const e=i.filter(e=>`${e}RequestAnimationFrame`in window)[0];return e?window[`${e}RequestAnimationFrame`]:function(){let e=0;return function(t){const n=(new Date).getTime(),i=Math.max(0,16-(n-e)),r=setTimeout(()=>{t(n+i)},i);return e=n+i,r}}()}()},fXoL:function(e,t,n){"use strict";n.d(t,"a",function(){return dn}),n.d(t,"b",function(){return Ku}),n.d(t,"c",function(){return Uu}),n.d(t,"d",function(){return Wu}),n.d(t,"e",function(){return Hu}),n.d(t,"f",function(){return Hd}),n.d(t,"g",function(){return Id}),n.d(t,"h",function(){return Al}),n.d(t,"i",function(){return ad}),n.d(t,"j",function(){return rl}),n.d(t,"k",function(){return Ju}),n.d(t,"l",function(){return cl}),n.d(t,"m",function(){return Ai}),n.d(t,"n",function(){return wu}),n.d(t,"o",function(){return Lo}),n.d(t,"p",function(){return Mn}),n.d(t,"q",function(){return z}),n.d(t,"r",function(){return un}),n.d(t,"s",function(){return es}),n.d(t,"t",function(){return Tl}),n.d(t,"u",function(){return Pl}),n.d(t,"v",function(){return qu}),n.d(t,"w",function(){return Zu}),n.d(t,"x",function(){return $l}),n.d(t,"y",function(){return Rd}),n.d(t,"z",function(){return Ul}),n.d(t,"A",function(){return kd}),n.d(t,"B",function(){return ud}),n.d(t,"C",function(){return In}),n.d(t,"D",function(){return Yu}),n.d(t,"E",function(){return Gu}),n.d(t,"F",function(){return _u}),n.d(t,"G",function(){return dl}),n.d(t,"H",function(){return ul}),n.d(t,"I",function(){return Wi}),n.d(t,"J",function(){return pl}),n.d(t,"K",function(){return zi}),n.d(t,"L",function(){return An}),n.d(t,"M",function(){return Ld}),n.d(t,"N",function(){return Fl}),n.d(t,"O",function(){return md}),n.d(t,"P",function(){return hn}),n.d(t,"Q",function(){return fl}),n.d(t,"R",function(){return Gl}),n.d(t,"S",function(){return M}),n.d(t,"T",function(){return Pd}),n.d(t,"U",function(){return zd}),n.d(t,"V",function(){return p}),n.d(t,"W",function(){return Pn}),n.d(t,"X",function(){return xd}),n.d(t,"Y",function(){return Bd}),n.d(t,"Z",function(){return Cd}),n.d(t,"ab",function(){return Xu}),n.d(t,"bb",function(){return Fo}),n.d(t,"cb",function(){return Ba}),n.d(t,"db",function(){return Oi}),n.d(t,"eb",function(){return si}),n.d(t,"fb",function(){return Yn}),n.d(t,"gb",function(){return Xn}),n.d(t,"hb",function(){return ei}),n.d(t,"ib",function(){return Jn}),n.d(t,"jb",function(){return qn}),n.d(t,"kb",function(){return Zn}),n.d(t,"lb",function(){return Va}),n.d(t,"mb",function(){return Fd}),n.d(t,"nb",function(){return La}),n.d(t,"ob",function(){return Na}),n.d(t,"pb",function(){return Kn}),n.d(t,"qb",function(){return V}),n.d(t,"rb",function(){return us}),n.d(t,"sb",function(){return Rs}),n.d(t,"tb",function(){return Is}),n.d(t,"ub",function(){return As}),n.d(t,"vb",function(){return ja}),n.d(t,"wb",function(){return ze}),n.d(t,"xb",function(){return u}),n.d(t,"yb",function(){return Gn}),n.d(t,"zb",function(){return ns}),n.d(t,"Ab",function(){return ve}),n.d(t,"Bb",function(){return el}),n.d(t,"Cb",function(){return Lr}),n.d(t,"Db",function(){return ms}),n.d(t,"Eb",function(){return ua}),n.d(t,"Fb",function(){return ka}),n.d(t,"Gb",function(){return Pa}),n.d(t,"Hb",function(){return Ea}),n.d(t,"Ib",function(){return aa}),n.d(t,"Jb",function(){return Ru}),n.d(t,"Kb",function(){return Y}),n.d(t,"Lb",function(){return te}),n.d(t,"Mb",function(){return m}),n.d(t,"Nb",function(){return y}),n.d(t,"Ob",function(){return J}),n.d(t,"Pb",function(){return ne}),n.d(t,"Qb",function(){return Ss}),n.d(t,"Rb",function(){return ks}),n.d(t,"Sb",function(){return Ds}),n.d(t,"Tb",function(){return Es}),n.d(t,"Ub",function(){return Ps}),n.d(t,"Vb",function(){return Ts}),n.d(t,"Wb",function(){return zs}),n.d(t,"Xb",function(){return Ms}),n.d(t,"Yb",function(){return sn}),n.d(t,"Zb",function(){return Da}),n.d(t,"ac",function(){return Wc}),n.d(t,"bc",function(){return $c}),n.d(t,"cc",function(){return Hc}),n.d(t,"dc",function(){return Bc}),n.d(t,"ec",function(){return Uc}),n.d(t,"fc",function(){return Qc}),n.d(t,"gc",function(){return Fc}),n.d(t,"hc",function(){return kn}),n.d(t,"ic",function(){return an}),n.d(t,"jc",function(){return Bu}),n.d(t,"kc",function(){return _s}),n.d(t,"lc",function(){return js}),n.d(t,"mc",function(){return ju}),n.d(t,"nc",function(){return St}),n.d(t,"oc",function(){return Bs}),n.d(t,"pc",function(){return fu}),n.d(t,"qc",function(){return gu}),n.d(t,"rc",function(){return bu}),n.d(t,"sc",function(){return mu}),n.d(t,"tc",function(){return yu}),n.d(t,"uc",function(){return Us}),n.d(t,"vc",function(){return Hs}),n.d(t,"wc",function(){return Os}),n.d(t,"xc",function(){return $s}),n.d(t,"yc",function(){return Qs}),n.d(t,"zc",function(){return Gs}),n.d(t,"Ac",function(){return cu}),n.d(t,"Bc",function(){return lu}),n.d(t,"Cc",function(){return uu}),n.d(t,"Dc",function(){return Iu}),n.d(t,"Ec",function(){return ws}),n.d(t,"Fc",function(){return Fi}),n.d(t,"Gc",function(){return Ni}),n.d(t,"Hc",function(){return Qe}),n.d(t,"Ic",function(){return Ti}),n.d(t,"Jc",function(){return Pi}),n.d(t,"Kc",function(){return ki}),n.d(t,"Lc",function(){return Z}),n.d(t,"Mc",function(){return ca}),n.d(t,"Nc",function(){return sa}),n.d(t,"Oc",function(){return Vs}),n.d(t,"Pc",function(){return Ma}),n.d(t,"Qc",function(){return Cs}),n.d(t,"Rc",function(){return Fu}),n.d(t,"Sc",function(){return _a}),n.d(t,"Tc",function(){return Oa}),n.d(t,"Uc",function(){return xa}),n.d(t,"Vc",function(){return za}),n.d(t,"Wc",function(){return Ta}),n.d(t,"Xc",function(){return Au});var i=n("XNiG"),r=n("quSY"),o=n("HDdC"),s=n("VRyK"),a=n("w1tV");function c(e){for(let t in e)if(e[t]===c)return t;throw Error("Could not find renamed property on target object.")}function l(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function u(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(u).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function d(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const h=c({__forward_ref__:c});function p(e){return e.__forward_ref__=p,e.toString=function(){return u(this())},e}function f(e){return g(e)?e():e}function g(e){return"function"==typeof e&&e.hasOwnProperty(h)&&e.__forward_ref__===p}function b(e,t,n,i){throw new Error(`ASSERTION ERROR: ${e}`+(null==i?"":` [Expected=> ${n} ${i} ${t} <=Actual]`))}function m(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function y(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}}function v(e){return C(e,S)||C(e,O)}function C(e,t){return e.hasOwnProperty(t)?e[t]:null}function w(e){return e&&(e.hasOwnProperty(_)||e.hasOwnProperty(x))?e[_]:null}const S=c({"\u0275prov":c}),_=c({"\u0275inj":c}),O=c({ngInjectableDef:c}),x=c({ngInjectorDef:c});var z=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}({});let T;function k(e){const t=T;return T=e,t}function P(e,t,n){const i=v(e);if(i&&"root"==i.providedIn)return void 0===i.value?i.value=i.factory():i.value;if(n&z.Optional)return null;if(void 0!==t)return t;throw new Error(`Injector: NOT_FOUND [${u(e)}]`)}function E(e){return{toString:e}.toString()}var D=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}({}),M=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}({});const I="undefined"!=typeof globalThis&&globalThis,A="undefined"!=typeof window&&window,R="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,j="undefined"!=typeof global&&global,V=I||j||A||R,L={},N=[],F=c({"\u0275cmp":c}),B=c({"\u0275dir":c}),W=c({"\u0275pipe":c}),H=c({"\u0275mod":c}),U=c({"\u0275loc":c}),$=c({"\u0275fac":c}),Q=c({__NG_ELEMENT_ID__:c});let G=0;function Y(e){return E(()=>{const t={},n={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===D.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||N,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||M.Emulated,id:"c",styles:e.styles||N,_:null,setInput:null,schemas:e.schemas||null,tView:null},i=e.directives,r=e.features,o=e.pipes;return n.id+=G++,n.inputs=ee(e.inputs,t),n.outputs=ee(e.outputs),r&&r.forEach(e=>e(n)),n.directiveDefs=i?()=>("function"==typeof i?i():i).map(K):null,n.pipeDefs=o?()=>("function"==typeof o?o():o).map(X):null,n})}function K(e){const t=ie(e)||function(e){return e[B]||null}(e);return t}function X(e){const t=function(e){return e[W]||null}(e);return t}const q={};function J(e){const t={type:e.type,bootstrap:e.bootstrap||N,declarations:e.declarations||N,imports:e.imports||N,exports:e.exports||N,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&E(()=>{q[e.id]=e.type}),t}function Z(e,t){return E(()=>{const n=re(e,!0);n.declarations=t.declarations||N,n.imports=t.imports||N,n.exports=t.exports||N})}function ee(e,t){if(null==e)return L;const n={};for(const i in e)if(e.hasOwnProperty(i)){let r=e[i],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),n[r]=i,t&&(t[r]=o)}return n}const te=Y;function ne(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function ie(e){return e[F]||null}function re(e,t){const n=e[H]||null;if(!n&&!0===t)throw new Error(`Type ${u(e)} does not have '\u0275mod' property.`);return n}const oe=20,se=10;function ae(e){return Array.isArray(e)&&"object"==typeof e[1]}function ce(e){return Array.isArray(e)&&!0===e[1]}function le(e){return 0!=(8&e.flags)}function ue(e){return 2==(2&e.flags)}function de(e){return 1==(1&e.flags)}function he(e){return null!==e.template}function pe(e,t){return e.hasOwnProperty($)?e[$]:null}class fe extends Error{constructor(e,t){super(function(e,t){return`${e?`NG0${e}: `:""}${t}`}(e,t)),this.code=e}}function ge(e){return"string"==typeof e?e:null==e?"":String(e)}function be(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ge(e)}function me(e,t){const n=t?` in ${t}`:"";throw new fe("201",`No provider for ${be(e)} found${n}`)}class ye{constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}}function ve(){return Ce}function Ce(e){return e.type.prototype.ngOnChanges&&(e.setInput=Se),we}function we(){const e=_e(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===L)e.previous=t;else for(let e in t)n[e]=t[e];e.current=null,this.ngOnChanges(t)}}function Se(e,t,n,i){const r=_e(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:L,current:null}),o=r.current||(r.current={}),s=r.previous,a=this.declaredInputs[n],c=s[a];o[a]=new ye(c&&c.currentValue,t,s===L),e[i]=t}function _e(e){return e.__ngSimpleChanges__||null}ve.ngInherit=!0;const Oe="http://www.w3.org/2000/svg";let xe;function ze(e){xe=e}function Te(){return void 0!==xe?xe:"undefined"!=typeof document?document:void 0}function ke(e){return!!e.listen}const Pe={createRenderer:(e,t)=>Te()};function Ee(e){for(;Array.isArray(e);)e=e[0];return e}function De(e,t){return Ee(t[e])}function Me(e,t){return Ee(t[e.index])}function Ie(e,t){return e.data[t]}function Ae(e,t){return e[t]}function Re(e,t){const n=t[e];return ae(n)?n:n[0]}function je(e){const t=function(e){return e.__ngContext__||null}(e);return t?Array.isArray(t)?t:t.lView:null}function Ve(e){return 4==(4&e[2])}function Le(e){return 128==(128&e[2])}function Ne(e,t){return null==t?null:e[t]}function Fe(e){e[18]=0}function Be(e,t){e[5]+=t;let n=e,i=e[3];for(;null!==i&&(1===t&&1===n[5]||-1===t&&0===n[5]);)i[5]+=t,n=i,i=i[3]}const We={lFrame:gt(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function He(){return We.bindingsEnabled}function Ue(){return We.lFrame.lView}function $e(){return We.lFrame.tView}function Qe(e){We.lFrame.contextLView=e}function Ge(){let e=Ye();for(;null!==e&&64===e.type;)e=e.parent;return e}function Ye(){return We.lFrame.currentTNode}function Ke(){const e=We.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Xe(e,t){const n=We.lFrame;n.currentTNode=e,n.isParent=t}function qe(){return We.lFrame.isParent}function Je(){We.lFrame.isParent=!1}function Ze(){return We.isInCheckNoChangesMode}function et(e){We.isInCheckNoChangesMode=e}function tt(){const e=We.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function nt(){return We.lFrame.bindingIndex}function it(){return We.lFrame.bindingIndex++}function rt(e){const t=We.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function ot(e){We.lFrame.inI18n=e}function st(e,t){const n=We.lFrame;n.bindingIndex=n.bindingRootIndex=e,at(t)}function at(e){We.lFrame.currentDirectiveIndex=e}function ct(e){const t=We.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function lt(){return We.lFrame.currentQueryIndex}function ut(e){We.lFrame.currentQueryIndex=e}function dt(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function ht(e,t,n){if(n&z.SkipSelf){let i=t,r=e;for(;i=i.parent,!(null!==i||n&z.Host||(i=dt(r),null===i)||(r=r[15],10&i.type)););if(null===i)return!1;t=i,e=r}const i=We.lFrame=ft();return i.currentTNode=t,i.lView=e,!0}function pt(e){const t=ft(),n=e[1];We.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function ft(){const e=We.lFrame,t=null===e?null:e.child;return null===t?gt(e):t}function gt(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function bt(){const e=We.lFrame;return We.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const mt=bt;function yt(){const e=bt();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function vt(){return We.lFrame.selectedIndex}function Ct(e){We.lFrame.selectedIndex=e}function wt(){const e=We.lFrame;return Ie(e.tView,e.selectedIndex)}function St(){We.lFrame.currentNamespace=Oe}function _t(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n=i)break}else t[a]<0&&(e[18]+=65536),(s>11>16&&(3&e[2])===t&&(e[2]+=2048,o.call(s)):o.call(s)}const Pt=-1;class Et{constructor(e,t,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=n}}function Dt(e,t,n){const i=ke(e);let r=0;for(;rt){s=o-1;break}}}for(;o>16,i=t;for(;n>0;)i=i[15],n--;return i}let Nt=!0;function Ft(e){const t=Nt;return Nt=e,t}let Bt=0;function Wt(e,t){const n=Ut(e,t);if(-1!==n)return n;const i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,Ht(i.data,e),Ht(t,null),Ht(i.blueprint,null));const r=$t(e,t),o=e.injectorIndex;if(jt(r)){const e=Vt(r),n=Lt(r,t),i=n[1].data;for(let r=0;r<8;r++)t[o+r]=n[e+r]|i[e+r]}return t[o+8]=r,o}function Ht(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ut(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function $t(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,r=t;for(;null!==r;){const e=r[1],t=e.type;if(i=2===t?e.declTNode:1===t?r[6]:null,null===i)return Pt;if(n++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return Pt}function Qt(e,t,n){!function(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(Q)&&(i=n[Q]),null==i&&(i=n[Q]=Bt++);const r=255&i;t.data[e+(r>>5)]|=1<=0?255&t:qt:t}(n);if("function"==typeof o){if(!ht(t,e,i))return i&z.Host?Gt(r,n,i):Yt(t,n,i,r);try{const e=o();if(null!=e||i&z.Optional)return e;me(n)}finally{mt()}}else if("number"==typeof o){let r=null,s=Ut(e,t),a=Pt,c=i&z.Host?t[16][6]:null;for((-1===s||i&z.SkipSelf)&&(a=-1===s?$t(e,t):t[s+8],a!==Pt&&nn(i,!1)?(r=t[1],s=Vt(a),t=Lt(a,t)):s=-1);-1!==s;){const e=t[1];if(tn(o,s,e.data)){const e=Jt(s,t,n,r,i,c);if(e!==Xt)return e}a=t[s+8],a!==Pt&&nn(i,t[1].data[s+8]===c)&&tn(o,s,t)?(r=e,s=Vt(a),t=Lt(a,t)):s=-1}}}return Yt(t,n,i,r)}const Xt={};function qt(){return new rn(Ge(),Ue())}function Jt(e,t,n,i,r,o){const s=t[1],a=s.data[e+8],c=Zt(a,s,n,null==i?ue(a)&&Nt:i!=s&&0!=(3&a.type),r&z.Host&&o===a);return null!==c?en(t,s,c,a):Xt}function Zt(e,t,n,i,r){const o=e.providerIndexes,s=t.data,a=1048575&o,c=e.directiveStart,l=o>>20,u=r?a+l:e.directiveEnd;for(let d=i?a:a+l;d=c&&e.type===n)return d}if(r){const e=s[c];if(e&&he(e)&&e.type===n)return c}return null}function en(e,t,n,i){let r=e[n];const o=t.data;if(r instanceof Et){const s=r;s.resolving&&function(e,t){throw new fe("200",`Circular dependency in DI detected for ${e}`)}(be(o[n]));const a=Ft(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?k(s.injectImpl):null;ht(e,i,z.Default);try{r=e[n]=s.factory(void 0,o,e,i),t.firstCreatePass&&n>=i.directiveStart&&function(e,t,n){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=t.type.prototype;if(i){const i=Ce(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i)}r&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,r),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o))}(n,o[n],t)}finally{null!==c&&k(c),Ft(a),s.resolving=!1,mt()}}return r}function tn(e,t,n){return!!(n[t+(e>>5)]&1<{const e=on(f(t));return e?e():null};let n=pe(t);if(null===n){const e=w(t);n=e&&e.factory}return n||null}function sn(e){return E(()=>{const t=e.prototype.constructor,n=t[$]||on(t),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const e=r[$]||on(r);if(e&&e!==n)return e;r=Object.getPrototypeOf(r)}return e=>new e})}function an(e){return function(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const e=n.length;let i=0;for(;i{const i=function(e){return function(...t){if(e){const n=e(...t);for(const e in n)this[e]=n[e]}}}(t);function r(...e){if(this instanceof r)return i.apply(this,e),this;const t=new r(...e);return n.annotation=t,n;function n(e,n,i){const r=e.hasOwnProperty(cn)?e[cn]:Object.defineProperty(e,cn,{value:[]})[cn];for(;r.length<=i;)r.push(null);return(r[i]=r[i]||[]).push(t),e}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}class un{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=m({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return`InjectionToken ${this._desc}`}}const dn=new un("AnalyzeForEntryComponents"),hn=Function;function pn(e,t){void 0===t&&(t=e);for(let n=0;nArray.isArray(e)?fn(e,t):t(e))}function gn(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function bn(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function mn(e,t){const n=[];for(let i=0;i=0?e[1|i]=n:(i=~i,function(e,t,n,i){let r=e.length;if(r==t)e.push(n,i);else if(1===r)e.push(i,e[0]),e[0]=n;else{for(r--,e.push(e[r-1],e[r]);r>t;)e[r]=e[r-2],r--;e[t]=n,e[t+1]=i}}(e,i,t,n)),i}function vn(e,t){const n=Cn(e,t);if(n>=0)return e[1|n]}function Cn(e,t){return function(e,t,n){let i=0,r=e.length>>1;for(;r!==i;){const n=i+(r-i>>1),o=e[n<<1];if(t===o)return n<<1;o>t?r=n:i=n+1}return~(r<<1)}(e,t)}const wn={},Sn=/\n/gm,_n="__source",On=c({provide:String,useValue:c});let xn;function zn(e){const t=xn;return xn=e,t}function Tn(e,t=z.Default){if(void 0===xn)throw new Error("inject() must be called from an injection context");return null===xn?P(e,void 0,t):xn.get(e,t&z.Optional?null:void 0,t)}function kn(e,t=z.Default){return(T||Tn)(f(e),t)}const Pn=kn;function En(e){const t=[];for(let n=0;n({token:e})),-1),In=Dn(ln("Optional"),8),An=Dn(ln("SkipSelf"),4);let Rn,jn;function Vn(e){var t;return(null===(t=function(){if(void 0===Rn&&(Rn=null,V.trustedTypes))try{Rn=V.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(t){}return Rn}())||void 0===t?void 0:t.createHTML(e))||e}function Ln(){if(void 0===jn&&(jn=null,V.trustedTypes))try{jn=V.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return jn}function Nn(e){var t;return(null===(t=Ln())||void 0===t?void 0:t.createHTML(e))||e}function Fn(e){var t;return(null===(t=Ln())||void 0===t?void 0:t.createScriptURL(e))||e}class Bn{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Wn extends Bn{getTypeName(){return"HTML"}}class Hn extends Bn{getTypeName(){return"Style"}}class Un extends Bn{getTypeName(){return"Script"}}class $n extends Bn{getTypeName(){return"URL"}}class Qn extends Bn{getTypeName(){return"ResourceURL"}}function Gn(e){return e instanceof Bn?e.changingThisBreaksApplicationSecurity:e}function Yn(e,t){const n=Kn(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}function Kn(e){return e instanceof Bn&&e.getTypeName()||null}function Xn(e){return new Wn(e)}function qn(e){return new Hn(e)}function Jn(e){return new Un(e)}function Zn(e){return new $n(e)}function ei(e){return new Qn(e)}function ti(e){const t=new ii(e);return function(){try{return!!(new window.DOMParser).parseFromString(Vn(""),"text/html")}catch(e){return!1}}()?new ni(t):t}class ni{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e=""+e;try{const t=(new window.DOMParser).parseFromString(Vn(e),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(e):(t.removeChild(t.firstChild),t)}catch(t){return null}}}class ii{constructor(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e);const t=this.inertDocument.createElement("body");e.appendChild(t)}}getInertBodyElement(e){const t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=Vn(e),t;const n=this.inertDocument.createElement("body");return n.innerHTML=Vn(e),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(e){const t=e.attributes;for(let i=t.length-1;0si(e.trim())).join(", ")}function ci(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function li(...e){const t={};for(const n of e)for(const e in n)n.hasOwnProperty(e)&&(t[e]=!0);return t}const ui=ci("area,br,col,hr,img,wbr"),di=ci("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),hi=ci("rp,rt"),pi=li(hi,di),fi=li(ui,li(di,ci("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),li(hi,ci("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),pi),gi=ci("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),bi=ci("srcset"),mi=li(gi,bi,ci("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),ci("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),yi=ci("script,style,template");class vi{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let t=e.firstChild,n=!0;for(;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let e=this.checkClobberedElement(t,t.nextSibling);if(e){t=e;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}startElement(e){const t=e.nodeName.toLowerCase();if(!fi.hasOwnProperty(t))return this.sanitizedSomething=!0,!yi.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const n=e.attributes;for(let i=0;i"),!0}endElement(e){const t=e.nodeName.toLowerCase();fi.hasOwnProperty(t)&&!ui.hasOwnProperty(t)&&(this.buf.push(""))}chars(e){this.buf.push(Si(e))}checkClobberedElement(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`);return t}}const Ci=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,wi=/([^\#-~ |!])/g;function Si(e){return e.replace(/&/g,"&").replace(Ci,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(wi,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}let _i;function Oi(e,t){let n=null;try{_i=_i||ti(e);let i=t?String(t):"";n=_i.getInertBodyElement(i);let r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=n.innerHTML,n=_i.getInertBodyElement(i)}while(i!==o);return Vn((new vi).sanitizeChildren(xi(n)||n))}finally{if(n){const e=xi(n)||n;for(;e.firstChild;)e.removeChild(e.firstChild)}}}function xi(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var zi=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}({});function Ti(e){const t=Ei();return t?Nn(t.sanitize(zi.HTML,e)||""):Yn(e,"HTML")?Nn(Gn(e)):Oi(Te(),ge(e))}function ki(e){const t=Ei();return t?t.sanitize(zi.URL,e)||"":Yn(e,"URL")?Gn(e):si(ge(e))}function Pi(e){const t=Ei();if(t)return Fn(t.sanitize(zi.RESOURCE_URL,e)||"");if(Yn(e,"ResourceURL"))return Fn(Gn(e));throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)")}function Ei(){const e=Ue();return e&&e[12]}function Di(e){return e.ngDebugContext}function Mi(e){return e.ngOriginalError}function Ii(e,...t){e.error(...t)}class Ai{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),n=this._findContext(e),i=function(e){return e.ngErrorLogger||Ii}(e);i(this._console,"ERROR",e),t&&i(this._console,"ORIGINAL ERROR",t),n&&i(this._console,"ERROR CONTEXT",n)}_findContext(e){return e?Di(e)?Di(e):this._findContext(Mi(e)):null}_findOriginalError(e){let t=Mi(e);for(;t&&Mi(t);)t=Mi(t);return t}}const Ri=/^>|^->||--!>|)/;function Vi(e,t){e.__ngContext__=t}const Li=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(V))();function Ni(e){return{name:"window",target:e.ownerDocument.defaultView}}function Fi(e){return{name:"document",target:e.ownerDocument}}function Bi(e){return e instanceof Function?e():e}var Wi=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({});let Hi;function Ui(e,t){return Hi(e,t)}function $i(e){const t=e[3];return ce(t)?t[3]:t}function Qi(e){return Yi(e[13])}function Gi(e){return Yi(e[4])}function Yi(e){for(;null!==e&&!ce(e);)e=e[4];return e}function Ki(e,t,n,i,r){if(null!=i){let o,s=!1;ce(i)?o=i:ae(i)&&(s=!0,i=i[0]);const a=Ee(i);0===e&&null!==n?null==r?ar(t,n,a):sr(t,n,a,r||null,!0):1===e&&null!==n?sr(t,n,a,r||null,!0):2===e?vr(t,a,s):3===e&&t.destroyNode(a),null!=o&&function(e,t,n,i,r){const o=n[7];o!==Ee(n)&&Ki(t,e,i,o,r);for(let s=se;se.replace(ji,"\u200b$1\u200b"))}(t))}function Zi(e,t,n){return ke(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function er(e,t){const n=e[9],i=n.indexOf(t),r=t[3];1024&t[2]&&(t[2]&=-1025,Be(r,-1)),n.splice(i,1)}function tr(e,t){if(e.length<=se)return;const n=se+t,i=e[n];if(i){const o=i[17];null!==o&&o!==e&&er(o,i),t>0&&(e[n-1][4]=i[4]);const s=bn(e,se+t);wr(i[1],r=i,r[11],2,null,null),r[0]=null,r[6]=null;const a=s[19];null!==a&&a.detachView(s[1]),i[3]=null,i[4]=null,i[2]&=-129}var r;return i}function nr(e,t){if(!(256&t[2])){const n=t[11];ke(n)&&n.destroyNode&&wr(e,t,n,3,null,null),function(e){let t=e[13];if(!t)return ir(e[1],e);for(;t;){let n=null;if(ae(t))n=t[13];else{const e=t[10];e&&(n=e)}if(!n){for(;t&&!t[4]&&t!==e;)ae(t)&&ir(t[1],t),t=t[3];null===t&&(t=e),ae(t)&&ir(t[1],t),n=t&&t[4]}t=n}}(t)}}function ir(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let i=0;i=0?i[r=c]():i[r=-c].unsubscribe(),o+=2}else{const e=i[r=n[o+1]];n[o].call(e)}if(null!==i){for(let e=r+1;eo?"":r[u+1].toLowerCase();const t=8&i?e:null;if(t&&-1!==xr(t,l,0)||2&i&&l!==e){if(Dr(i))return!1;s=!0}}}}else{if(!s&&!Dr(i)&&!Dr(c))return!1;if(s&&Dr(c))continue;s=!1,i=c|1&i}}return Dr(i)||s}function Dr(e){return 0==(1&e)}function Mr(e,t,n,i){if(null===t)return-1;let r=0;if(i||!n){let n=!1;for(;r-1)for(n++;n0?'="'+t+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);else""===r||Dr(s)||(t+=Rr(o,r),r=""),i=s,o=o||!Dr(i);n++}return""!==r&&(t+=Rr(o,r)),t}const Vr={};function Lr(e){Nr($e(),Ue(),vt()+e,Ze())}function Nr(e,t,n,i){if(!i)if(3==(3&t[2])){const i=e.preOrderCheckHooks;null!==i&&Ot(t,i,n)}else{const i=e.preOrderHooks;null!==i&&xt(t,i,0,n)}Ct(n)}function Fr(e,t){return e<<17|t<<2}function Br(e){return e>>17&32767}function Wr(e){return 2|e}function Hr(e){return(131068&e)>>2}function Ur(e,t){return-131069&e|t<<2}function $r(e){return 1|e}function Qr(e,t){const n=e.contentQueries;if(null!==n)for(let i=0;ioe&&Nr(e,t,oe,Ze()),n(i,r)}finally{Ct(o)}}function to(e,t,n){if(le(t)){const i=t.directiveEnd;for(let r=t.directiveStart;r0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(n)!=o&&n.push(o),n.push(i,r,s)}}function ho(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function po(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function fo(e,t,n){if(n){if(t.exportAs)for(let i=0;i0&&_o(n)}}function _o(e){for(let n=Qi(e);null!==n;n=Gi(n))for(let e=se;e0&&_o(t)}const t=e[1].components;if(null!==t)for(let n=0;n0&&_o(i)}}function Oo(e,t){const n=Re(t,e),i=n[1];!function(e,t){for(let n=t.length;nPromise.resolve(null))();function Do(e){return e[7]||(e[7]=[])}function Mo(e){return e.cleanup||(e.cleanup=[])}function Io(e,t,n){return(null===e||he(e))&&(n=function(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function Ao(e,t){const n=e[9],i=n?n.get(Ai,null):null;i&&i.handleError(t)}function Ro(e,t,n,i,r){for(let o=0;othis.processProvider(n,e,t)),fn([e],e=>this.processInjectorType(e,[],r)),this.records.set(Lo,Xo(void 0,this));const o=this.records.get(Fo);this.scope=null!=o?o.value:null,this.source=i||("object"==typeof e?null:u(e))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(e=>e.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(e,t=wn,n=z.Default){this.assertNotDestroyed();const i=zn(this);try{if(!(n&z.SkipSelf)){let t=this.records.get(e);if(void 0===t){const n=("function"==typeof(r=e)||"object"==typeof r&&r instanceof un)&&v(e);t=n&&this.injectableDefInScope(n)?Xo(Yo(e),Bo):null,this.records.set(e,t)}if(null!=t)return this.hydrate(e,t)}return(n&z.Self?$o():this.parent).get(e,t=n&z.Optional&&t===wn?null:t)}catch(o){if("NullInjectorError"===o.name){if((o.ngTempTokenPath=o.ngTempTokenPath||[]).unshift(u(e)),i)throw o;return function(e,t,n,i){const r=e.ngTempTokenPath;throw t[_n]&&r.unshift(t[_n]),e.message=function(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let r=u(t);if(Array.isArray(t))r=t.map(u).join(" -> ");else if("object"==typeof t){let e=[];for(let n in t)if(t.hasOwnProperty(n)){let i=t[n];e.push(n+":"+("string"==typeof i?JSON.stringify(i):u(i)))}r=`{${e.join(", ")}}`}return`${n}${i?"("+i+")":""}[${r}]: ${e.replace(Sn,"\n ")}`}("\n"+e.message,r,n,i),e.ngTokenPath=r,e.ngTempTokenPath=null,e}(o,e,"R3InjectorError",this.source)}throw o}finally{zn(i)}var r}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(e=>this.get(e))}toString(){const e=[];return this.records.forEach((t,n)=>e.push(u(n))),`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(e,t,n){if(!(e=f(e)))return!1;let i=w(e);const r=null==i&&e.ngModule||void 0,o=void 0===r?e:r,s=-1!==n.indexOf(o);if(void 0!==r&&(i=w(r)),null==i)return!1;if(null!=i.imports&&!s){let e;n.push(o);try{fn(i.imports,i=>{this.processInjectorType(i,t,n)&&(void 0===e&&(e=[]),e.push(i))})}finally{}if(void 0!==e)for(let t=0;tthis.processProvider(e,n,i||Ho))}}this.injectorDefTypes.add(o),this.records.set(o,Xo(i.factory,Bo));const a=i.providers;if(null!=a&&!s){const t=e;fn(a,e=>this.processProvider(e,t,a))}return void 0!==r&&void 0!==e.providers}processProvider(e,t,n){let i=Jo(e=f(e))?e:f(e&&e.provide);const r=function(e,t,n){return qo(e)?Xo(void 0,e.useValue):Xo(Ko(e),Bo)}(e);if(Jo(e)||!0!==e.multi)this.records.get(i);else{let t=this.records.get(i);t||(t=Xo(void 0,Bo,!0),t.factory=()=>En(t.multi),this.records.set(i,t)),i=e,t.multi.push(e)}this.records.set(i,r)}hydrate(e,t){var n;return t.value===Bo&&(t.value=Wo,t.value=t.factory()),"object"==typeof t.value&&t.value&&null!==(n=t.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(t.value),t.value}injectableDefInScope(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||e.providedIn===this.scope:this.injectorDefTypes.has(e.providedIn))}}function Yo(e){const t=v(e),n=null!==t?t.factory:pe(e);if(null!==n)return n;const i=w(e);if(null!==i)return i.factory;if(e instanceof un)throw new Error(`Token ${u(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const n=mn(t,"?");throw new Error(`Can't resolve all parameters for ${u(e)}: (${n.join(", ")}).`)}const n=function(e){const t=e&&(e[S]||e[O]);if(t){const n=function(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Error("unreachable")}function Ko(e,t,n){let i;if(Jo(e)){const t=f(e);return pe(t)||Yo(t)}if(qo(e))i=()=>f(e.useValue);else if((r=e)&&r.useFactory)i=()=>e.useFactory(...En(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))i=()=>kn(f(e.useExisting));else{const t=f(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return pe(t)||Yo(t);i=()=>new t(...En(e.deps))}var r;return i}function Xo(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function qo(e){return null!==e&&"object"==typeof e&&On in e}function Jo(e){return"function"==typeof e}const Zo=function(e,t,n){return function(e,t=null,n=null,i){const r=Qo(e,t,n,i);return r._resolveInjectorDefTypes(),r}({name:n},t,e,n)};let es=(()=>{class e{static create(e,t){return Array.isArray(e)?Zo(e,t,""):Zo(e.providers,e.parent,e.name||"")}}return e.THROW_IF_NOT_FOUND=wn,e.NULL=new No,e.\u0275prov=m({token:e,providedIn:"any",factory:()=>kn(Lo)}),e.__NG_ELEMENT_ID__=-1,e})();function ts(e,t){_t(je(e)[1],Ge())}function ns(e){let t=Object.getPrototypeOf(e.type.prototype).constructor,n=!0;const i=[e];for(;t;){let r;if(he(e))r=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");r=t.\u0275dir}if(r){if(n){i.push(r);const t=e;t.inputs=is(e.inputs),t.declaredInputs=is(e.declaredInputs),t.outputs=is(e.outputs);const n=r.hostBindings;n&&ss(e,n);const o=r.viewQuery,s=r.contentQueries;if(o&&rs(e,o),s&&os(e,s),l(e.inputs,r.inputs),l(e.declaredInputs,r.declaredInputs),l(e.outputs,r.outputs),he(r)&&r.data.animation){const t=e.data;t.animation=(t.animation||[]).concat(r.data.animation)}}const t=r.features;if(t)for(let i=0;i=0;i--){const r=e[i];r.hostVars=t+=r.hostVars,r.hostAttrs=At(r.hostAttrs,n=At(n,r.hostAttrs))}}(i)}function is(e){return e===L?{}:e===N?[]:e}function rs(e,t){const n=e.viewQuery;e.viewQuery=n?(e,i)=>{t(e,i),n(e,i)}:t}function os(e,t){const n=e.contentQueries;e.contentQueries=n?(e,i,r)=>{t(e,i,r),n(e,i,r)}:t}function ss(e,t){const n=e.hostBindings;e.hostBindings=n?(e,i)=>{t(e,i),n(e,i)}:t}let as=null;function cs(){if(!as){const e=V.Symbol;if(e&&e.iterator)as=e.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let t=0;ta(Ee(e[i.index])).target:i.index;if(ke(n)){let s=null;if(!a&&c&&(s=function(e,t,n,i){const r=e.cleanup;if(null!=r)for(let o=0;on?e[n]:null}"string"==typeof e&&(o+=2)}return null}(e,t,r,i.index)),null!==s)(s.__ngLastListenerFn__||s).__ngNextListenerFn__=o,s.__ngLastListenerFn__=o,d=!1;else{o=Fs(i,t,o,!1);const e=n.listen(p.name||f,r,o);u.push(o,e),l&&l.push(r,b,g,g+1)}}else o=Fs(i,t,o,!0),f.addEventListener(r,o,s),u.push(o),l&&l.push(r,b,g,s)}else o=Fs(i,t,o,!1);const h=i.outputs;let p;if(d&&null!==h&&(p=h[r])){const e=p.length;if(e)for(let n=0;n0;)t=t[15],e--;return t}(e,We.lFrame.contextLView))[8]}(e)}function Ws(e,t){let n=null;const i=function(e){const t=e.attrs;if(null!=t){const e=t.indexOf(5);if(0==(1&e))return t[e+1]}return null}(e);for(let r=0;r=0}const qs={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Js(e){return e.substring(qs.key,qs.keyEnd)}function Zs(e){return e.substring(qs.value,qs.valueEnd)}function ea(e,t){const n=qs.textEnd;return n===t?-1:(t=qs.keyEnd=function(e,t,n){for(;t32;)t++;return t}(e,qs.key=t,n),ia(e,t,n))}function ta(e,t){const n=qs.textEnd;let i=qs.key=ia(e,t,n);return n===i?-1:(i=qs.keyEnd=function(e,t,n){let i;for(;t=65&&(-33&i)<=90||i>=48&&i<=57);)t++;return t}(e,i,n),i=ra(e,i,n),i=qs.value=ia(e,i,n),i=qs.valueEnd=function(e,t,n){let i=-1,r=-1,o=-1,s=t,a=s;for(;s32&&(a=s),o=r,r=i,i=-33&c}return a}(e,i,n),ra(e,i,n))}function na(e){qs.key=0,qs.keyEnd=0,qs.value=0,qs.valueEnd=0,qs.textEnd=e.length}function ia(e,t,n){for(;t=0;n=ta(t,n))ya(e,Js(t),Zs(t))}function ua(e){pa(yn,da,e,!0)}function da(e,t){for(let n=function(e){return na(e),ea(e,ia(e,0,qs.textEnd))}(t);n>=0;n=ea(t,n))yn(e,Js(t),!0)}function ha(e,t,n,i){const r=Ue(),o=$e(),s=rt(2);o.firstUpdatePass&&ga(o,e,s,i),t!==Vr&&ps(r,s,t)&&va(o,o.data[vt()],r,r[11],e,r[s+1]=function(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=u(Gn(e)))),e}(t,n),i,s)}function pa(e,t,n,i){const r=$e(),o=rt(2);r.firstUpdatePass&&ga(r,null,o,i);const s=Ue();if(n!==Vr&&ps(s,o,n)){const a=r.data[vt()];if(Sa(a,i)&&!fa(r,o)){let e=i?a.classesWithoutHost:a.stylesWithoutHost;null!==e&&(n=d(e,n||"")),xs(r,a,s,n,i)}else!function(e,t,n,i,r,o,s,a){r===Vr&&(r=Ys);let c=0,l=0,u=0=e.expandoStartIndex}function ga(e,t,n,i){const r=e.data;if(null===r[n+1]){const o=r[vt()],s=fa(e,n);Sa(o,i)&&null===t&&!s&&(t=!1),t=function(e,t,n,i){const r=ct(e);let o=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(n=ma(n=ba(null,e,t,n,i),t.attrs,i),o=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==r)if(n=ba(r,e,t,n,i),null===o){let n=function(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==Hr(i))return e[Br(i)]}(e,t,i);void 0!==n&&Array.isArray(n)&&(n=ba(null,e,t,n[1],i),n=ma(n,t.attrs,i),function(e,t,n,i){e[Br(n?t.classBindings:t.styleBindings)]=i}(e,t,i,n))}else o=function(e,t,n){let i;const r=t.directiveEnd;for(let o=1+t.directiveStylingLast;o0)&&(u=!0)}else l=n;if(r)if(0!==c){const t=Br(e[a+1]);e[i+1]=Fr(t,a),0!==t&&(e[t+1]=Ur(e[t+1],i)),e[a+1]=131071&e[a+1]|i<<17}else e[i+1]=Fr(a,0),0!==a&&(e[a+1]=Ur(e[a+1],i)),a=i;else e[i+1]=Fr(c,0),0===a?a=i:e[c+1]=Ur(e[c+1],i),c=i;u&&(e[i+1]=Wr(e[i+1])),Ks(e,l,i,!0),Ks(e,l,i,!1),function(e,t,n,i,r){const o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&Cn(o,t)>=0&&(n[i+1]=$r(n[i+1]))}(t,l,e,i,o),s=Fr(a,c),o?t.classBindings=s:t.styleBindings=s}(r,o,t,n,s,i)}}function ba(e,t,n,i,r){let o=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const t=e[r],o=Array.isArray(t),c=o?t[1]:t,l=null===c;let u=n[r+1];u===Vr&&(u=l?Ys:void 0);let d=l?vn(u,i):c===i?u:void 0;if(o&&!wa(d)&&(d=vn(t,i)),wa(d)&&(a=d,s))return a;const h=e[r+1];r=s?Br(h):Hr(h)}if(null!==t){let e=o?t.residualClasses:t.residualStyles;null!=e&&(a=vn(e,i))}return a}function wa(e){return void 0!==e}function Sa(e,t){return 0!=(e.flags&(t?16:32))}function _a(e,t=""){const n=Ue(),i=$e(),r=e+oe,o=i.firstCreatePass?Yr(i,r,1,t,null):i.data[r],s=n[r]=Xi(n[11],t);gr(i,n,s,o),Xe(o,!1)}function Oa(e){return xa("",e,""),Oa}function xa(e,t,n){const i=Ue(),r=ys(i,e,t,n);return r!==Vr&&jo(i,vt(),r),xa}function za(e,t,n,i,r){const o=Ue(),s=vs(o,e,t,n,i,r);return s!==Vr&&jo(o,vt(),s),za}function Ta(e,t,n,i,r,o,s){const a=Ue(),c=function(e,t,n,i,r,o,s,a){const c=gs(e,nt(),n,r,s);return rt(3),c?t+ge(n)+i+ge(r)+o+ge(s)+a:Vr}(a,e,t,n,i,r,o,s);return c!==Vr&&jo(a,vt(),c),Ta}function ka(e,t,n){pa(yn,da,ys(Ue(),e,t,n),!0)}function Pa(e,t,n,i,r){pa(yn,da,vs(Ue(),e,t,n,i,r),!0)}function Ea(e,t,n,i,r,o,s,a,c){pa(yn,da,function(e,t,n,i,r,o,s,a,c,l){const u=bs(e,nt(),n,r,s,c);return rt(4),u?t+ge(n)+i+ge(r)+o+ge(s)+a+ge(c)+l:Vr}(Ue(),e,t,n,i,r,o,s,a,c),!0)}function Da(e,t,n){const i=Ue();return ps(i,it(),t)&&co($e(),wt(),i,e,t,i[11],n,!0),Da}function Ma(e,t,n){const i=Ue();if(ps(i,it(),t)){const r=$e(),o=wt();co(r,o,i,e,t,Io(ct(r.data),o,i),n,!0)}return Ma}const Ia=void 0;var Aa=["en",[["a","p"],["AM","PM"],Ia],[["AM","PM"],Ia,Ia],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Ia,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Ia,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Ia,"{1} 'at' {0}",Ia],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];let Ra={};function ja(e,t,n){"string"!=typeof t&&(n=t,t=e[Ba.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Ra[t]=e,n&&(Ra[t][Ba.ExtraData]=n)}function Va(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Fa(t);if(n)return n;const i=t.split("-")[0];if(n=Fa(i),n)return n;if("en"===i)return Aa;throw new Error(`Missing locale data for the locale "${e}".`)}function La(e){return Va(e)[Ba.CurrencyCode]||null}function Na(e){return Va(e)[Ba.PluralCase]}function Fa(e){return e in Ra||(Ra[e]=V.ng&&V.ng.common&&V.ng.common.locales&&V.ng.common.locales[e]),Ra[e]}var Ba=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}({});const Wa=["zero","one","two","few","many"],Ha="en-US",Ua={marker:"element"},$a={marker:"ICU"};var Qa=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}({});let Ga=Ha;function Ya(e){var t;null==(t=e)&&b("Expected localeId to be defined",t,null,"!="),"string"==typeof e&&(Ga=e.toLowerCase().replace(/_/g,"-"))}function Ka(e,t,n){const i=t.insertBeforeIndex,r=Array.isArray(i)?i[0]:i;return null===r?dr(e,0,n):Ee(n[r])}function Xa(e,t,n,i,r){const o=t.insertBeforeIndex;if(Array.isArray(o)){let s=i,a=null;if(3&t.type||(a=s,s=r),null!==s&&0==(2&t.flags))for(let t=1;t1)for(let n=e.length-2;n>=0;n--){const i=e[n];Ja(i)||Za(i,t)&&null===ec(i)&&tc(i,t.index)}}function Ja(e){return!(64&e.type)}function Za(e,t){return Ja(t)||e.index>t.index}function ec(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function tc(e,t){const n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(fr(Ka,Xa),e.insertBeforeIndex=t)}function nc(e,t){const n=e.data[t];return null===n||"string"==typeof n?null:n.hasOwnProperty("currentCaseLViewIndex")?n:n.value}function ic(e,t,n){const i=Kr(e,n,64,null,null);return qa(t,i),i}function rc(e,t){const n=t[e.currentCaseLViewIndex];return null===n?n:n<0?~n:n}let oc=0,sc=0;function ac(e,t,n,i){const r=n[11];let o,s=null;for(let a=0;a>>17;let u,d;if(null===s&&(s=l,o=lr(r,i)),l===s?(u=i,d=o):(u=null,d=Ee(n[l])),null!==d){const t=(131070&c)>>>1;sr(r,d,n[t],u,!1);const i=nc(e,t);if(null!==i&&"object"==typeof i){const t=rc(i,n);null!==t&&ac(e,i.create[t],n,n[i.anchorIdx])}}break;case 1:const h=t[++a],p=t[++a];yo(r,De(c>>>1,n),null,null,h,p,null);break;default:throw new Error(`Unable to determine the type of mutate operation for "${c}"`)}else switch(c){case $a:const e=t[++a],i=t[++a];null===n[i]&&Vi(n[i]=Ji(r,e),n);break;case Ua:const o=t[++a],s=t[++a];null===n[s]&&Vi(n[s]=Zi(r,o,null),n)}}}function cc(e,t,n,i,r){for(let o=0;o>>2;switch(3&o){case 1:const o=n[++s],c=n[++s],l=e.data[a];"string"==typeof l?yo(t[11],t[a],null,l,o,r,c):co(e,l,t,o,r,t[11],c,!1);break;case 0:const u=t[a];null!==u&&qi(t[11],u,r);break;case 2:uc(e,nc(e,a),t,r);break;case 3:lc(e,nc(e,a),i,t)}}}}else{const r=n[o+1];if(r>0&&3==(3&r)){const n=nc(e,r>>>2);t[n.currentCaseLViewIndex]<0&&lc(e,n,i,t)}}o+=a}}function lc(e,t,n,i){let r=i[t.currentCaseLViewIndex];if(null!==r){let o=oc;r<0&&(r=i[t.currentCaseLViewIndex]=~r,o=-1),cc(e,i,t.update[r],n,o)}}function uc(e,t,n,i){const r=function(e,t){let n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:{const i=function(e,t){const n=Na(t)(parseInt(e,10)),i=Wa[n];return void 0!==i?i:"other"}(t,Ga);n=e.cases.indexOf(i),-1===n&&"other"!==i&&(n=e.cases.indexOf("other"));break}case 0:n=e.cases.indexOf("other")}return-1===n?null:n}(t,i);if(rc(t,n)!==r&&(dc(e,t,n),n[t.currentCaseLViewIndex]=null===r?null:~r,null!==r)){const i=n[t.anchorIdx];i&&ac(e,t.create[r],n,i)}}function dc(e,t,n){let i=rc(t,n);if(null!==i){const r=t.remove[i];for(let t=0;t0){const e=De(i,n);null!==e&&vr(n[11],e)}else dc(e,nc(e,~i),n)}}}const hc=/\ufffd(\d+):?\d*\ufffd/gi,pc=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,fc=/\ufffd(\d+)\ufffd/,gc=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,bc=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,mc=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,yc=/\uE500/g;function vc(e,t,n,i,r,o,s){const a=Xr(e,i,1,null);let c=a<0?t[s]:(e.push(i,n),r(t[1].data[~s],t),o())}return 0===e.length?null:(n=e.pop(),i=e.pop(),o())}return function(n,i){for(t=i;e.length;)e.pop();return r(n.value,i),o}}())),r.push(c,null===o?"":o);const u=Kr(e,a,s?32:1,null===o?"":o,null);qa(n,u);const d=u.index;return Xe(u,!1),null!==l&&t!==l&&function(e,t){let n=e.insertBeforeIndex;var i;null===n?(fr(Ka,Xa),n=e.insertBeforeIndex=[null,t]):("Expecting array here",(i=Array.isArray(n))!=!0&&b("Expecting array here",i,true,"=="),n.push(t))}(l,d),u}function Cc(e,t,n,i,r,o,s){const a=s.match(hc),c=vc(e,t,n,o,i,a?null:s,!1);a&&wc(r,s,c.index)}function wc(e,t,n,i,r=null){const o=e.length,s=o+1;e.push(null,null);const a=o+2,c=t.split(hc);let l=0;for(let u=0;un.length&&n.push(r)}return{type:i,mainBinding:r,cases:t,values:n}}function zc(e){if(!e)return[];let t=0;const n=[],i=[],r=/[{}]/g;let o;for(r.lastIndex=0;o=r.exec(e);){const r=o.index;if("}"==o[0]){if(n.pop(),0==n.length){const n=e.substring(t,r);gc.test(n)?i.push(xc(n)):i.push(n),t=r+1}}else{if(0==n.length){const n=e.substring(t,r);i.push(n),t=r+1}n.push("{")}}const s=e.substring(t);return i.push(s),i}function Tc(e,t,n,i,r,o,s,a){const c=[],l=[],u=[];t.cases.push(o),t.create.push(c),t.remove.push(l),t.update.push(u);const d=ti(Te()).getInertBodyElement(s),h=xi(d)||d;return h?kc(e,t,n,i,c,l,u,h,r,a,0):0}function kc(e,t,n,i,r,o,s,a,c,l,u){let d=0,h=a.firstChild;for(;h;){const a=Xr(e,n,1,null);switch(h.nodeType){case Node.ELEMENT_NODE:const p=h,f=p.tagName.toLowerCase();if(fi.hasOwnProperty(f)){Dc(r,Ua,f,c,a),e.data[a]=f;const g=p.attributes;for(let e=0;e>>Qa.SHIFT;let d=e[u];null===d&&(d=e[u]=c?r.createComment(a):Xi(r,a)),l&&null!==n&&sr(r,n,d,i,!1)}}(r,c.create,l,a&&8&a.type?r[a.index]:null),ot(!0)}function Bc(){ot(!1)}function Wc(e,t,n){Fc(e,t,n),Bc()}function Hc(e,t){const n=$e(),i=Ne(n.consts,t);!function(e,t,n){const i=Ge().index,r=[];if(e.firstCreatePass&&null===e.data[t]){for(let e=0;e0){const i=e.data[n];cc(e,t,Array.isArray(i)?i:i.update,nt()-sc-1,oc)}oc=0,sc=0}($e(),Ue(),e+oe)}function Qc(e,t={}){return function(e,t={}){let n=e;if(Ic.test(e)){const e={},t=[0];n=n.replace(Ac,(n,i,r)=>{const o=i||r,s=e[o]||[];if(s.length||(o.split("|").forEach(e=>{const t=e.match(Nc),n=t?parseInt(t[1],10):0,i=Lc.test(e);s.push([n,i,e])}),e[o]=s),!s.length)throw new Error(`i18n postprocess: unmatched placeholder - ${o}`);const a=t[t.length-1];let c=0;for(let e=0;et.hasOwnProperty(i)?`${n}${t[i]}${s}`:e),n=n.replace(jc,(e,n)=>t.hasOwnProperty(n)?t[n]:e),n=n.replace(Vc,(e,n)=>{if(t.hasOwnProperty(n)){const i=t[n];if(!i.length)throw new Error(`i18n postprocess: unmatched ICU - ${e} with key: ${n}`);return i.shift()}return e}),n):n}(e,t)}function Gc(e,t,n,i,r){if(e=f(e),Array.isArray(e))for(let o=0;o>20;if(Jo(e)||!e.multi){const i=new Et(c,r,Ss),p=Xc(a,t,r?u:u+h,d);-1===p?(Qt(Wt(l,s),o,a),Yc(o,e,t.length),t.push(a),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=1048576),n.push(i),s.push(i)):(n[p]=i,s[p]=i)}else{const p=Xc(a,t,u+h,d),f=Xc(a,t,u,u+h),g=p>=0&&n[p],b=f>=0&&n[f];if(r&&!b||!r&&!g){Qt(Wt(l,s),o,a);const u=function(e,t,n,i,r){const o=new Et(e,n,Ss);return o.multi=[],o.index=t,o.componentProviders=0,Kc(o,r,i&&!n),o}(r?Jc:qc,n.length,r,i,c);!r&&b&&(n[f].providerFactory=u),Yc(o,e,t.length,0),t.push(a),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=1048576),n.push(u),s.push(u)}else Yc(o,e,p>-1?p:f,Kc(n[r?f:p],c,!r&&i));!r&&i&&b&&n[f].componentProviders++}}}function Yc(e,t,n,i){const r=Jo(t);if(r||t.useClass){const o=(t.useClass||t).prototype.ngOnDestroy;if(o){const s=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){const e=s.indexOf(n);-1===e?s.push(n,[i,o]):s[e+1].push(i,o)}else s.push(n,o)}}}function Kc(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Xc(e,t,n,i){for(let r=n;r{n.providersResolver=(n,i)=>function(e,t,n){const i=$e();if(i.firstCreatePass){const r=he(e);Gc(n,i.data,i.blueprint,r,!0),Gc(t,i.data,i.blueprint,r,!1)}}(n,i?i(e):e,t)}}class tl{}class nl{}class il{resolveComponentFactory(e){throw function(e){const t=Error(`No component factory found for ${u(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(e)}}let rl=(()=>{class e{}return e.NULL=new il,e})();function ol(...e){}function sl(e,t){return new cl(Me(e,t))}const al=function(){return sl(Ge(),Ue())};let cl=(()=>{class e{constructor(e){this.nativeElement=e}}return e.__NG_ELEMENT_ID__=al,e})();function ll(e){return e instanceof cl?e.nativeElement:e}class ul{}let dl=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>hl(),e})();const hl=function(){const e=Ue(),t=Re(Ge().index,e);return function(e){return e[11]}(ae(t)?t:e)};let pl=(()=>{class e{}return e.\u0275prov=m({token:e,providedIn:"root",factory:()=>null}),e})();class fl{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const gl=new fl("11.2.0");class bl{constructor(){}supports(e){return us(e)}create(e){return new yl(e)}}const ml=(e,t)=>t;class yl{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||ml}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,n=this._removalsHead,i=0,r=null;for(;t||n;){const o=!n||t&&t.currentIndex{i=this._trackByFn(t,e),null!==r&&Object.is(r.trackById,i)?(o&&(r=this._verifyReinsertion(r,e,i,t)),Object.is(r.item,e)||this._addIdentityChange(r,e)):(r=this._mismatch(r,e,i,t),o=!0),r=r._next,t++}),this.length=t;return this._truncate(r),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,n,i){let r;return null===e?r=this._itTail:(r=e._prev,this._remove(e)),null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,r,i)):null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,r,i)):e=this._addAfter(new vl(t,n),r,i),e}_verifyReinsertion(e,t,n,i){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==r?e=this._reinsertAfter(r,e._prev,i):e.currentIndex!=i&&(e.currentIndex=i,this._addToMoves(e,i)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const i=e._prevRemoved,r=e._nextRemoved;return null===i?this._removalsHead=r:i._nextRemoved=r,null===r?this._removalsTail=i:r._prevRemoved=i,this._insertAfter(e,t,n),this._addToMoves(e,n),e}_moveAfter(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}_addAfter(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,t,n){const i=null===t?this._itHead:t._next;return e._next=i,e._prev=t,null===i?this._itTail=e:i._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new wl),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new wl),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class vl{constructor(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class Cl{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){const t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head}}class wl{constructor(){this.map=new Map}put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new Cl,this.map.set(t,n)),n.add(e)}get(e,t){const n=this.map.get(e);return n?n.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Sl(e,t,n){const i=e.previousIndex;if(null===i)return i;let r=0;return n&&i{if(t&&t.key===n)this._maybeAddToChanges(t,e),this._appendAfter=t,t=t._next;else{const i=this._getOrCreateRecordForKey(n,e);t=this._insertBeforeOrAppend(t,i)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let e=t;null!==e;e=e._nextRemoved)e===this._mapHead&&(this._mapHead=null),this._records.delete(e.key),e._nextRemoved=e._next,e.previousValue=e.currentValue,e.currentValue=null,e._prev=null,e._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){const n=this._records.get(e);this._maybeAddToChanges(n,t);const i=n._prev,r=n._next;return i&&(i._next=r),r&&(r._prev=i),n._next=null,n._prev=null,n}const n=new xl(e);return this._records.set(e,n),n.currentValue=t,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(n=>t(e[n],n))}}class xl{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function zl(){return new Tl([new bl])}let Tl=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(null!=n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>e.create(t,n||zl()),deps:[[e,new An,new In]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(null!=t)return t;throw new Error(`Cannot find a differ supporting object '${e}' of type '${n=e,n.name||typeof n}'`);var n}}return e.\u0275prov=m({token:e,providedIn:"root",factory:zl}),e})();function kl(){return new Pl([new _l])}let Pl=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>e.create(t,n||kl()),deps:[[e,new An,new In]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(t)return t;throw new Error(`Cannot find a differ supporting object '${e}'`)}}return e.\u0275prov=m({token:e,providedIn:"root",factory:kl}),e})();function El(e,t,n,i,r=!1){for(;null!==n;){const o=t[n.index];if(null!==o&&i.push(Ee(o)),ce(o))for(let e=se;e-1&&(tr(e,n),bn(t,n))}this._attachedToViewContainer=!1}nr(this._lView[1],this._lView)}onDestroy(e){so(this._lView[1],this._lView,null,e)}markForCheck(){zo(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){To(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,n){et(!0);try{To(e,t,n)}finally{et(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var e;this._appRef=null,wr(this._lView[1],e=this._lView,e[11],2,null,null)}attachToAppRef(e){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}class Ml extends Dl{constructor(e){super(e),this._view=e}detectChanges(){ko(this._view)}checkNoChanges(){!function(e){et(!0);try{ko(e)}finally{et(!1)}}(this._view)}get context(){return null}}const Il=Rl;let Al=(()=>{class e{}return e.__NG_ELEMENT_ID__=Il,e.__ChangeDetectorRef__=!0,e})();function Rl(e=!1){return function(e,t,n){if(!n&&ue(e)){const n=Re(e.index,t);return new Dl(n,n)}return 47&e.type?new Dl(t[16],t):null}(Ge(),Ue(),e)}const jl=[new _l],Vl=new Tl([new bl]),Ll=new Pl(jl),Nl=function(){return Hl(Ge(),Ue())};let Fl=(()=>{class e{}return e.__NG_ELEMENT_ID__=Nl,e})();const Bl=Fl,Wl=class extends Bl{constructor(e,t,n){super(),this._declarationLView=e,this._declarationTContainer=t,this.elementRef=n}createEmbeddedView(e){const t=this._declarationTContainer.tViews,n=Gr(this._declarationLView,t,e,16,null,t.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];const i=this._declarationLView[19];return null!==i&&(n[19]=i.createEmbeddedView(t)),qr(t,n,e),new Dl(n)}};function Hl(e,t){return 4&e.type?new Wl(t,e,sl(e,t)):null}class Ul{}class $l{}const Ql=function(){return Jl(Ge(),Ue())};let Gl=(()=>{class e{}return e.__NG_ELEMENT_ID__=Ql,e})();const Yl=Gl,Kl=class extends Yl{constructor(e,t,n){super(),this._lContainer=e,this._hostTNode=t,this._hostLView=n}get element(){return sl(this._hostTNode,this._hostLView)}get injector(){return new rn(this._hostTNode,this._hostLView)}get parentInjector(){const e=$t(this._hostTNode,this._hostLView);if(jt(e)){const t=Lt(e,this._hostLView),n=Vt(e);return new rn(t[1].data[n+8],t)}return new rn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const t=Xl(this._lContainer);return null!==t&&t[e]||null}get length(){return this._lContainer.length-se}createEmbeddedView(e,t,n){const i=e.createEmbeddedView(t||{});return this.insert(i,n),i}createComponent(e,t,n,i,r){const o=n||this.parentInjector;if(!r&&null==e.ngModule&&o){const e=o.get(Ul,null);e&&(r=e)}const s=e.create(o,i,void 0,r);return this.insert(s.hostView,t),s}insert(e,t){const n=e._lView,i=n[1];if(ce(n[3])){const t=this.indexOf(e);if(-1!==t)this.detach(t);else{const t=n[3],i=new Kl(t,t[6],t[3]);i.detach(i.indexOf(e))}}const r=this._adjustIndex(t),o=this._lContainer;!function(e,t,n,i){const r=se+i,o=n.length;i>0&&(n[r-1][4]=t),iLi});class iu extends nl{constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=e.selectors.map(jr).join(","),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}get inputs(){return tu(this.componentDef.inputs)}get outputs(){return tu(this.componentDef.outputs)}create(e,t,n,i){const r=(i=i||this.ngModule)?function(e,t){return{get:(n,i,r)=>{const o=e.get(n,Zl,r);return o!==Zl||i===Zl?o:t.get(n,i,r)}}}(e,i.injector):e,o=r.get(ul,Pe),s=r.get(pl,null),a=o.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",l=n?function(e,t,n){if(ke(e))return e.selectRootElement(t,n===M.ShadowDom);let i="string"==typeof t?e.querySelector(t):t;return i.textContent="",i}(a,n,this.componentDef.encapsulation):Zi(o.createRenderer(null,this.componentDef),c,function(e){const t=e.toLowerCase();return"svg"===t?Oe:"math"===t?"http://www.w3.org/1998/MathML/":null}(c)),u=this.componentDef.onPush?576:528,d={components:[],scheduler:Li,clean:Eo,playerHandler:null,flags:0},h=oo(0,null,null,1,0,null,null,null,null,null),p=Gr(null,h,d,u,null,null,o,a,s,r);let f,g;pt(p);try{const e=function(e,t,n,i,r,o){const s=n[1];n[20]=e;const a=Yr(s,20,2,"#host",null),c=a.mergedAttrs=t.hostAttrs;null!==c&&(Vo(a,c,!0),null!==e&&(Dt(r,e,c),null!==a.classes&&Or(r,e,a.classes),null!==a.styles&&_r(r,e,a.styles)));const l=i.createRenderer(e,t),u=Gr(n,ro(t),null,t.onPush?64:16,n[20],a,i,l,null,null);return s.firstCreatePass&&(Qt(Wt(a,n),s,t.type),po(s,a),go(a,n.length,1)),xo(n,u),n[20]=u}(l,this.componentDef,p,o,a);if(l)if(n)Dt(a,l,["ng-version",gl.full]);else{const{attrs:e,classes:t}=function(e){const t=[],n=[];let i=1,r=2;for(;i0&&Or(a,l,t.join(" "))}if(g=Ie(h,oe),void 0!==t){const e=g.projection=[];for(let n=0;ne(s,t)),t.contentQueries){const e=Ge();t.contentQueries(1,s,e.directiveStart)}const a=Ge();return!o.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(Ct(a.index),uo(n[1],a,0,a.directiveStart,a.directiveEnd,t),ho(t,s)),s}(e,this.componentDef,p,d,[ts]),qr(h,p,null)}finally{yt()}return new ru(this.componentType,f,sl(g,p),p,g)}}class ru extends tl{constructor(e,t,n,i,r){super(),this.location=n,this._rootLView=i,this._tNode=r,this.instance=t,this.hostView=this.changeDetectorRef=new Ml(i),this.componentType=e}get injector(){return new rn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}}const ou=new Map;class su extends Ul{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new eu(this);const n=re(e),i=e[U]||null;i&&Ya(i),this._bootstrapComponents=Bi(n.bootstrap),this._r3Injector=Qo(e,t,[{provide:Ul,useValue:this},{provide:rl,useValue:this.componentFactoryResolver}],u(e)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(e)}get(e,t=es.THROW_IF_NOT_FOUND,n=z.Default){return e===es||e===Ul||e===Lo?this:this._r3Injector.get(e,t,n)}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class au extends $l{constructor(e){super(),this.moduleType=e,null!==re(e)&&function(e){const t=new Set;!function e(n){const i=re(n,!0),r=i.id;null!==r&&(function(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${u(t)} vs ${u(t.name)}`)}(r,ou.get(r),n),ou.set(r,n));const o=Bi(i.imports);for(const s of o)t.has(s)||(t.add(s),e(s))}(e)}(e)}create(e){return new su(this.moduleType,e)}}function cu(e,t,n){const i=tt()+e,r=Ue();return r[i]===Vr?hs(r,i,n?t.call(n):t()):function(e,t){return e[t]}(r,i)}function lu(e,t,n,i){return hu(Ue(),tt(),e,t,n,i)}function uu(e,t,n,i,r){return pu(Ue(),tt(),e,t,n,i,r)}function du(e,t){const n=e[t];return n===Vr?void 0:n}function hu(e,t,n,i,r,o){const s=t+n;return ps(e,s,r)?hs(e,s+1,o?i.call(o,r):i(r)):du(e,s+1)}function pu(e,t,n,i,r,o,s){const a=t+n;return fs(e,a,r,o)?hs(e,a+2,s?i.call(s,r,o):i(r,o)):du(e,a+2)}function fu(e,t){const n=$e();let i;const r=e+oe;n.firstCreatePass?(i=function(e,t){if(t)for(let n=t.length-1;n>=0;n--){const i=t[n];if(e===i.name)return i}throw new fe("302",`The pipe '${e}' could not be found!`)}(t,n.pipeRegistry),n.data[r]=i,i.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(r,i.onDestroy)):i=n.data[r];const o=i.factory||(i.factory=pe(i.type)),s=k(Ss);try{const e=Ft(!1),t=o();return Ft(e),function(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}(n,Ue(),r,t),t}finally{k(s)}}function gu(e,t,n){const i=e+oe,r=Ue(),o=Ae(r,i);return Cu(r,vu(r,i)?hu(r,tt(),t,o.transform,n,o):o.transform(n))}function bu(e,t,n,i){const r=e+oe,o=Ue(),s=Ae(o,r);return Cu(o,vu(o,r)?pu(o,tt(),t,s.transform,n,i,s):s.transform(n,i))}function mu(e,t,n,i,r){const o=e+oe,s=Ue(),a=Ae(s,o);return Cu(s,vu(s,o)?function(e,t,n,i,r,o,s,a){const c=t+n;return gs(e,c,r,o,s)?hs(e,c+3,a?i.call(a,r,o,s):i(r,o,s)):du(e,c+3)}(s,tt(),t,a.transform,n,i,r,a):a.transform(n,i,r))}function yu(e,t,n,i,r,o){const s=e+oe,a=Ue(),c=Ae(a,s);return Cu(a,vu(a,s)?function(e,t,n,i,r,o,s,a,c){const l=t+n;return bs(e,l,r,o,s,a)?hs(e,l+4,c?i.call(c,r,o,s,a):i(r,o,s,a)):du(e,l+4)}(a,tt(),t,c.transform,n,i,r,o,c):c.transform(n,i,r,o))}function vu(e,t){return e[1].data[t].pure}function Cu(e,t){return ls.isWrapped(t)&&(t=ls.unwrap(t),e[nt()]=Vr),t}const wu=class extends i.a{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,n){let i,o=e=>null,s=()=>null;e&&"object"==typeof e?(i=this.__isAsync?t=>{setTimeout(()=>e.next(t))}:t=>{e.next(t)},e.error&&(o=this.__isAsync?t=>{setTimeout(()=>e.error(t))}:t=>{e.error(t)}),e.complete&&(s=this.__isAsync?()=>{setTimeout(()=>e.complete())}:()=>{e.complete()})):(i=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)},t&&(o=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)}),n&&(s=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const a=super.subscribe(i,o,s);return e instanceof r.a&&e.add(a),a}};function Su(){return this._results[cs()]()}class _u{constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const t=cs(),n=_u.prototype;n[t]||(n[t]=Su)}get changes(){return this._changes||(this._changes=new wu)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,t){const n=this;n.dirty=!1;const i=pn(e);(this._changesDetected=!function(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i0)i.push(s[e/2]);else{const r=o[e+1],s=t[-n];for(let e=se;e{class e{constructor(e){this.appInits=e,this.resolve=ol,this.reject=ol,this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}runInitializers(){if(this.initialized)return;const e=[],t=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n{t()}).catch(e=>{this.reject(e)}),0===e.length&&t(),this.initialized=!0}}return e.\u0275fac=function(t){return new(t||e)(kn(Wu,8))},e.\u0275prov=m({token:e,factory:e.\u0275fac}),e})();const Uu=new un("AppId"),$u={provide:Uu,useFactory:function(){return`${Qu()}${Qu()}${Qu()}`},deps:[]};function Qu(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Gu=new un("Platform Initializer"),Yu=new un("Platform ID"),Ku=new un("appBootstrapListener");let Xu=(()=>{class e{log(e){console.log(e)}warn(e){console.warn(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=m({token:e,factory:e.\u0275fac}),e})();const qu=new un("LocaleId"),Ju=new un("DefaultCurrencyCode");var Zu=function(e){return e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore",e}({});class ed{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}const td=function(e){return new au(e)},nd=td,id=function(e){return Promise.resolve(td(e))},rd=function(e){const t=td(e),n=Bi(re(e).declarations).reduce((e,t)=>{const n=ie(t);return n&&e.push(new iu(n)),e},[]);return new ed(t,n)},od=rd,sd=function(e){return Promise.resolve(rd(e))};let ad=(()=>{class e{constructor(){this.compileModuleSync=nd,this.compileModuleAsync=id,this.compileModuleAndAllComponentsSync=od,this.compileModuleAndAllComponentsAsync=sd}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=m({token:e,factory:e.\u0275fac}),e})();const cd=(()=>Promise.resolve(0))();function ld(e){"undefined"==typeof Zone?cd.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class ud{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new wu(!1),this.onMicrotaskEmpty=new wu(!1),this.onStable=new wu(!1),this.onError=new wu(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!n&&t,i.shouldCoalesceRunChangeDetection=n,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function(){let e=V.requestAnimationFrame,t=V.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=()=>{!function(e){-1===e.lastRequestAnimationFrameId&&(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(V,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,pd(e),hd(e)},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),pd(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,r,o,s,a)=>{try{return fd(e),n.invokeTask(r,o,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&t(),gd(e)}},onInvoke:(n,i,r,o,s,a,c)=>{try{return fd(e),n.invoke(r,o,s,a,c)}finally{e.shouldCoalesceRunChangeDetection&&t(),gd(e)}},onHasTask:(t,n,i,r)=>{t.hasTask(i,r),n===i&&("microTask"==r.change?(e._hasPendingMicrotasks=r.microTask,pd(e),hd(e)):"macroTask"==r.change&&(e.hasPendingMacrotasks=r.macroTask))},onHandleError:(t,n,i,r)=>(t.handleError(i,r),e.runOutsideAngular(()=>e.onError.emit(r)),!1)})}(i)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ud.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(ud.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,t,n){return this._inner.run(e,t,n)}runTask(e,t,n,i){const r=this._inner,o=r.scheduleEventTask("NgZoneEvent: "+i,e,dd,ol,ol);try{return r.runTask(o,t,n)}finally{r.cancelTask(o)}}runGuarded(e,t,n){return this._inner.runGuarded(e,t,n)}runOutsideAngular(e){return this._outer.run(e)}}const dd={};function hd(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function pd(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function fd(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function gd(e){e._nesting--,hd(e)}class bd{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new wu,this.onMicrotaskEmpty=new wu,this.onStable=new wu,this.onError=new wu}run(e,t,n){return e.apply(t,n)}runGuarded(e,t,n){return e.apply(t,n)}runOutsideAngular(e){return e()}runTask(e,t,n,i){return e.apply(t,n)}}let md=(()=>{class e{constructor(e){this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{ud.assertNotInAngularZone(),ld(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())ld(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(t=>!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,t,n){let i=-1;t&&t>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(e=>e.timeoutId!==i),e(this._didWork,this.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:i,updateCb:n})}whenStable(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(e,t,n){return[]}}return e.\u0275fac=function(t){return new(t||e)(kn(ud))},e.\u0275prov=m({token:e,factory:e.\u0275fac}),e})(),yd=(()=>{class e{constructor(){this._applications=new Map,Sd.addToWindow(this)}registerApplication(e,t){this._applications.set(e,t)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,t=!0){return Sd.findTestabilityInTree(this,e,t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=m({token:e,factory:e.\u0275fac}),e})();class vd{addToWindow(e){}findTestabilityInTree(e,t,n){return null}}function Cd(e){Sd=e}let wd,Sd=new vd,_d=!0,Od=!1;function xd(){return Od=!0,_d}function zd(){if(Od)throw new Error("Cannot enable prod mode after platform setup.");_d=!1}const Td=new un("AllowMultipleToken");class kd{constructor(e,t){this.name=e,this.token=t}}function Pd(e,t,n=[]){const i=`Platform: ${t}`,r=new un(i);return(t=[])=>{let o=Ed();if(!o||o.injector.get(Td,!1))if(e)e(n.concat(t).concat({provide:r,useValue:!0}));else{const e=n.concat(t).concat({provide:r,useValue:!0},{provide:Fo,useValue:"platform"});!function(e){if(wd&&!wd.destroyed&&!wd.injector.get(Td,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");wd=e.get(Dd);const t=e.get(Gu,null);t&&t.forEach(e=>e())}(es.create({providers:e,name:i}))}return function(e){const t=Ed();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(r)}}function Ed(){return wd&&!wd.destroyed?wd:null}let Dd=(()=>{class e{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,t){const n=function(e,t){let n;return n="noop"===e?new bd:("zone.js"===e?void 0:e)||new ud({enableLongStackTrace:xd(),shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)}),n}(t?t.ngZone:void 0,{ngZoneEventCoalescing:t&&t.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:t&&t.ngZoneRunCoalescing||!1}),i=[{provide:ud,useValue:n}];return n.run(()=>{const t=es.create({providers:i,parent:this.injector,name:e.moduleType.name}),r=e.create(t),o=r.injector.get(Ai,null);if(!o)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.runOutsideAngular(()=>{const e=n.onError.subscribe({next:e=>{o.handleError(e)}});r.onDestroy(()=>{Ad(this._modules,r),e.unsubscribe()})}),function(e,t,n){try{const i=n();return Is(i)?i.catch(n=>{throw t.runOutsideAngular(()=>e.handleError(n)),n}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}(o,n,()=>{const e=r.injector.get(Hu);return e.runInitializers(),e.donePromise.then(()=>(Ya(r.injector.get(qu,Ha)||Ha),this._moduleDoBootstrap(r),r))})})}bootstrapModule(e,t=[]){const n=Md({},t);return function(e,t,n){const i=new au(n);return Promise.resolve(i)}(0,0,e).then(e=>this.bootstrapModuleFactory(e,n))}_moduleDoBootstrap(e){const t=e.injector.get(Id);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>t.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${u(e.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);e.instance.ngDoBootstrap(t)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(e=>e.destroy()),this._destroyListeners.forEach(e=>e()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(t){return new(t||e)(kn(es))},e.\u0275prov=m({token:e,factory:e.\u0275fac}),e})();function Md(e,t){return Array.isArray(t)?t.reduce(Md,e):Object.assign(Object.assign({},e),t)}let Id=(()=>{class e{constructor(e,t,n,i,r,c){this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=i,this._componentFactoryResolver=r,this._initStatus=c,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const l=new o.a(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),u=new o.a(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{ud.assertNotInAngularZone(),ld(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{ud.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{e.next(!1)}))});return()=>{t.unsubscribe(),n.unsubscribe()}});this.isStable=Object(s.a)(l,u.pipe(Object(a.a)()))}bootstrap(e,t){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=e instanceof nl?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);const i=n.isBoundToModule?void 0:this._injector.get(Ul),r=n.create(es.NULL,[],t||n.selector,i),o=r.location.nativeElement,s=r.injector.get(md,null),a=s&&r.injector.get(yd);return s&&a&&a.registerApplication(o,s),r.onDestroy(()=>{this.detachView(r.hostView),Ad(this.components,r),a&&a.unregisterApplication(o)}),this._loadComponent(r),xd()&&this._console.log("Angular is running in development mode. Call enableProdMode() to enable production mode."),r}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let e of this._views)e.detectChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;Ad(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Ku,[]).concat(this._bootstrapListeners).forEach(t=>t(e))}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.\u0275fac=function(t){return new(t||e)(kn(ud),kn(Xu),kn(es),kn(Ai),kn(rl),kn(Hu))},e.\u0275prov=m({token:e,factory:e.\u0275fac}),e})();function Ad(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Rd{}class jd{}const Vd={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let Ld=(()=>{class e{constructor(e,t){this._compiler=e,this._config=t||Vd}load(e){return this.loadAndCompile(e)}loadAndCompile(e){let[t,i]=e.split("#");return void 0===i&&(i="default"),n("zn8P")(t).then(e=>e[i]).then(e=>Nd(e,t,i)).then(e=>this._compiler.compileModuleAsync(e))}loadFactory(e){let[t,i]=e.split("#"),r="NgFactory";return void 0===i&&(i="default",r=""),n("zn8P")(this._config.factoryPathPrefix+t+this._config.factoryPathSuffix).then(e=>e[i+r]).then(e=>Nd(e,t,i))}}return e.\u0275fac=function(t){return new(t||e)(kn(ad),kn(jd,8))},e.\u0275prov=m({token:e,factory:e.\u0275fac}),e})();function Nd(e,t,n){if(!e)throw new Error(`Cannot find '${n}' in '${t}'`);return e}const Fd=function(e){return null},Bd=Pd(null,"core",[{provide:Yu,useValue:"unknown"},{provide:Dd,deps:[es]},{provide:yd,deps:[]},{provide:Xu,deps:[]}]),Wd=[{provide:Id,useClass:Id,deps:[ud,Xu,es,Ai,rl,Hu]},{provide:nu,deps:[ud],useFactory:function(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(e){t.push(e)}}},{provide:Hu,useClass:Hu,deps:[[new In,Wu]]},{provide:ad,useClass:ad,deps:[]},$u,{provide:Tl,useFactory:function(){return Vl},deps:[]},{provide:Pl,useFactory:function(){return Ll},deps:[]},{provide:qu,useFactory:function(e){return Ya(e=e||"undefined"!=typeof $localize&&$localize.locale||Ha),e},deps:[[new Mn(qu),new In,new An]]},{provide:Ju,useValue:"USD"}];let Hd=(()=>{class e{constructor(e){}}return e.\u0275mod=J({type:e}),e.\u0275inj=y({factory:function(t){return new(t||e)(kn(Id))},providers:Wd}),e})()},g9KO:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var i=n("pl0G"),r=n("jIYg"),o=n("/h9T");function s(e,t){Object(r.a)(2,arguments);var n=Object(o.a)(t);return Object(i.a)(e,-n)}},gRHU:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n("2fFW"),r=n("NJ4a");const o={closed:!0,next(e){},error(e){if(i.a.useDeprecatedSynchronousErrorHandling)throw e;Object(r.a)(e)},complete(){}}},gXqy:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("JCDJ"),r=n("M34a"),o=n("jIYg"),s=864e5;function a(e,t){Object(o.a)(2,arguments);var n=Object(r.a)(e),a=Object(r.a)(t),c=n.getTime()-Object(i.a)(n),l=a.getTime()-Object(i.a)(a);return Math.round((c-l)/s)}},"gb/T":function(e,t,n){var i,r;e.exports=(r=n("Ib8C"),n("OLod"),r.mode.ECB=((i=r.lib.BlockCipherMode.extend()).Encryptor=i.extend({processBlock:function(e,t){this._cipher.encryptBlock(e,t)}}),i.Decryptor=i.extend({processBlock:function(e,t){this._cipher.decryptBlock(e,t)}}),i),r.mode.ECB)},ggBN:function(e,t,n){var i={"./messages(ar-AE).json":["zO+Y",4],"./messages(en-US).json":["4DL9",5],"./messages(es-ES).json":["Su/R",6],"./messages(fr-FR).json":["wUyn",7],"./messages(id-ID).json":["ABwJ",8],"./messages(ja-JP).json":["+smH",9],"./messages(ko-KR).json":["rcCZ",10],"./messages(pt-BR).json":["+aHQ",11]};function r(e){if(!n.o(i,e))return Promise.resolve().then(function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=i[e],r=t[0];return n.e(t[1]).then(function(){return n.t(r,3)})}r.keys=function(){return Object.keys(i)},r.id="ggBN",e.exports=r},gr1v:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var i=n("/Tr7"),r=n("jIYg"),o=n("tpup");function s(e){Object(r.a)(1,arguments);var t=Object(i.a)(e),n=t.getUTCFullYear(),s=new Date(0);s.setUTCFullYear(n+1,0,4),s.setUTCHours(0,0,0,0);var a=Object(o.a)(s),c=new Date(0);c.setUTCFullYear(n,0,4),c.setUTCHours(0,0,0,0);var l=Object(o.a)(c);return t.getTime()>=a.getTime()?n+1:t.getTime()>=l.getTime()?n:n-1}},hpnv:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("ofXK"),r=n("pdGh"),o=n("FwiY"),s=n("fXoL");let a=(()=>{class e{}return e.\u0275mod=s.Ob({type:e}),e.\u0275inj=s.Nb({factory:function(t){return new(t||e)},providers:[],imports:[[i.c,r.a,o.b]]}),e})()},iPdJ:function(e,t,n){"use strict";n.d(t,"a",function(){return p});var i=n("fXoL"),r=n("B7ZD"),o=n("tb4M"),s=n("2Vo4"),a=n("ofXK"),c=n("lR5k"),l=n("T94O");function u(e,t){1&e&&i.Rb(0,"nd-loading",3),2&e&&i.wc("scale",.3)}function d(e,t){if(1&e&&(i.Ub(0),i.Qc(1,u,1,1,"nd-loading",2),i.pc(2,"async"),i.Tb()),2&e){const e=i.oc();i.Cb(1),i.wc("ngIf",i.qc(2,1,e.loading$))}}let h=0,p=(()=>{class e extends o.n{constructor(){super(),this.loading$=new s.a(!0),this.url$=new s.a(null),this.version=+new Date,this.ndShowLoading=!0,this.ndDocLoaded=new i.n,this.className="nd-markdown-doc",this.instId="nd-markdown-doc-inst_"+h++}get _fileName(){return this.ndFileName||this.filename}ngOnInit(){super.ngOnInit(),this.url$.next(this.buildUrl(this._fileName)),this.loading$.next(!0)}onMdDocLoadFail(e){console.log(e),this.loading$.next(!1)}onMdDocLoad(e){const t=document.querySelector("markdown title, h1, h2, h3");let n=t&&t.textContent.trim();this.ndDocLoaded.emit({src:e,title:n}),this.loading$.next(!1)}buildUrl(e){if(e.startsWith("//")||/[\w]+:\/\//.test(e))return e;let t=e;return this.ndIgnoreLang||(t=`${e}_${(this.ndLang||this.lang)===r.d.zh_CN?r.d.zh_CN:r.d.en_US}`),`/assets/docs/${t}.md?${this.version}`}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Kb({type:e,selectors:[["nd-markdown-doc"]],hostVars:3,hostBindings:function(e,t){2&e&&(i.Db("id",t.instId),i.Eb(t.className))},inputs:{filename:"filename",ndFileName:"ndFileName",ndLang:"ndLang",ndIgnoreLang:"ndIgnoreLang",ndShowLoading:"ndShowLoading"},outputs:{ndDocLoaded:"ndDocLoaded"},features:[i.zb],decls:3,vars:5,consts:[[4,"ngIf"],[3,"src","lang","load","error"],[3,"scale",4,"ngIf"],[3,"scale"]],template:function(e,t){1&e&&(i.Qc(0,d,3,3,"ng-container",0),i.Wb(1,"markdown",1),i.lc("load",function(e){return t.onMdDocLoad(e)})("error",function(e){return t.onMdDocLoadFail(e)}),i.pc(2,"async"),i.Vb()),2&e&&(i.wc("ngIf",t.ndShowLoading),i.Cb(1),i.wc("src",i.qc(2,3,t.url$))("lang",t.lang))},directives:[a.o,c.a,l.a],pipes:[a.b],styles:[".nd-markdown-doc>markdown h1,.nd-markdown-doc>markdown h2,.nd-markdown-doc>markdown h3,.nd-markdown-doc>markdown h4,.nd-markdown-doc>markdown h5,.nd-markdown-doc>markdown h6{font-family:inherit;font-weight:700;color:#1f2b4b;margin:8px 0}.nd-markdown-doc>markdown ul{margin-left:40px}.nd-markdown-doc>markdown ul li{list-style-type:disc}.nd-markdown-doc>markdown table{border-collapse:collapse;border-spacing:0;background-color:initial;width:100%;max-width:100%;margin-bottom:21px}.nd-markdown-doc>markdown table>tbody>tr>td,.nd-markdown-doc>markdown table>tbody>tr>th,.nd-markdown-doc>markdown table>thead>tr>td,.nd-markdown-doc>markdown table>thead>tr>th{border:1px solid #ced4da;padding:10px 16px;vertical-align:top}.nd-markdown-doc>markdown table>thead>tr>th{color:#1f2b4b;background-color:#e1e2e7}.nd-markdown-doc>markdown .hide{display:none!important}"],encapsulation:2,changeDetection:0}),e})()},iSMj:function(e,t,n){"use strict";var i={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},r=n("zMQz"),o={date:Object(r.a)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:Object(r.a)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:Object(r.a)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},s={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},a=n("ku8+"),c={ordinalNumber:function(e,t){var n=Number(e),i=n%100;if(i>20||i<10)switch(i%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:Object(a.a)({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:Object(a.a)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:Object(a.a)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:Object(a.a)({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:Object(a.a)({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},l=n("wzM+"),u=n("vRX4"),d={ordinalNumber:Object(u.a)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:Object(l.a)({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:Object(l.a)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Object(l.a)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:Object(l.a)({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:Object(l.a)({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})};t.a={code:"en-US",formatDistance:function(e,t,n){var r,o=i[e];return r="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r},formatLong:o,formatRelative:function(e,t,n,i){return s[e]},localize:c,match:d,options:{weekStartsOn:0,firstWeekContainsDate:1}}},itXk:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var i=n("z+Ro"),r=n("DH7j"),o=n("l7GE"),s=n("ZUHj"),a=n("yCtX");const c={};function l(...e){let t=null,n=null;return Object(i.a)(e[e.length-1])&&(n=e.pop()),"function"==typeof e[e.length-1]&&(t=e.pop()),1===e.length&&Object(r.a)(e[0])&&(e=e[0]),Object(a.a)(e,n).lift(new u(t))}class u{constructor(e){this.resultSelector=e}call(e,t){return t.subscribe(new d(e,this.resultSelector))}}class d extends o.a{constructor(e,t){super(e),this.resultSelector=t,this.active=0,this.values=[],this.observables=[]}_next(e){this.values.push(c),this.observables.push(e)}_complete(){const e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(let n=0;n1?"s":"")+" required, but only "+t.length+" present")}n.d(t,"a",function(){return i})},jJa6:function(e,t,n){"use strict";n.d(t,"a",function(){return d});var i=n("LRne"),r=n("fXoL"),o=n("tk/3"),s=n("jhN1"),a=n("ofXK"),c=n("FwiY"),l=n("IuAY");function u(e,t){if(1&e&&r.Rb(0,"i",1),2&e){const e=r.oc();r.wc("innerHtml",e.content,r.Ic)}}let d=(()=>{class e{constructor(e,t,n){this.httpClient=e,this.cdr=t,this.sant=n,this.clazz=!0,this.content=null}ngOnInit(){}ngOnChanges(e){e.ndType&&this.loadIcon(e.ndType.currentValue)}loadIcon(t){t||(this.content=null,this.cdr.markForCheck());const n=e._iconStore[t],r=`/assets/icons/svg/${t}.svg`;(n?Object(i.a)(n):this.httpClient.get(r,{responseType:"text"})).subscribe(n=>{this.content=this.sant.bypassSecurityTrustHtml(n),e._iconStore[t]=n,this.cdr.markForCheck()})}}return e._iconStore={},e.\u0275fac=function(t){return new(t||e)(r.Qb(o.c),r.Qb(r.h),r.Qb(s.b))},e.\u0275cmp=r.Kb({type:e,selectors:[["nd-icon"]],hostVars:2,hostBindings:function(e,t){2&e&&r.Ib("nd-icon",t.clazz)},inputs:{ndType:"ndType"},features:[r.Ab],decls:3,vars:1,consts:[["nz-icon","",3,"innerHtml",4,"ngIf"],["nz-icon","",3,"innerHtml"]],template:function(e,t){1&e&&(r.Sc(0," "),r.Qc(1,u,1,1,"i",0),r.Sc(2," ")),2&e&&(r.Cb(1),r.wc("ngIf",t.content))},directives:[a.o,c.a,l.a],styles:["\n .nd-icon {\n line-height: 1;\n }\n "],encapsulation:2,changeDetection:0}),e})()},jO9C:function(e,t,n){var i;e.exports=(i=n("Ib8C"),n("OLod"),i.pad.Iso97971={pad:function(e,t){e.concat(i.lib.WordArray.create([2147483648],1)),i.pad.ZeroPadding.pad(e,t)},unpad:function(e){i.pad.ZeroPadding.unpad(e),e.sigBytes--}},i.pad.Iso97971)},jQh8:function(e,t,n){var i,r,o;!function(s){if("object"==typeof e.exports){var a=s(0,t);void 0!==a&&(e.exports=a)}else r=[n,t],void 0===(o="function"==typeof(i=s)?i.apply(t,r):i)||(e.exports=o)}(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=void 0;t.default=["ko",[["AM","PM"],n,["\uc624\uc804","\uc624\ud6c4"]],n,[["\uc77c","\uc6d4","\ud654","\uc218","\ubaa9","\uae08","\ud1a0"],n,["\uc77c\uc694\uc77c","\uc6d4\uc694\uc77c","\ud654\uc694\uc77c","\uc218\uc694\uc77c","\ubaa9\uc694\uc77c","\uae08\uc694\uc77c","\ud1a0\uc694\uc77c"],["\uc77c","\uc6d4","\ud654","\uc218","\ubaa9","\uae08","\ud1a0"]],n,[["1\uc6d4","2\uc6d4","3\uc6d4","4\uc6d4","5\uc6d4","6\uc6d4","7\uc6d4","8\uc6d4","9\uc6d4","10\uc6d4","11\uc6d4","12\uc6d4"],n,n],n,[["BC","AD"],n,["\uae30\uc6d0\uc804","\uc11c\uae30"]],0,[6,0],["yy. M. d.","y. M. d.","y\ub144 M\uc6d4 d\uc77c","y\ub144 M\uc6d4 d\uc77c EEEE"],["a h:mm","a h:mm:ss","a h\uc2dc m\ubd84 s\ucd08 z","a h\uc2dc m\ubd84 s\ucd08 zzzz"],["{1} {0}",n,n,n],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"KRW","\u20a9","\ub300\ud55c\ubbfc\uad6d \uc6d0",{AUD:["AU$","$"],JPY:["JP\xa5","\xa5"],RON:[n,"L"],TWD:["NT$"],USD:["US$","$"]},"ltr",function(e){return 5}]})},jWS8:function(e,t,n){"use strict";n.d(t,"a",function(){return C});var i=n("fXoL"),r=n("U8d7"),o=n("ofXK"),s=n("pdGh"),a=n("FwiY");const c=["ndTitle"],l=["ndExtra"],u=["ndHeader"],d=["ndFooter"];function h(e,t){if(1&e&&(i.Ub(0),i.Sc(1),i.Tb()),2&e){const e=i.oc(2);i.Cb(1),i.Tc(e.header)}}function p(e,t){if(1&e&&(i.Wb(0,"div",5),i.Sc(1,"\n "),i.Qc(2,h,2,1,"ng-container",6),i.Sc(3,"\n "),i.Vb()),2&e){const e=i.oc();i.wc("ngStyle",e.ndHeaderStyle),i.Cb(2),i.wc("nzStringTemplateOutlet",e.header)}}function f(e,t){if(1&e){const e=i.Xb();i.Wb(0,"div",7),i.lc("click",function(){return i.Hc(e),i.oc().onClose()}),i.Sc(1,"\n "),i.Rb(2,"i",8),i.Sc(3,"\n "),i.Vb()}}function g(e,t){if(1&e&&(i.Ub(0),i.Sc(1),i.Tb()),2&e){const e=i.oc(2);i.Cb(1),i.Tc(e.title)}}function b(e,t){if(1&e&&(i.Wb(0,"div",9),i.Sc(1,"\n "),i.Qc(2,g,2,1,"ng-container",6),i.Sc(3,"\n "),i.Vb()),2&e){const e=i.oc();i.Cb(2),i.wc("nzStringTemplateOutlet",e.title)}}function m(e,t){if(1&e&&(i.Ub(0),i.Sc(1),i.Tb()),2&e){const e=i.oc(2);i.Cb(1),i.Tc(e.footer)}}function y(e,t){if(1&e&&(i.Wb(0,"div",10),i.Sc(1,"\n "),i.Qc(2,m,2,1,"ng-container",6),i.Sc(3,"\n "),i.Vb()),2&e){const e=i.oc();i.Cb(2),i.wc("nzStringTemplateOutlet",e.footer)}}const v=["*"];let C=(()=>{class e{constructor(e){this.host=e,this.defaultClassName=!0,this.ndType="default",this.ndSize="default",this.ndClose=new i.n}get isWarningType(){return"warning"===this.ndType}get isLargeSize(){return"large"===this.ndSize}get _bordered(){return!r.k.isEmptyOrFalsy(this.ndBordered)}get _shadowed(){return!r.k.isEmptyOrFalsy(this.ndShadowed)}get _reactive(){return!r.k.isEmptyOrFalsy(this.ndReactive)}get _round(){return!r.k.isEmptyOrFalsy(this.ndRound)}get _noMargin(){return!r.k.isEmptyOrFalsy(this.ndNoMargin)}get title(){return this.ndTitle||this.ndContentTitle}get extra(){return this.ndExtra||this.ndContentExtra}get header(){return this.ndHeader||this.ndContentHeader}get footer(){return this.ndFooter||this.ndContentFooter}get closable(){return!!this.ndClosable||""===this.ndClosable}ngOnInit(){Object(i.X)()&&!this._noMargin&&console.warn("Please use `nz-space` to control the interval, the margin will be removed in future version")}onClose(){this.host.element.nativeElement.remove(),this.ndClose.next()}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.R))},e.\u0275cmp=i.Kb({type:e,selectors:[["nd-panel"]],contentQueries:function(e,t,n){if(1&e&&(i.Jb(n,c,1),i.Jb(n,l,1),i.Jb(n,u,1),i.Jb(n,d,1)),2&e){let e;i.Dc(e=i.mc())&&(t.ndContentTitle=e.first),i.Dc(e=i.mc())&&(t.ndContentExtra=e.first),i.Dc(e=i.mc())&&(t.ndContentHeader=e.first),i.Dc(e=i.mc())&&(t.ndContentFooter=e.first)}},hostVars:16,hostBindings:function(e,t){2&e&&i.Ib("nd-panel",t.defaultClassName)("nd-panel_warning",t.isWarningType)("nd-panel_large",t.isLargeSize)("nd-panel_bordered",t._bordered)("nd-panel_shadowed",t._shadowed)("nd-panel_reactive",t._reactive)("nd-panel_round",t._round)("nd-panel_no-margin",t._noMargin)},inputs:{ndBordered:"ndBordered",ndShadowed:"ndShadowed",ndReactive:"ndReactive",ndRound:"ndRound",ndNoMargin:"ndNoMargin",ndTitle:"ndTitle",ndExtra:"ndExtra",ndHeader:"ndHeader",ndFooter:"ndFooter",ndBodyStyle:"ndBodyStyle",ndHeaderStyle:"ndHeaderStyle",ndType:"ndType",ndSize:"ndSize",ndClosable:"ndClosable"},outputs:{ndClose:"ndClose"},ngContentSelectors:v,decls:14,vars:5,consts:[["class","nd-panel__header",3,"ngStyle",4,"ngIf"],["class","nd-panel__dismiss",3,"click",4,"ngIf"],[1,"nd-panel__body",3,"ngStyle"],["class","nd-panel__title",4,"ngIf"],["class","nd-panel__footer",4,"ngIf"],[1,"nd-panel__header",3,"ngStyle"],[4,"nzStringTemplateOutlet"],[1,"nd-panel__dismiss",3,"click"],["nz-icon","","nzType","close","nzTheme","outline"],[1,"nd-panel__title"],[1,"nd-panel__footer"]],template:function(e,t){1&e&&(i.vc(),i.Sc(0,"\n "),i.Qc(1,p,4,2,"div",0),i.Sc(2,"\n "),i.Qc(3,f,4,0,"div",1),i.Sc(4,"\n "),i.Wb(5,"div",2),i.Sc(6,"\n "),i.Qc(7,b,4,1,"div",3),i.Sc(8,"\n "),i.uc(9),i.Sc(10,"\n "),i.Vb(),i.Sc(11,"\n "),i.Qc(12,y,4,1,"div",4),i.Sc(13,"\n ")),2&e&&(i.Cb(1),i.wc("ngIf",t.header),i.Cb(2),i.wc("ngIf",t.closable),i.Cb(2),i.wc("ngStyle",t.ndBodyStyle),i.Cb(2),i.wc("ngIf",t.title),i.Cb(5),i.wc("ngIf",t.footer))},directives:[o.o,o.p,s.b,a.a],styles:[":root{--nd-panel-padding:12px;--nd-panel-padding-h:12px;--nd-panel-header-bg:#ced4da;--nd-panel-border-radius:0px;--nd-panel-border-color:#ced4da}.nd-panel{display:block;font-size:14px;line-height:22px;margin-bottom:16px;background:#fff;position:relative;border-radius:var(--nd-panel-border-radius)}.nd-panel_round{--nd-panel-border-radius:var(--nd-border-radius-base)}.nd-panel_no-margin{margin-bottom:0}.nd-panel__header{padding:8px var(--nd-panel-padding-h);background-color:var(--nd-panel-header-bg);border-bottom:1px solid var(--nd-panel-border-color);border-top-left-radius:inherit;border-top-right-radius:inherit}.nd-panel_large>.nd-panel__header{padding:16px 20px}.nd-panel__dismiss{position:absolute;right:0;top:0;padding:var(--nd-panel-padding);cursor:pointer}.nd-panel__dismiss:hover{color:#1f2b4b}.nd-panel__body{padding:var(--nd-panel-padding);border-radius:inherit}.nd-panel_large>.nd-panel__body{padding:20px}.nd-panel__footer{padding:var(--nd-panel-padding);border-top:1px solid var(--nd-panel-border-color);border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.nd-panel__title{color:#1f2b4b;font-size:14px;line-height:22px;font-weight:600;margin-bottom:8px}.nd-panel_warning .nd-panel__header{color:#fff;background-color:#ffa11f}.nd-panel_warning .nd-panel__body{background-color:rgba(255,161,31,.12)}.nd-panel_bordered{border:1px solid var(--nd-panel-border-color)}.nd-panel_shadowed{box-shadow:0 2px 8px 0 rgba(152,158,175,.32)}.nd-panel__shadow-reactive:hover{box-shadow:3px 12px 36px 0 rgba(152,158,175,.32)}"],encapsulation:2,changeDetection:0}),e})()},jZKg:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n("HDdC"),r=n("quSY");function o(e,t){return new i.a(n=>{const i=new r.a;let o=0;return i.add(t.schedule(function(){o!==e.length?(n.next(e[o++]),n.closed||i.add(this.schedule())):n.complete()})),i})}},jhN1:function(e,t,n){"use strict";n.d(t,"a",function(){return V}),n.d(t,"b",function(){return D}),n.d(t,"c",function(){return N}),n.d(t,"d",function(){return W}),n.d(t,"e",function(){return R}),n.d(t,"f",function(){return w});var i=n("ofXK"),r=n("fXoL");class o extends i.D{constructor(){super()}supportsDOMEvents(){return!0}}class s extends o{static makeCurrent(){Object(i.H)(new s)}getProperty(e,t){return e[t]}log(e){window.console&&window.console.log&&window.console.log(e)}logGroup(e){window.console&&window.console.group&&window.console.group(e)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(e,t,n){return e.addEventListener(t,n,!1),()=>{e.removeEventListener(t,n,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){return e.parentNode&&e.parentNode.removeChild(e),e}getValue(e){return e.value}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(e){const t=c||(c=document.querySelector("base"),c)?c.getAttribute("href"):null;return null==t?null:(n=t,a||(a=document.createElement("a")),a.setAttribute("href",n),"/"===a.pathname.charAt(0)?a.pathname:"/"+a.pathname);var n}resetBaseElement(){c=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(e){return Object(i.G)(document.cookie,e)}}let a,c=null;const l=new r.r("TRANSITION_ID"),u=[{provide:r.d,useFactory:function(e,t,n){return()=>{n.get(r.e).donePromise.then(()=>{const n=Object(i.F)();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter(t=>t.getAttribute("ng-transition")===e).forEach(e=>n.remove(e))})}},deps:[l,i.e,r.s],multi:!0}];class d{static init(){Object(r.Z)(new d)}addToWindow(e){r.qb.getAngularTestability=(t,n=!0)=>{const i=e.findTestabilityInTree(t,n);if(null==i)throw new Error("Could not find testability for element.");return i},r.qb.getAllAngularTestabilities=()=>e.getAllTestabilities(),r.qb.getAllAngularRootElements=()=>e.getAllRootElements(),r.qb.frameworkStabilizers||(r.qb.frameworkStabilizers=[]),r.qb.frameworkStabilizers.push(e=>{const t=r.qb.getAllAngularTestabilities();let n=t.length,i=!1;const o=function(t){i=i||t,n--,0==n&&e(i)};t.forEach(function(e){e.whenStable(o)})})}findTestabilityInTree(e,t,n){if(null==t)return null;const r=e.getTestability(t);return null!=r?r:n?Object(i.F)().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}const h=new r.r("EventManagerPlugins");let p=(()=>{class e{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(e=>e.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}addGlobalEventListener(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const n=this._plugins;for(let i=0;i{class e{constructor(){this._stylesSet=new Set}addStyles(e){const t=new Set;e.forEach(e=>{this._stylesSet.has(e)||(this._stylesSet.add(e),t.add(e))}),this.onStylesAdded(t)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac}),e})(),b=(()=>{class e extends g{constructor(e){super(),this._doc=e,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(e.head)}_addStylesToHost(e,t){e.forEach(e=>{const n=this._doc.createElement("style");n.textContent=e,this._styleNodes.add(t.appendChild(n))})}addHost(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)}removeHost(e){this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach(t=>this._addStylesToHost(e,t))}ngOnDestroy(){this._styleNodes.forEach(e=>Object(i.F)().remove(e))}}return e.\u0275fac=function(t){return new(t||e)(r.hc(i.e))},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac}),e})();const m={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},y=/%COMP%/g;function v(e,t,n){for(let i=0;i{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let w=(()=>{class e{constructor(e,t,n){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new S(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case r.S.Emulated:{let n=this.rendererByCompId.get(t.id);return n||(n=new _(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n}case 1:case r.S.ShadowDom:return new O(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const e=v(t.id,t.styles,[]);this.sharedStylesHost.addStyles(e),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(t){return new(t||e)(r.hc(p),r.hc(b),r.hc(r.c))},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac}),e})();class S{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,t){return t?document.createElementNS(m[t]||t,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,t){e.appendChild(t)}insertBefore(e,t,n){e&&e.insertBefore(t,n)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error(`The selector "${e}" did not match any elements`);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,i){if(i){t=i+":"+t;const r=m[i];r?e.setAttributeNS(r,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const i=m[n];i?e.removeAttributeNS(i,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,i){i&(r.I.DashCase|r.I.Important)?e.style.setProperty(t,n,i&r.I.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&r.I.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){e[t]=n}setValue(e,t){e.nodeValue=t}listen(e,t,n){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,C(n)):this.eventManager.addEventListener(e,t,C(n))}}class _ extends S{constructor(e,t,n,i){super(e),this.component=n;const r=v(i+"-"+n.id,n.styles,[]);t.addStyles(r),this.contentAttr="_ngcontent-%COMP%".replace(y,i+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(y,i+"-"+n.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,t){const n=super.createElement(e,t);return super.setAttribute(n,this.contentAttr,""),n}}class O extends S{constructor(e,t,n,i){super(e),this.sharedStylesHost=t,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const r=v(i.id,i.styles,[]);for(let o=0;o{class e extends f{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,n){return e.addEventListener(t,n,!1),()=>this.removeEventListener(e,t,n)}removeEventListener(e,t,n){return e.removeEventListener(t,n)}}return e.\u0275fac=function(t){return new(t||e)(r.hc(i.e))},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac}),e})();const z=["alt","control","meta","shift"],T={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},k={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},P={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let E=(()=>{class e extends f{constructor(e){super(e)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,n,r){const o=e.parseEventName(n),s=e.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Object(i.F)().onAndCancel(t,o.domEventName,s))}static parseEventName(t){const n=t.toLowerCase().split("."),i=n.shift();if(0===n.length||"keydown"!==i&&"keyup"!==i)return null;const r=e._normalizeKey(n.pop());let o="";if(z.forEach(e=>{const t=n.indexOf(e);t>-1&&(n.splice(t,1),o+=e+".")}),o+=r,0!=n.length||0===r.length)return null;const s={};return s.domEventName=i,s.fullKey=o,s}static getEventFullKey(e){let t="",n=function(e){let t=e.key;if(null==t){if(t=e.keyIdentifier,null==t)return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&k.hasOwnProperty(t)&&(t=k[t]))}return T[t]||t}(e);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),z.forEach(i=>{i!=n&&(0,P[i])(e)&&(t+=i+".")}),t+=n,t}static eventCallback(t,n,i){return r=>{e.getEventFullKey(r)===t&&i.runGuarded(()=>n(r))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return e.\u0275fac=function(t){return new(t||e)(r.hc(i.e))},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac}),e})(),D=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(r.Mb)({factory:function(){return Object(r.hc)(I)},token:e,providedIn:"root"}),e})();function M(e){return new I(e.get(i.e))}let I=(()=>{class e extends D{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case r.K.NONE:return t;case r.K.HTML:return Object(r.fb)(t,"HTML")?Object(r.yb)(t):Object(r.db)(this._doc,String(t)).toString();case r.K.STYLE:return Object(r.fb)(t,"Style")?Object(r.yb)(t):t;case r.K.SCRIPT:if(Object(r.fb)(t,"Script"))return Object(r.yb)(t);throw new Error("unsafe value used in a script context");case r.K.URL:return Object(r.pb)(t),Object(r.fb)(t,"URL")?Object(r.yb)(t):Object(r.eb)(String(t));case r.K.RESOURCE_URL:if(Object(r.fb)(t,"ResourceURL"))return Object(r.yb)(t);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(e){return Object(r.gb)(e)}bypassSecurityTrustStyle(e){return Object(r.jb)(e)}bypassSecurityTrustScript(e){return Object(r.ib)(e)}bypassSecurityTrustUrl(e){return Object(r.kb)(e)}bypassSecurityTrustResourceUrl(e){return Object(r.hb)(e)}}return e.\u0275fac=function(t){return new(t||e)(r.hc(i.e))},e.\u0275prov=Object(r.Mb)({factory:function(){return M(Object(r.hc)(r.o))},token:e,providedIn:"root"}),e})();const A=[{provide:r.D,useValue:i.E},{provide:r.E,useValue:function(){s.makeCurrent(),d.init()},multi:!0},{provide:i.e,useFactory:function(){return Object(r.wb)(document),document},deps:[]}],R=Object(r.T)(r.Y,"browser",A),j=[[],{provide:r.bb,useValue:"root"},{provide:r.m,useFactory:function(){return new r.m},deps:[]},{provide:h,useClass:x,multi:!0,deps:[i.e,r.B,r.D]},{provide:h,useClass:E,multi:!0,deps:[i.e]},[],{provide:w,useClass:w,deps:[p,b,r.c]},{provide:r.H,useExisting:w},{provide:g,useExisting:b},{provide:b,useClass:b,deps:[i.e]},{provide:r.O,useClass:r.O,deps:[r.B]},{provide:p,useClass:p,deps:[h,r.B]},[]];let V=(()=>{class e{constructor(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(t){return{ngModule:e,providers:[{provide:r.c,useValue:t.appId},{provide:l,useExisting:r.c},u]}}}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)(r.hc(e,12))},providers:j,imports:[i.c,r.f]}),e})();function L(){return new N(Object(r.hc)(i.e))}let N=(()=>{class e{constructor(e){this._doc=e,this._dom=Object(i.F)()}addTag(e,t=!1){return e?this._getOrCreateElement(e,t):null}addTags(e,t=!1){return e?e.reduce((e,n)=>(n&&e.push(this._getOrCreateElement(n,t)),e),[]):[]}getTag(e){return e&&this._doc.querySelector(`meta[${e}]`)||null}getTags(e){if(!e)return[];const t=this._doc.querySelectorAll(`meta[${e}]`);return t?[].slice.call(t):[]}updateTag(e,t){if(!e)return null;t=t||this._parseSelector(e);const n=this.getTag(t);return n?this._setMetaElementAttributes(e,n):this._getOrCreateElement(e,!0)}removeTag(e){this.removeTagElement(this.getTag(e))}removeTagElement(e){e&&this._dom.remove(e)}_getOrCreateElement(e,t=!1){if(!t){const t=this._parseSelector(e),n=this.getTag(t);if(n&&this._containsAttributes(e,n))return n}const n=this._dom.createElement("meta");return this._setMetaElementAttributes(e,n),this._doc.getElementsByTagName("head")[0].appendChild(n),n}_setMetaElementAttributes(e,t){return Object.keys(e).forEach(n=>t.setAttribute(this._getMetaKeyMap(n),e[n])),t}_parseSelector(e){const t=e.name?"name":"property";return`${t}="${e[t]}"`}_containsAttributes(e,t){return Object.keys(e).every(n=>t.getAttribute(this._getMetaKeyMap(n))===e[n])}_getMetaKeyMap(e){return F[e]||e}}return e.\u0275fac=function(t){return new(t||e)(r.hc(i.e))},e.\u0275prov=Object(r.Mb)({factory:L,token:e,providedIn:"root"}),e})();const F={httpEquiv:"http-equiv"};function B(){return new W(Object(r.hc)(i.e))}let W=(()=>{class e{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return e.\u0275fac=function(t){return new(t||e)(r.hc(i.e))},e.\u0275prov=Object(r.Mb)({factory:B,token:e,providedIn:"root"}),e})();"undefined"!=typeof window&&window},jq9o:function(e,t,n){"use strict";n.d(t,"i",function(){return u}),n.d(t,"e",function(){return l}),n.d(t,"c",function(){return a.a}),n.d(t,"f",function(){return d}),n.d(t,"d",function(){return c}),n.d(t,"h",function(){return h}),n.d(t,"g",function(){return p}),n.d(t,"b",function(){return f}),n.d(t,"a",function(){return b});var i=n("O+5q"),r=n("rUKz"),o=n("U8d7"),s=n("B7ZD"),a=n("MxU5");class c{constructor(){this.DocID=null,this.IDs=[],this.Categories=[],this.TransferLocations=[]}}let l=(()=>{class e{static shouldSearchInParentRegion(t){return(e.NEED_SEARCH_IN_PARENT_CATEGORIES.includes(t.category)||e.SPECIAL_PARENT_ID_FOR_SEARCH.has(t.parentId))&&t.parentId}static createSuggestionQueryPayload(e,t,n,i,r,o){const a=new c;return a.IDs=i,a.Keyword=e,a.Size=n,a.Categories=t,a.ParentID=r,a.Language=s.d.en_US,a.PaginationOption={PageNum:-1},a.WithMetadata=!0,a.WithHierarchy=!0,a.WithItemObject=!0,a.TransferLocations=o,a}static getName(e,t){let n=null;return t===s.d.zh_CN&&(n=e.Category===a.a.Hotel?e.ItemObject.ChineseName:e.Category===a.a.Airport?e.ItemObject.Name_FullCN:e.ItemObject.RegionNameLong_CN),n||e.DisplayOption.FullName}static getOldName(e,t,n){let i=null;if(e.Category===a.a.Hotel&&e.ItemObject.AliasList){if(o.h.hasMatch(this.getName(e,n),t))return i;const r=e.ItemObject.AliasList.find(e=>o.h.hasMatch(e.Alias,t));i=r&&r.IsChecked&&r.Alias}return i}static getAddress(e,t=s.d.zh_CN){const n={destinationName:"",countryName:""};return e.Category===a.a.Airport||e.Category===a.a.Hotel&&(t===s.d.zh_CN&&(n.destinationName=e.ItemObject.DestinationName_CN,n.countryName=e.ItemObject.CountryName_CN),n.destinationName&&n.countryName||(n.destinationName=e.ItemObject.DestinationName,n.countryName=e.ItemObject.CountryName)),n}}return e.REGION_SEARCH_CATEGORIES=[a.a.City,a.a.Neighborhood,a.a.MultiCity,a.a.MultiRegion,a.a.HighLevelRegion,a.a.Province],e.SUB_REGION_SEARCH_CATEGORIES=[a.a.City,a.a.Neighborhood],e.HOTEL_SEARCH_CATEGORIES=[a.a.Hotel],e.REGION_SEARCH_BY_ID_CATEGORIES=[a.a.POI,a.a.POIS,a.a.City,a.a.Neighborhood,a.a.MultiCity,a.a.MultiRegion,a.a.HighLevelRegion,a.a.Province],e.AIRPORT_SEARCH_CATEGORIES=[a.a.Airport],e.POI_SEARCH_CATEGORIES=[a.a.POIS,a.a.POI],e.NEED_SEARCH_IN_PARENT_CATEGORIES=[a.a.City,a.a.Neighborhood,a.a.POIS,a.a.POI],e.SPECIAL_PARENT_ID_FOR_SEARCH=new Set(["77","104"]),e.IGNORE_DRILL_UP_CATEGORIES=["Country","Continent","Province (State)"],e})();const u=new class extends r.a{constructor(){super("SuggestionService")}search(e){return this.httpClientWrapper.post("/SuggestionApi/SearchV2",e,{resultProcessor:e=>(e.Data&&e.Data.forEach(e=>this.processSuggestionItem(e)),e)})}multiplSearch(e){return this.httpClientWrapper.post("/SuggestionApi/MultiplSearch",e,{resultProcessor:e=>(e.forEach(e=>{e.Data&&e.Data.forEach(e=>{this.processSuggestionItem(e)})}),e)})}searchRegion(e){const t=l.createSuggestionQueryPayload(null,l.REGION_SEARCH_BY_ID_CATEGORIES,1,[e]);return this.httpClientWrapper.post("/SuggestionApi/SearchV2",t,{resultProcessor:e=>(e.Data&&e.Data.forEach(e=>this.processSuggestionItem(e)),1===e.Data.length?e.Data[0]:null)})}processSuggestionItem(e){e&&(e.ID=e.IDString,e.Metadata&&e.Metadata.Location&&(e.Metadata.Location=new i.a(e.Metadata.Location.Latitude,e.Metadata.Location.Longitude)))}};var d=function(e){return e.destination="destination",e.hotel="hotel",e.airport="airport",e.viewpoint="viewpoint",e}({}),h=function(e){return e.default="default",e.category="category",e}({}),p=function(e){return e[e.none=0]="none",e[e.cities=1]="cities",e[e.suggestions=2]="suggestions",e[e.invalid=3]="invalid",e}({}),f=function(e){return e[e.default=0]="default",e[e.checkbox=1]="checkbox",e}({});class g{constructor(){this.maxHotelCount=6,this.maxAirportCount=0,this.maxRegionCount=4,this.maxPOICount=4,this.minKeywordLength=2,this.showCategory=!0,this.extranInfoMode=h.default,this.autoSelectHover=!1,this.autoSelectFirst=!1,this.resetPreviousSelected=!1}}class b{constructor(){this.showDefaultOptions=!0,this.autoSearchCitySuggestion=!1,this.autoSearchAirportSuggetion=!1,this.searchDelay=500,this.regionID=null,this.hotelID=null,this.airportCode=null,this.keyword=null,this.options=new g,this.enableRegionSearch=!1,this.regionSearchOptions=new g,this.regionSearchSwithStyle=f.checkbox,this.miniMode=!1}}},jtHE:function(e,t,n){"use strict";n.d(t,"a",function(){return b});var i=n("XNiG"),r=n("3N8a");class o extends r.a{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}schedule(e,t=0){return t>0?super.schedule(e,t):(this.delay=t,this.state=e,this.scheduler.flush(this),this)}execute(e,t){return t>0||this.closed?super.execute(e,t):this._execute(e,t)}requestAsyncId(e,t,n=0){return null!==n&&n>0||null===n&&this.delay>0?super.requestAsyncId(e,t,n):e.flush(this)}}var s=n("IjjT");class a extends s.a{}const c=new a(o);var l=n("quSY"),u=n("7o/Q"),d=n("WMd4");class h extends u.a{constructor(e,t,n=0){super(e),this.scheduler=t,this.delay=n}static dispatch(e){const{notification:t,destination:n}=e;t.observe(n),this.unsubscribe()}scheduleMessage(e){this.destination.add(this.scheduler.schedule(h.dispatch,this.delay,new p(e,this.destination)))}_next(e){this.scheduleMessage(d.a.createNext(e))}_error(e){this.scheduleMessage(d.a.createError(e)),this.unsubscribe()}_complete(){this.scheduleMessage(d.a.createComplete()),this.unsubscribe()}}class p{constructor(e,t){this.notification=e,this.destination=t}}var f=n("9ppp"),g=n("Ylt2");class b extends i.a{constructor(e=Number.POSITIVE_INFINITY,t=Number.POSITIVE_INFINITY,n){super(),this.scheduler=n,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=e<1?1:e,this._windowTime=t<1?1:t,t===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(e){const t=this._events;t.push(e),t.length>this._bufferSize&&t.shift(),super.next(e)}nextTimeWindow(e){this._events.push(new m(this._getNow(),e)),this._trimBufferThenGetEvents(),super.next(e)}_subscribe(e){const t=this._infiniteTimeWindow,n=t?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,r=n.length;let o;if(this.closed)throw new f.a;if(this.isStopped||this.hasError?o=l.a.EMPTY:(this.observers.push(e),o=new g.a(this,e)),i&&e.add(e=new h(e,i)),t)for(let s=0;st&&(o=Math.max(o,r-t)),o>0&&i.splice(0,o),i}}class m{constructor(e,t){this.time=e,this.value=t}}},k8Rb:function(e,t,n){"use strict";n.d(t,"a",function(){return r});const i={};let r=(()=>{class e{constructor(e){e||(e=this.constructor.name),i[e]||(i[e]=0),this.instance_id=i[e]++,console.log(`[${e}] Created: ${this.instance_id}`)}static get defaultHttpClient(){return e.DEFAULT_SERVICE_HTTP_CLIENT_WRAPPER}get httpClientWrapper(){return e.defaultHttpClient}}return e.DEFAULT_SERVICE_HTTP_CLIENT_WRAPPER=null,e})()},"kAy/":function(e,t,n){"use strict";n.d(t,"a",function(){return s});var i=n("ofXK"),r=n("dEAy"),o=n("fXoL");let s=(()=>{class e{}return e.\u0275mod=o.Ob({type:e}),e.\u0275inj=o.Nb({factory:function(t){return new(t||e)},providers:[],imports:[[i.c,r.d]]}),e})()},kJWO:function(e,t,n){"use strict";n.d(t,"a",function(){return i});const i=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")()},kScs:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Md5=void 0;var i=function(){function e(){this._dataLength=0,this._bufferLength=0,this._state=new Int32Array(4),this._buffer=new ArrayBuffer(68),this._buffer8=new Uint8Array(this._buffer,0,68),this._buffer32=new Uint32Array(this._buffer,0,17),this.start()}return e.hashStr=function(e,t){return void 0===t&&(t=!1),this.onePassHasher.start().appendStr(e).end(t)},e.hashAsciiStr=function(e,t){return void 0===t&&(t=!1),this.onePassHasher.start().appendAsciiStr(e).end(t)},e._hex=function(t){var n,i,r,o,s=e.hexChars,a=e.hexOut;for(o=0;o<4;o+=1)for(i=8*o,n=t[o],r=0;r<8;r+=2)a[i+1+r]=s.charAt(15&n),a[i+0+r]=s.charAt(15&(n>>>=4)),n>>>=4;return a.join("")},e._md5cycle=function(e,t){var n=e[0],i=e[1],r=e[2],o=e[3];i=((i+=((r=((r+=((o=((o+=((n=((n+=(i&r|~i&o)+t[0]-680876936|0)<<7|n>>>25)+i|0)&i|~n&r)+t[1]-389564586|0)<<12|o>>>20)+n|0)&n|~o&i)+t[2]+606105819|0)<<17|r>>>15)+o|0)&o|~r&n)+t[3]-1044525330|0)<<22|i>>>10)+r|0,i=((i+=((r=((r+=((o=((o+=((n=((n+=(i&r|~i&o)+t[4]-176418897|0)<<7|n>>>25)+i|0)&i|~n&r)+t[5]+1200080426|0)<<12|o>>>20)+n|0)&n|~o&i)+t[6]-1473231341|0)<<17|r>>>15)+o|0)&o|~r&n)+t[7]-45705983|0)<<22|i>>>10)+r|0,i=((i+=((r=((r+=((o=((o+=((n=((n+=(i&r|~i&o)+t[8]+1770035416|0)<<7|n>>>25)+i|0)&i|~n&r)+t[9]-1958414417|0)<<12|o>>>20)+n|0)&n|~o&i)+t[10]-42063|0)<<17|r>>>15)+o|0)&o|~r&n)+t[11]-1990404162|0)<<22|i>>>10)+r|0,i=((i+=((r=((r+=((o=((o+=((n=((n+=(i&r|~i&o)+t[12]+1804603682|0)<<7|n>>>25)+i|0)&i|~n&r)+t[13]-40341101|0)<<12|o>>>20)+n|0)&n|~o&i)+t[14]-1502002290|0)<<17|r>>>15)+o|0)&o|~r&n)+t[15]+1236535329|0)<<22|i>>>10)+r|0,i=((i+=((r=((r+=((o=((o+=((n=((n+=(i&o|r&~o)+t[1]-165796510|0)<<5|n>>>27)+i|0)&r|i&~r)+t[6]-1069501632|0)<<9|o>>>23)+n|0)&i|n&~i)+t[11]+643717713|0)<<14|r>>>18)+o|0)&n|o&~n)+t[0]-373897302|0)<<20|i>>>12)+r|0,i=((i+=((r=((r+=((o=((o+=((n=((n+=(i&o|r&~o)+t[5]-701558691|0)<<5|n>>>27)+i|0)&r|i&~r)+t[10]+38016083|0)<<9|o>>>23)+n|0)&i|n&~i)+t[15]-660478335|0)<<14|r>>>18)+o|0)&n|o&~n)+t[4]-405537848|0)<<20|i>>>12)+r|0,i=((i+=((r=((r+=((o=((o+=((n=((n+=(i&o|r&~o)+t[9]+568446438|0)<<5|n>>>27)+i|0)&r|i&~r)+t[14]-1019803690|0)<<9|o>>>23)+n|0)&i|n&~i)+t[3]-187363961|0)<<14|r>>>18)+o|0)&n|o&~n)+t[8]+1163531501|0)<<20|i>>>12)+r|0,i=((i+=((r=((r+=((o=((o+=((n=((n+=(i&o|r&~o)+t[13]-1444681467|0)<<5|n>>>27)+i|0)&r|i&~r)+t[2]-51403784|0)<<9|o>>>23)+n|0)&i|n&~i)+t[7]+1735328473|0)<<14|r>>>18)+o|0)&n|o&~n)+t[12]-1926607734|0)<<20|i>>>12)+r|0,i=((i+=((r=((r+=((o=((o+=((n=((n+=(i^r^o)+t[5]-378558|0)<<4|n>>>28)+i|0)^i^r)+t[8]-2022574463|0)<<11|o>>>21)+n|0)^n^i)+t[11]+1839030562|0)<<16|r>>>16)+o|0)^o^n)+t[14]-35309556|0)<<23|i>>>9)+r|0,i=((i+=((r=((r+=((o=((o+=((n=((n+=(i^r^o)+t[1]-1530992060|0)<<4|n>>>28)+i|0)^i^r)+t[4]+1272893353|0)<<11|o>>>21)+n|0)^n^i)+t[7]-155497632|0)<<16|r>>>16)+o|0)^o^n)+t[10]-1094730640|0)<<23|i>>>9)+r|0,i=((i+=((r=((r+=((o=((o+=((n=((n+=(i^r^o)+t[13]+681279174|0)<<4|n>>>28)+i|0)^i^r)+t[0]-358537222|0)<<11|o>>>21)+n|0)^n^i)+t[3]-722521979|0)<<16|r>>>16)+o|0)^o^n)+t[6]+76029189|0)<<23|i>>>9)+r|0,i=((i+=((r=((r+=((o=((o+=((n=((n+=(i^r^o)+t[9]-640364487|0)<<4|n>>>28)+i|0)^i^r)+t[12]-421815835|0)<<11|o>>>21)+n|0)^n^i)+t[15]+530742520|0)<<16|r>>>16)+o|0)^o^n)+t[2]-995338651|0)<<23|i>>>9)+r|0,i=((i+=((o=((o+=(i^((n=((n+=(r^(i|~o))+t[0]-198630844|0)<<6|n>>>26)+i|0)|~r))+t[7]+1126891415|0)<<10|o>>>22)+n|0)^((r=((r+=(n^(o|~i))+t[14]-1416354905|0)<<15|r>>>17)+o|0)|~n))+t[5]-57434055|0)<<21|i>>>11)+r|0,i=((i+=((o=((o+=(i^((n=((n+=(r^(i|~o))+t[12]+1700485571|0)<<6|n>>>26)+i|0)|~r))+t[3]-1894986606|0)<<10|o>>>22)+n|0)^((r=((r+=(n^(o|~i))+t[10]-1051523|0)<<15|r>>>17)+o|0)|~n))+t[1]-2054922799|0)<<21|i>>>11)+r|0,i=((i+=((o=((o+=(i^((n=((n+=(r^(i|~o))+t[8]+1873313359|0)<<6|n>>>26)+i|0)|~r))+t[15]-30611744|0)<<10|o>>>22)+n|0)^((r=((r+=(n^(o|~i))+t[6]-1560198380|0)<<15|r>>>17)+o|0)|~n))+t[13]+1309151649|0)<<21|i>>>11)+r|0,i=((i+=((o=((o+=(i^((n=((n+=(r^(i|~o))+t[4]-145523070|0)<<6|n>>>26)+i|0)|~r))+t[11]-1120210379|0)<<10|o>>>22)+n|0)^((r=((r+=(n^(o|~i))+t[2]+718787259|0)<<15|r>>>17)+o|0)|~n))+t[9]-343485551|0)<<21|i>>>11)+r|0,e[0]=n+e[0]|0,e[1]=i+e[1]|0,e[2]=r+e[2]|0,e[3]=o+e[3]|0},e.prototype.start=function(){return this._dataLength=0,this._bufferLength=0,this._state.set(e.stateIdentity),this},e.prototype.appendStr=function(t){var n,i,r=this._buffer8,o=this._buffer32,s=this._bufferLength;for(i=0;i>>6),r[s++]=63&n|128;else if(n<55296||n>56319)r[s++]=224+(n>>>12),r[s++]=n>>>6&63|128,r[s++]=63&n|128;else{if((n=1024*(n-55296)+(t.charCodeAt(++i)-56320)+65536)>1114111)throw new Error("Unicode standard supports code points up to U+10FFFF");r[s++]=240+(n>>>18),r[s++]=n>>>12&63|128,r[s++]=n>>>6&63|128,r[s++]=63&n|128}s>=64&&(this._dataLength+=64,e._md5cycle(this._state,o),s-=64,o[0]=o[16])}return this._bufferLength=s,this},e.prototype.appendAsciiStr=function(t){for(var n,i=this._buffer8,r=this._buffer32,o=this._bufferLength,s=0;;){for(n=Math.min(t.length-s,64-o);n--;)i[o++]=t.charCodeAt(s++);if(o<64)break;this._dataLength+=64,e._md5cycle(this._state,r),o=0}return this._bufferLength=o,this},e.prototype.appendByteArray=function(t){for(var n,i=this._buffer8,r=this._buffer32,o=this._bufferLength,s=0;;){for(n=Math.min(t.length-s,64-o);n--;)i[o++]=t[s++];if(o<64)break;this._dataLength+=64,e._md5cycle(this._state,r),o=0}return this._bufferLength=o,this},e.prototype.getState=function(){var e=this._state;return{buffer:String.fromCharCode.apply(null,Array.from(this._buffer8)),buflen:this._bufferLength,length:this._dataLength,state:[e[0],e[1],e[2],e[3]]}},e.prototype.setState=function(e){var t,n=e.buffer,i=e.state,r=this._state;for(this._dataLength=e.length,this._bufferLength=e.buflen,r[0]=i[0],r[1]=i[1],r[2]=i[2],r[3]=i[3],t=0;t>2);this._dataLength+=n;var s=8*this._dataLength;if(i[n]=128,i[n+1]=i[n+2]=i[n+3]=0,r.set(e.buffer32Identity.subarray(o),o),n>55&&(e._md5cycle(this._state,r),r.set(e.buffer32Identity)),s<=4294967295)r[14]=s;else{var a=s.toString(16).match(/(.*?)(.{0,8})$/);if(null===a)return;var c=parseInt(a[2],16),l=parseInt(a[1],16)||0;r[14]=c,r[15]=l}return e._md5cycle(this._state,r),t?this._state:e._hex(this._state)},e.stateIdentity=new Int32Array([1732584193,-271733879,-1732584194,271733878]),e.buffer32Identity=new Int32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),e.hexChars="0123456789abcdef",e.hexOut=[],e.onePassHasher=new e,e}();if(t.Md5=i,"5d41402abc4b2a76b9719d911017c592"!==i.hashStr("hello"))throw new Error("Md5 self test failed.")},"ku8+":function(e,t,n){"use strict";function i(e){return function(t,n){var i;if("formatting"===(null!=n&&n.context?String(n.context):"standalone")&&e.formattingValues){var r=e.defaultFormattingWidth||e.defaultWidth,o=null!=n&&n.width?String(n.width):r;i=e.formattingValues[o]||e.formattingValues[r]}else{var s=e.defaultWidth,a=null!=n&&n.width?String(n.width):e.defaultWidth;i=e.values[a]||e.values[s]}return i[e.argumentCallback?e.argumentCallback(t):t]}}n.d(t,"a",function(){return i})},l7GE:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("7o/Q");class r extends i.a{notifyNext(e,t,n,i,r){this.destination.next(t)}notifyError(e,t){this.destination.error(e)}notifyComplete(e){this.destination.complete()}}},"l9o/":function(e,t,n){"use strict";n.d(t,"a",function(){return E});var i=n("fXoL"),r=n("JhOC"),o=n("9/EM"),s=n("dLU1"),a=n("/Tr7"),c=n("jIYg"),l=n("/h9T");function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function d(e,t){if(Object(c.a)(2,arguments),!t||"object"!==u(t))return new Date(NaN);var n=t.years?Object(l.a)(t.years):0,i=t.months?Object(l.a)(t.months):0,r=t.weeks?Object(l.a)(t.weeks):0,d=t.days?Object(l.a)(t.days):0,h=t.hours?Object(l.a)(t.hours):0,p=t.minutes?Object(l.a)(t.minutes):0,f=t.seconds?Object(l.a)(t.seconds):0,g=Object(a.a)(e),b=i||n?Object(s.a)(g,i+12*n):g,m=d||r?Object(o.a)(b,d+7*r):b,y=p+60*h,v=f+60*y,C=1e3*v,w=new Date(m.getTime()+C);return w}var h=n("NoME"),p=n("moCM"),f=n("jG/O"),g=n("AkX2"),b=n("qVkf"),m=n("Bp6I"),y=n("HDdC"),v=n("D0XW"),C=n("Y7HM");function w(e){const{subscriber:t,counter:n,period:i}=e;t.next(n),this.schedule({subscriber:t,counter:n+1,period:i},i)}var S=n("LZVA"),_=n("aT9+"),O=n("ofXK");const x=function(e){return{$implicit:e}};function z(e,t){if(1&e&&i.Sb(0,3),2&e){const e=i.oc(2);i.wc("ngTemplateOutlet",e.contentTpl.template)("ngTemplateOutletContext",i.Bc(2,x,e.ndDuration))}}function T(e,t){if(1&e&&(i.Ub(0),i.Sc(1,"\n "),i.uc(2),i.Sc(3,"\n "),i.Qc(4,z,1,4,"ng-container",2),i.Sc(5,"\n "),i.Tb()),2&e){const e=i.oc();i.Cb(4),i.wc("ngIf",e.contentTpl)}}function k(e,t){if(1&e&&i.Sb(0,4),2&e){const e=i.oc();i.wc("ngTemplateOutlet",e.expiredTpl.template)}}const P=["*"];let E=(()=>{class e{constructor(e){this.cdr=e,this.ndExpire=new i.n}get ndDuration(){return this._duration}get isExpired(){return this._isExpired}ngOnInit(){this.startCountDown()}_updateState(){const e=new Date;if(!this.ndValue||e>this.ndValue)this.ndExpire.emit(),this._isExpired=!0,this._timerSub&&(this._timerSub.unsubscribe(),this._timerSub=null),this._duration=null;else{let t=function(e){Object(c.a)(1,arguments);var t=Object(a.a)(e.start),n=Object(a.a)(e.end);if(isNaN(t.getTime()))throw new RangeError("Start Date is invalid");if(isNaN(n.getTime()))throw new RangeError("End Date is invalid");var i={};i.years=Math.abs(Object(m.a)(n,t));var o=Object(r.a)(n,t),s=d(t,{years:o*i.years});i.months=Math.abs(Object(g.a)(n,s));var l=d(s,{months:o*i.months});i.days=Math.abs(Object(h.a)(n,l));var u=d(l,{days:o*i.days});i.hours=Math.abs(Object(p.a)(n,u));var y=d(u,{hours:o*i.hours});i.minutes=Math.abs(Object(f.a)(n,y));var v=d(y,{minutes:o*i.minutes});return i.seconds=Math.abs(Object(b.a)(n,v)),i}({start:e,end:this.ndValue});this.ndTwoDigits&&(t=Object.keys(t).reduce((e,n)=>(e[n]=t[n]<10?"0"+t[n]:t[n]+"",e),{})),this._isExpired=!1,this._duration=t}this.cdr.markForCheck()}ngOnChanges(e){e.ndValue&&this.startCountDown()}startCountDown(){this._timerSub&&this._timerSub.unsubscribe(),this._updateState(),this._timerSub=function(e=0,t=v.a){return(!Object(C.a)(e)||e<0)&&(e=0),t&&"function"==typeof t.schedule||(t=v.a),new y.a(n=>(n.add(t.schedule(w,e,{subscriber:n,counter:0,period:e})),n))}(1e3).subscribe(()=>{this._updateState()})}ngOnDestroy(){this._timerSub&&this._timerSub.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.h))},e.\u0275cmp=i.Kb({type:e,selectors:[["nd-count-down"]],contentQueries:function(e,t,n){if(1&e&&(i.Jb(n,_.a,3),i.Jb(n,S.a,3)),2&e){let e;i.Dc(e=i.mc())&&(t.expiredTpl=e.first),i.Dc(e=i.mc())&&(t.contentTpl=e.first)}},inputs:{ndValue:"ndValue",ndTwoDigits:"ndTwoDigits"},outputs:{ndExpire:"ndExpire"},features:[i.Ab],ngContentSelectors:P,decls:5,vars:2,consts:[[4,"ngIf"],[3,"ngTemplateOutlet",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngTemplateOutlet"]],template:function(e,t){1&e&&(i.vc(),i.Sc(0,"\n "),i.Qc(1,T,6,1,"ng-container",0),i.Sc(2,"\n "),i.Qc(3,k,1,1,"ng-container",1),i.Sc(4,"\n ")),2&e&&(i.Cb(1),i.wc("ngIf",t.ndDuration),i.Cb(2),i.wc("ngIf",t.isExpired&&t.expiredTpl))},directives:[O.o,O.t],encapsulation:2,changeDetection:0}),e})()},lJxs:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("7o/Q");function r(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new o(e,t))}}class o{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new s(e,this.project,this.thisArg))}}class s extends i.a{constructor(e,t,n){super(e),this.project=t,this.count=0,this.thisArg=n||this}_next(e){let t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}},lPiR:function(e,t,n){var i;e.exports=(i=n("Ib8C"),function(e){var t=i,n=t.lib,r=n.WordArray,o=n.Hasher,s=t.algo,a=[],c=[];!function(){function t(t){for(var n=e.sqrt(t),i=2;i<=n;i++)if(!(t%i))return!1;return!0}function n(e){return 4294967296*(e-(0|e))|0}for(var i=2,r=0;r<64;)t(i)&&(r<8&&(a[r]=n(e.pow(i,.5))),c[r]=n(e.pow(i,1/3)),r++),i++}();var l=[],u=s.SHA256=o.extend({_doReset:function(){this._hash=new r.init(a.slice(0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,i=n[0],r=n[1],o=n[2],s=n[3],a=n[4],u=n[5],d=n[6],h=n[7],p=0;p<64;p++){if(p<16)l[p]=0|e[t+p];else{var f=l[p-15],g=l[p-2];l[p]=((f<<25|f>>>7)^(f<<14|f>>>18)^f>>>3)+l[p-7]+((g<<15|g>>>17)^(g<<13|g>>>19)^g>>>10)+l[p-16]}var b=i&r^i&o^r&o,m=h+((a<<26|a>>>6)^(a<<21|a>>>11)^(a<<7|a>>>25))+(a&u^~a&d)+c[p]+l[p];h=d,d=u,u=a,a=s+m|0,s=o,o=r,r=i,i=m+(((i<<30|i>>>2)^(i<<19|i>>>13)^(i<<10|i>>>22))+b)|0}n[0]=n[0]+i|0,n[1]=n[1]+r|0,n[2]=n[2]+o|0,n[3]=n[3]+s|0,n[4]=n[4]+a|0,n[5]=n[5]+u|0,n[6]=n[6]+d|0,n[7]=n[7]+h|0},_doFinalize:function(){var t=this._data,n=t.words,i=8*this._nDataBytes,r=8*t.sigBytes;return n[r>>>5]|=128<<24-r%32,n[14+(r+64>>>9<<4)]=e.floor(i/4294967296),n[15+(r+64>>>9<<4)]=i,t.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=o._createHelper(u),t.HmacSHA256=o._createHmacHelper(u)}(Math),i.SHA256)},lR5k:function(e,t,n){"use strict";n.d(t,"a",function(){return f}),n.d(t,"b",function(){return g});var i=n("fXoL"),r=n("ofXK"),o=n("OnMO"),s=n("tk/3"),a=n("jhN1"),c=n("lJxs");n("SxV6");const l=["*"];class u{}const d=new i.r("SECURITY_CONTEXT");let h=(()=>{class e{constructor(e,t,n,i,r){this.platform=e,this.securityContext=t,this.http=n,this.sanitizer=r,this.initialMarkedOptions={renderer:new o.Renderer},this.options=i}get options(){return this._options}set options(e){this._options=Object.assign(Object.assign({},this.initialMarkedOptions),e)}get renderer(){return this.options.renderer}set renderer(e){this.options.renderer=e}compile(e,t=!1,n=!1,i=this.options){const r=this.trimIndentation(e),s=t?this.decodeHtml(r):r,a=n?this.renderEmoji(s):s,c=Object(o.parse)(a,i);return this.sanitizer.sanitize(this.securityContext,c)||""}getSource(e){if(!this.http)throw new Error("[ngx-markdown] When using the `src` attribute you *have to* pass the `HttpClient` as a parameter of the `forRoot` method. See README for more information");return this.http.get(e,{responseType:"text"}).pipe(Object(c.a)(t=>this.handleExtension(e,t)))}highlight(e){if(Object(r.B)(this.platform)&&"undefined"!=typeof Prism){e||(e=document);const t=e.querySelectorAll('pre code:not([class*="language-"])');Array.prototype.forEach.call(t,e=>e.classList.add("language-none")),Prism.highlightAllUnder(e)}}renderKatex(e,t){if(!Object(r.B)(this.platform))return e;if("undefined"==typeof katex||void 0===katex.renderToString)throw new Error("[ngx-markdown] When using the `katex` attribute you *have to* include KaTeX files to `angular.json` or use imports. See README for more information");return e.replace(/\$([^\s][^$]*?[^\s])\$/gm,(e,n)=>katex.renderToString(n,t))}decodeHtml(e){if(!Object(r.B)(this.platform))return e;const t=document.createElement("textarea");return t.innerHTML=e,t.value}handleExtension(e,t){const n=e?e.split("?")[0].split(".").splice(-1).join():null;return"md"!==n?"```"+n+"\n"+t+"\n```":t}renderEmoji(e){if(!Object(r.B)(this.platform))return e;if("undefined"==typeof joypixels||void 0===joypixels.shortnameToUnicode)throw new Error("[ngx-markdown] When using the `emoji` attribute you *have to* include Emoji-Toolkit files to `angular.json` or use imports. See README for more information");return joypixels.shortnameToUnicode(e)}trimIndentation(e){if(!e)return"";let t;return e.split("\n").map(e=>{let n=t;return e.length>0&&(n=isNaN(n)?e.search(/\S|$/):Math.min(e.search(/\S|$/),n)),isNaN(t)&&(t=n),n?e.substring(n):e}).join("\n")}}return e.\u0275fac=function(t){return new(t||e)(i.hc(i.D),i.hc(d),i.hc(s.c,8),i.hc(u,8),i.hc(a.b))},e.\u0275prov=i.Mb({token:e,factory:e.\u0275fac}),e})();var p=function(e){return e.LineHighlight="line-highlight",e.LineNumbers="line-numbers",e}({});let f=(()=>{class e{constructor(e,t){this.element=e,this.markdownService=t,this.error=new i.n,this.load=new i.n,this.ready=new i.n,this._emoji=!1,this._katex=!1,this._lineHighlight=!1,this._lineNumbers=!1}get emoji(){return this._emoji}set emoji(e){this._emoji=this.coerceBooleanProperty(e)}get katex(){return this._katex}set katex(e){this._katex=this.coerceBooleanProperty(e)}get lineHighlight(){return this._lineHighlight}set lineHighlight(e){this._lineHighlight=this.coerceBooleanProperty(e)}get lineNumbers(){return this._lineNumbers}set lineNumbers(e){this._lineNumbers=this.coerceBooleanProperty(e)}ngOnChanges(){null==this.data?null==this.src||this.handleSrc():this.handleData()}ngAfterViewInit(){this.data||this.src||this.handleTransclusion()}render(e,t=!1){let n=this.markdownService.compile(e,t,this.emoji);n=this.katex?this.markdownService.renderKatex(n,this.katexOptions):n,this.element.nativeElement.innerHTML=n,this.handlePlugins(),this.markdownService.highlight(this.element.nativeElement),this.ready.emit()}coerceBooleanProperty(e){return null!=e&&"false"!=`${e}`}handleData(){this.render(this.data)}handleSrc(){this.markdownService.getSource(this.src).subscribe(e=>{this.render(e),this.load.emit(e)},e=>this.error.emit(e))}handleTransclusion(){this.render(this.element.nativeElement.innerHTML,!0)}handlePlugins(){this.lineHighlight&&(this.setPluginClass(this.element.nativeElement,p.LineHighlight),this.setPluginOptions(this.element.nativeElement,{dataLine:this.line,dataLineOffset:this.lineOffset})),this.lineNumbers&&(this.setPluginClass(this.element.nativeElement,p.LineNumbers),this.setPluginOptions(this.element.nativeElement,{dataStart:this.start}))}setPluginClass(e,t){const n=e.querySelectorAll("pre");for(let i=0;i{const r=t[e];if(r){const t=this.toLispCase(e);n.item(i).setAttribute(t,r.toString())}})}toLispCase(e){const t=e.match(/([A-Z])/g);if(!t)return e;let n=e.toString();for(let i=0,r=t.length;i{class e{static forRoot(t){return{ngModule:e,providers:[h,t&&t.loader||[],t&&t.markedOptions||[],{provide:d,useValue:t&&null!=t.sanitize?t.sanitize:i.K.HTML}]}}static forChild(){return{ngModule:e}}}return e.\u0275mod=i.Ob({type:e}),e.\u0275inj=i.Nb({factory:function(t){return new(t||e)}}),e})()},lSHX:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n("pFuZ"),r=n("fXoL");let o=(()=>{class e{transform(e){switch(e){case i.a.GuestInfo:return "Guests Info";case i.a.CheckInOut:return "Check-in/out Dates";case i.a.RoomType:return "Room Type";case i.a.Breakfast:return "Breakfast";case i.a.RoomCount:return "Room Reduction";case i.a.Remark:return "Remark";case i.a.Others:return "Other"}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=r.Pb({name:"bookingTicketType",type:e,pure:!0}),e})()},lgZR:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var i=n("/Tr7"),r=n("tpup"),o=n("gr1v"),s=n("jIYg");function a(e){Object(s.a)(1,arguments);var t=Object(o.a)(e),n=new Date(0);n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0);var i=Object(r.a)(n);return i}var c=6048e5;function l(e){Object(s.a)(1,arguments);var t=Object(i.a)(e),n=Object(r.a)(t).getTime()-a(t).getTime();return Math.round(n/c)+1}},mFai:function(e,t,n){"use strict";var i,r,o,s,a;n.d(t,"a",function(){return o}),n.d(t,"c",function(){return l}),n.d(t,"d",function(){return d}),n.d(t,"b",function(){return h}),n.d(t,"e",function(){return w}),n.d(t,"f",function(){return S}),function(e){let t;!function(e){e[e.en_US=1]="en_US",e[e.zh_CN=2]="zh_CN",e[e.ja_JP=3]="ja_JP",e[e.th_TH=4]="th_TH",e[e.ko_KR=5]="ko_KR",e[e.es_ES=6]="es_ES",e[e.fr_FR=7]="fr_FR",e[e.ru_RU=8]="ru_RU",e[e.id_ID=9]="id_ID",e[e.ar_AE=10]="ar_AE"}(t=e.LanguageType||(e.LanguageType={}))}(i||(i={})),function(e){let t,n,i;!function(e){e[e.PreBook=0]="PreBook",e[e.Booked=1]="Booked",e[e.Confirmed=2]="Confirmed",e[e.Canceled=3]="Canceled",e[e.Failed=4]="Failed",e[e.Pending=5]="Pending",e[e.OnRequest=6]="OnRequest",e[e.OnRescue=7]="OnRescue"}(t=e.BookingStatusTypeEnum||(e.BookingStatusTypeEnum={})),function(e){e[e.Normal=0]="Normal",e[e.Postpay=1]="Postpay",e[e.PostpayDidaBalance=2]="PostpayDidaBalance"}(n=e.BookTypeEnum||(e.BookTypeEnum={})),function(e){e[e.NotApply=0]="NotApply",e[e.Apply=1]="Apply",e[e.Accepted=2]="Accepted"}(i=e.DidaBookingInvoiceStatusTypeEnum||(e.DidaBookingInvoiceStatusTypeEnum={}))}(r||(r={})),function(e){let t,n,i,r;!function(e){e[e.Active=1]="Active",e[e.Frozen=0]="Frozen",e[e.NoSpecified=-10]="NoSpecified"}(t=e.ClientAccountStatusTypeEnum||(e.ClientAccountStatusTypeEnum={})),function(e){e[e.Active=1]="Active",e[e.Locked=0]="Locked",e[e.NoSpecified=-10]="NoSpecified"}(n=e.ClientStatusTypeEnum||(e.ClientStatusTypeEnum={})),function(e){e[e.None=0]="None",e[e.QunarInt=1]="QunarInt",e[e.Elong=2]="Elong",e[e.Qua=5]="Qua",e[e.FangCang=7]="FangCang",e[e.Overseas=8]="Overseas",e[e.QunarCn=9]="QunarCn",e[e.JD=10]="JD",e[e.DiscoveryAviation=11]="DiscoveryAviation",e[e.Direct=12]="Direct",e[e.Ctrip=13]="Ctrip",e[e.InnerAccount=14]="InnerAccount",e[e.JDCN=15]="JDCN",e[e.Offline=16]="Offline",e[e.MeituanCN=17]="MeituanCN",e[e.Amap=18]="Amap",e[e.AirTicket=19]="AirTicket",e[e.Switch=20]="Switch",e[e.B2C=21]="B2C",e[e.OverseasOffline=23]="OverseasOffline",e[e.NewMedia=24]="NewMedia"}(i=e.ClientCategoryEnum||(e.ClientCategoryEnum={})),function(e){e[e.ChinaOnline=1]="ChinaOnline",e[e.ChinaOffline=2]="ChinaOffline",e[e.OverseasAPI=3]="OverseasAPI",e[e.META=4]="META",e[e.OverseasOffline=6]="OverseasOffline",e[e.InternalAccount=7]="InternalAccount",e[e.Flight=8]="Flight",e[e.Switch=9]="Switch"}(r=e.ClientGroupDomainEnum||(e.ClientGroupDomainEnum={}))}(o||(o={})),function(e){e.DidaHotelMeta=class{}}(s||(s={})),function(e){let t;!function(e){e[e.Null=0]="Null",e[e.DidaShoppingBalance=3]="DidaShoppingBalance",e[e.WeChat=1]="WeChat",e[e.Alipay=2]="Alipay",e[e.BaoFoo=4]="BaoFoo",e[e.Oceanpayment=5]="Oceanpayment",e[e.DeferredPayment=6]="DeferredPayment",e[e.WeChatMinAppPay=7]="WeChatMinAppPay",e[e.Nuvei=8]="Nuvei",e[e.NuveiAPI=9]="NuveiAPI",e[e.PropertyCollect=10]="PropertyCollect",e[e.Allinpay=11]="Allinpay"}(t=e.PayChannelTypeEnum||(e.PayChannelTypeEnum={}))}(a||(a={})),n("x74a");var c=n("B7ZD");class l{constructor(e,t,n=-1,i=c.d.en_US){this.code=e,this.name=t,this.order=n,this.i18n=new Map,this.addLangSetting(i,t)}addLangSetting(e,t){const n=this.toStandardLanguageType(e);switch(this.i18n.set(n,t),n){case c.d.en_US:this.name_en=t;break;case c.d.zh_CN:this.name_cn=t}return this}displayName(e){const t=this.toStandardLanguageType(e);return this.i18n.has(t)?this.i18n.get(t):this.i18n[c.d.en_US]}clone(){const e=this.constructSelf();return this.i18n.forEach((t,n,i)=>{e.addLangSetting(n,t)}),e}toStandardLanguageType(e){switch(e){case c.d.en_US:case c.d._en_US:return c.d.en_US;case c.d.zh_CN:case c.d._zh_CN:return c.d.zh_CN}return c.d.en_US}}const u="__t_b_s__";class d{constructor(e,t){this.key=e,null!=t&&t&&this.set(t)}set(e){let t=e;e instanceof Date&&(t={[u]:"Date",value:e}),sessionStorage.setItem(this.key,JSON.stringify(null!=t?t:""))}get value(){const e=sessionStorage.getItem(this.key);if(!e)return null;const t=JSON.parse(e);return(null==e?void 0:e.startsWith("{"))&&"Date"===e.__t_b_s__?t.value:t}remove(){sessionStorage.removeItem(this.key)}}class h{constructor(e,t){this.key=e,null!=t&&t&&this.set(t)}set(e){let t=e;e instanceof Date&&(t={[u]:"Date",value:e}),localStorage.setItem(this.key,JSON.stringify(null!=t?t:""))}get value(){const e=localStorage.getItem(this.key);if(!e)return null;const t=JSON.parse(e);return(null==e?void 0:e.startsWith("{"))&&"Date"===e.__t_b_s__?t.value:t}remove(){localStorage.removeItem(this.key)}}var p;!function(e){let t,n;!function(e){e[e.All=0]="All",e[e.Booking=1]="Booking",e[e.Arrival=2]="Arrival",e[e.Departure=3]="Departure",e[e.FirstCancellationDate=4]="FirstCancellationDate"}(t=e.DateRangeTypeEnum||(e.DateRangeTypeEnum={})),function(e){e[e.NotSpecified=0]="NotSpecified",e[e.NotStarted=1]="NotStarted",e[e.Failed=2]="Failed",e[e.Succeeded=3]="Succeeded",e[e.Pending=4]="Pending",e[e.PendingBill=5]="PendingBill"}(n=e.SettlementStatusForSearchTypeEnum||(e.SettlementStatusForSearchTypeEnum={}))}(p||(p={}));var f=n("Orh4"),g=n("qVkf"),b=n("jG/O"),m=n("moCM"),y=n("NoME"),v=n("AkX2"),C=n("Bp6I");class w{constructor(e,t){this.cache={},this.left=new Date(e),this.right=new Date(t)}get totalMilliseconds(){return null==this.cache.totalMilliseconds&&(this.cache.totalMilliseconds=Object(f.a)(this.left,this.right)),this.cache.totalMilliseconds}get totalSeconds(){return null==this.cache.totalSeconds&&(this.cache.totalSeconds=Object(g.a)(this.left,this.right)),this.cache.totalSeconds}get totalMinutes(){return null==this.cache.totalMinutes&&(this.cache.totalMinutes=Object(b.a)(this.left,this.right)),this.cache.totalMinutes}get totalHours(){return null==this.cache.totalHours&&(this.cache.totalHours=Object(m.a)(this.left,this.right)),this.cache.totalHours}get totalDays(){return null==this.cache.totalDays&&(this.cache.totalDays=Object(y.a)(this.left,this.right)),this.cache.totalDays}get totalMonths(){return null==this.cache.totalMonths&&(this.cache.totalMonths=Object(v.a)(this.left,this.right)),this.cache.totalMonths}get totalYears(){return null==this.cache.totalYears&&(this.cache.totalYears=Object(C.a)(this.left,this.right)),this.cache.totalYears}}class S{constructor(e){this.I18n={},e&&(Object.assign(this,e),this._nomalize())}switchLanguage(e){var t;return(null===(t=this.I18n)||void 0===t?void 0:t[e])&&Object.assign(this,this.I18n[e]),this}addLanguage(e,t={}){return this.I18n||(this.I18n={}),this.I18n[e]=t,this}removeLanguage(e){return this.I18n&&delete this.I18n[e],this}_nomalize(){c.a.map(e=>{const t=e.replace("-","_");this[t]&&(this.I18n[e]=this[t],delete this[t]),this[e]&&(this.I18n[e]=this[e],delete this[e]),this.I18n[t]&&(this.I18n[e]=this.I18n[t],delete this.I18n[t])})}}},"mP9+":function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("ofXK"),r=n("tyNb"),o=n("57/M"),s=n("fXoL");n("a59x"),n("pFuZ"),n("y6qV"),n("tb4M"),n("lSHX"),n("+Brk"),n("TDP3");let a=(()=>{class e{}return e.\u0275mod=s.Ob({type:e}),e.\u0275inj=s.Nb({factory:function(t){return new(t||e)},providers:[],imports:[[i.c,r.k,o.a]]}),e})()},mboQ:function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"b",function(){return c});var i=n("B7ZD"),r=n("mFai");class o extends r.c{constructor(e,t,n=-1,r=i.d.en_US){super(e,t,n,r),this._isUnknown=!1}get isUnknown(){return this._isUnknown}addLangSetting(e,t){return super.addLangSetting(e,t),this}clone(){return super.clone()}constructSelf(){return new o(this.code,this.name,this.order)}static buildUnknownCurrencyInfo(e){const t=new o(e,e,-1);return t._isUnknown=!0,t.addLangSetting(i.d.zh_CN,e)}}const s=[new o("AED","U.A.E Dirham").addLangSetting(i.d.zh_CN,"\u963f\u8054\u914b\u8fea\u62c9\u59c6"),new o("AUD","Australian Dollar").addLangSetting(i.d.zh_CN,"\u6fb3\u5143"),new o("BHD","Bahrain Dinar").addLangSetting(i.d.zh_CN,"\u5df4\u6797\u7b2c\u7eb3\u5c14"),new o("BND","Brunei Ringgit").addLangSetting(i.d.zh_CN,"\u6587\u83b1\u6797\u5409\u7279"),new o("BRL","Brazil Real").addLangSetting(i.d.zh_CN,"\u5df4\u897f\u96f7\u4e9a\u5c14"),new o("CAD","Canadian Dollar").addLangSetting(i.d.zh_CN,"\u52a0\u62ff\u5927\u5143"),new o("CHF","Swiss Franc").addLangSetting(i.d.zh_CN,"\u745e\u58eb\u6cd5\u90ce"),new o("CNY","Chinese Yuan").addLangSetting(i.d.zh_CN,"\u4eba\u6c11\u5e01"),new o("DKK","Danish Krone").addLangSetting(i.d.zh_CN,"\u4e39\u9ea6\u514b\u6717"),new o("EUR","Euro").addLangSetting(i.d.zh_CN,"\u6b27\u5143"),new o("FJD","Fijian Dollar").addLangSetting(i.d.zh_CN,"\u6590\u6d4e\u5143"),new o("GBP","British Pound").addLangSetting(i.d.zh_CN,"\u82f1\u9551"),new o("HKD","Hong Kong Dollar").addLangSetting(i.d.zh_CN,"\u6e2f\u5e01"),new o("IDR","Indonesian Rupiah").addLangSetting(i.d.zh_CN,"\u5370\u5c3c\u76fe"),new o("INR","Indian Rupee").addLangSetting(i.d.zh_CN,"\u5370\u5ea6\u5362\u6bd4"),new o("JPY","Japanese Yen").addLangSetting(i.d.zh_CN,"\u65e5\u5143"),new o("KRW","Korean Won").addLangSetting(i.d.zh_CN,"\u97e9\u5143"),new o("MAD","Moroccan Dirham").addLangSetting(i.d.zh_CN,"\u6469\u6d1b\u54e5\u8fea\u62c9\u59c6"),new o("MOP","Macau Pataca").addLangSetting(i.d.zh_CN,"\u6fb3\u95e8\u5143"),new o("MYR","Malaysian Ringgit").addLangSetting(i.d.zh_CN,"\u6797\u5409\u7279"),new o("NOK","Norwegian Krone").addLangSetting(i.d.zh_CN,"\u632a\u5a01\u514b\u6717"),new o("NZD","New Zealand Dollar").addLangSetting(i.d.zh_CN,"\u65b0\u897f\u5170\u5143"),new o("OMR","Omani Rial").addLangSetting(i.d.zh_CN,"\u963f\u66fc\u91cc\u4e9a\u5c14"),new o("PHP","Philippine Peso").addLangSetting(i.d.zh_CN,"\u83f2\u5f8b\u5bbe\u6bd4\u7d22"),new o("QAR","Qatar Riyal").addLangSetting(i.d.zh_CN,"\u5361\u5854\u5c14\u91cc\u4e9a\u5c14"),new o("RUB","Russian Ruble").addLangSetting(i.d.zh_CN,"\u4fc4\u7f57\u65af\u5362\u5e03"),new o("SCR","Seychelles Rupee").addLangSetting(i.d.zh_CN,"\u585e\u820c\u5c14\u5362\u6bd4"),new o("SEK","Swedish Krona").addLangSetting(i.d.zh_CN,"\u745e\u5178\u514b\u6717"),new o("SGD","Singapore Dollar").addLangSetting(i.d.zh_CN,"\u65b0\u5e01"),new o("THB","Thai Baht").addLangSetting(i.d.zh_CN,"\u6cf0\u94e2"),new o("TWD","New Taiwan Dollar").addLangSetting(i.d.zh_CN,"\u53f0\u5e01"),new o("USD","U.S. Dollar").addLangSetting(i.d.zh_CN,"\u7f8e\u5143"),new o("VND","Vietnamese Dong").addLangSetting(i.d.zh_CN,"\u8d8a\u5357\u76fe"),new o("ZAR","South African Rand").addLangSetting(i.d.zh_CN,"\u5357\u975e\u5170\u7279"),new o("BDT","Bangladeshi Taka").addLangSetting(i.d.zh_CN,"\u5b5f\u52a0\u62c9\u5854\u5361"),new o("SAR","Saudi Riyal").addLangSetting(i.d.zh_CN,"\u6c99\u7279\u91cc\u4e9a\u5c14"),new o("MXN","Mexican Peso").addLangSetting(i.d.zh_CN,"\u58a8\u897f\u54e5\u6bd4\u7d22"),new o("TRY","Turkish Lira").addLangSetting(i.d.zh_CN,"\u571f\u8033\u5176\u91cc\u62c9"),new o("KWD","Kuwaiti Dinar").addLangSetting(i.d.zh_CN,"\u79d1\u5a01\u7279\u7b2c\u7eb3\u5c14")].sort((e,t)=>e.code.localeCompare(t.code)),a=s.reduce((e,t)=>(e.set(t.code,t),e),new Map);function c(e){const t=[],n=new Set(e);return Array.from(a.values()).forEach(e=>{e.isUnknown?n.delete(e.code)?t.push(e.code):a.delete(e.code):n.delete(e.code)}),n.size>0&&Array.from(n).forEach(e=>{a.set(e,o.buildUnknownCurrencyInfo(e)),t.push(e)}),t}(()=>{const e="A".charCodeAt(0),t="Z".charCodeAt(0),n=[];for(let i=e;i<=t;i++)n.push({index:i-e,indexChar:String.fromCharCode(i),items:[]});s.forEach(t=>{const i=t.code.charCodeAt(0)-e;n[i].items.push(t)}),n.forEach((e,t)=>{0===e.items.length&&delete n[t]})})(),n("u0cC")},mlxB:function(e,t,n){"use strict";function i(e){return e instanceof Date&&!isNaN(+e)}n.d(t,"a",function(){return i})},moCM:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("w3qX"),r=n("Orh4"),o=n("jIYg"),s=n("yayv");function a(e,t,n){Object(o.a)(2,arguments);var a=Object(r.a)(e,t)/i.a;return Object(s.a)(null==n?void 0:n.roundingMethod)(a)}},mrSG:function(e,t,n){"use strict";function i(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,n,s):r(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s}function o(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function s(e,t,n,i){return new(n||(n=Promise))(function(r,o){function s(e){try{c(i.next(e))}catch(t){o(t)}}function a(e){try{c(i.throw(e))}catch(t){o(t)}}function c(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}c((i=i.apply(e,t||[])).next())})}n.d(t,"d",function(){return i}),n.d(t,"b",function(){return r}),n.d(t,"c",function(){return o}),n.d(t,"a",function(){return s})},n6bG:function(e,t,n){"use strict";function i(e){return"function"==typeof e}n.d(t,"a",function(){return i})},n7bz:function(e,t,n){"use strict";n.d(t,"a",function(){return R}),n.d(t,"b",function(){return A}),n.d(t,"c",function(){return I}),n.d(t,"d",function(){return M}),n.d(t,"e",function(){return j});var i=n("aetl"),r=n("/Tr7"),o=n("jIYg"),s=n("/h9T"),a=n("dLU1");function c(e){Object(o.a)(1,arguments);var t=Object(r.a)(e),n=t.getFullYear(),i=t.getMonth(),s=new Date(0);return s.setFullYear(n,i+1,0),s.setHours(0,0,0,0),s.getDate()}var l=n("9/EM"),u=n("vq9N");function d(e,t){Object(o.a)(2,arguments);var n=Object(r.a)(e),i=Object(r.a)(t);return n.getFullYear()===i.getFullYear()}function h(e,t){Object(o.a)(2,arguments);var n=Object(r.a)(e),i=Object(r.a)(t);return n.getFullYear()===i.getFullYear()&&n.getMonth()===i.getMonth()}var p=n("M34a");function f(e,t){Object(o.a)(2,arguments);var n=Object(p.a)(e),i=Object(p.a)(t);return n.getTime()===i.getTime()}function g(e){Object(o.a)(1,arguments);var t=Object(r.a)(e);return t.setMinutes(0,0,0),t}function b(e,t){Object(o.a)(2,arguments);var n=g(e),i=g(t);return n.getTime()===i.getTime()}function m(e){Object(o.a)(1,arguments);var t=Object(r.a)(e);return t.setSeconds(0,0),t}function y(e,t){Object(o.a)(2,arguments);var n=m(e),i=m(t);return n.getTime()===i.getTime()}function v(e){Object(o.a)(1,arguments);var t=Object(r.a)(e);return t.setMilliseconds(0),t}function C(e,t){Object(o.a)(2,arguments);var n=v(e),i=v(t);return n.getTime()===i.getTime()}var w=n("AF4N"),S=n("pvlY"),_=n("gXqy"),O=n("moCM"),x=n("jG/O"),z=n("qVkf"),T=n("Se/U"),k=n("DX7i"),P=n("79xS"),E=n("ofXK"),D=n("/KA4");function M(e){const[t,n]=e;return!!t&&!!n&&n.isBeforeDay(t)}function I(e,t,n="month",i="left"){const[r,o]=e;let s=r||new R,a=o||(t?s:s.add(1,n));return r&&!o?(s=r,a=t?r:r.add(1,n)):!r&&o?(s=t?o:o.add(-1,n),a=o):r&&o&&!t&&(r.isSame(o,n)||"left"===i?a=s.add(1,n):s=a.add(-1,n)),[s,a]}function A(e){return Array.isArray(e)?e.map(e=>e instanceof R?e.clone():null):e instanceof R?e.clone():null}class R{constructor(e){if(e)if(e instanceof Date)this.nativeDate=e;else{if("string"!=typeof e&&"number"!=typeof e)throw new Error('The input date type is not supported ("Date" is now recommended)');Object(P.b)('The string type is not recommended for date-picker, use "Date" type'),this.nativeDate=new Date(e)}else this.nativeDate=new Date}calendarStart(e){return new R(Object(i.a)(function(e){Object(o.a)(1,arguments);var t=Object(r.a)(e);return t.setDate(1),t.setHours(0,0,0,0),t}(this.nativeDate),e))}getYear(){return this.nativeDate.getFullYear()}getMonth(){return this.nativeDate.getMonth()}getDay(){return this.nativeDate.getDay()}getTime(){return this.nativeDate.getTime()}getDate(){return this.nativeDate.getDate()}getHours(){return this.nativeDate.getHours()}getMinutes(){return this.nativeDate.getMinutes()}getSeconds(){return this.nativeDate.getSeconds()}getMilliseconds(){return this.nativeDate.getMilliseconds()}clone(){return new R(new Date(this.nativeDate))}setHms(e,t,n){const i=new Date(this.nativeDate.setHours(e,t,n));return new R(i)}setYear(e){return new R(function(e,t){Object(o.a)(2,arguments);var n=Object(r.a)(e),i=Object(s.a)(t);return isNaN(n.getTime())?new Date(NaN):(n.setFullYear(i),n)}(this.nativeDate,e))}addYears(e){return new R(function(e,t){Object(o.a)(2,arguments);var n=Object(s.a)(t);return Object(a.a)(e,12*n)}(this.nativeDate,e))}setMonth(e){return new R(function(e,t){Object(o.a)(2,arguments);var n=Object(r.a)(e),i=Object(s.a)(t),a=n.getFullYear(),l=n.getDate(),u=new Date(0);u.setFullYear(a,i,15),u.setHours(0,0,0,0);var d=c(u);return n.setMonth(i,Math.min(l,d)),n}(this.nativeDate,e))}addMonths(e){return new R(Object(a.a)(this.nativeDate,e))}setDay(e,t){return new R(function(e,t,n){var i,a,c,d,h,p,f,g;Object(o.a)(2,arguments);var b=Object(u.a)(),m=Object(s.a)(null!==(i=null!==(a=null!==(c=null!==(d=null==n?void 0:n.weekStartsOn)&&void 0!==d?d:null==n||null===(h=n.locale)||void 0===h||null===(p=h.options)||void 0===p?void 0:p.weekStartsOn)&&void 0!==c?c:b.weekStartsOn)&&void 0!==a?a:null===(f=b.locale)||void 0===f||null===(g=f.options)||void 0===g?void 0:g.weekStartsOn)&&void 0!==i?i:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var y=Object(r.a)(e),v=Object(s.a)(t),C=y.getDay(),w=(v%7+7)%7,S=7-m,_=v<0||v>6?v-(C+S)%7:(w+S)%7-(C+S)%7;return Object(l.a)(y,_)}(this.nativeDate,e,t))}setDate(e){const t=new Date(this.nativeDate);return t.setDate(e),new R(t)}addDays(e){return this.setDate(this.getDate()+e)}add(e,t){switch(t){case"decade":return this.addYears(10*e);case"year":return this.addYears(e);default:return this.addMonths(e)}}isSame(e,t="day"){let n;switch(t){case"decade":n=(e,t)=>Math.abs(e.getFullYear()-t.getFullYear())<11;break;case"year":n=d;break;case"month":n=h;break;case"day":default:n=f;break;case"hour":n=b;break;case"minute":n=y;break;case"second":n=C}return n(this.nativeDate,this.toNativeDate(e))}isSameYear(e){return this.isSame(e,"year")}isSameMonth(e){return this.isSame(e,"month")}isSameDay(e){return this.isSame(e,"day")}isSameHour(e){return this.isSame(e,"hour")}isSameMinute(e){return this.isSame(e,"minute")}isSameSecond(e){return this.isSame(e,"second")}isBefore(e,t="day"){if(null===e)return!1;let n;switch(t){case"year":n=w.a;break;case"month":n=S.a;break;case"day":default:n=_.a;break;case"hour":n=O.a;break;case"minute":n=x.a;break;case"second":n=z.a}return n(this.nativeDate,this.toNativeDate(e))<0}isBeforeYear(e){return this.isBefore(e,"year")}isBeforeMonth(e){return this.isBefore(e,"month")}isBeforeDay(e){return this.isBefore(e,"day")}isToday(){return function(e){return Object(o.a)(1,arguments),f(e,Date.now())}(this.nativeDate)}isValid(){return Object(T.a)(this.nativeDate)}isFirstDayOfMonth(){return function(e){return Object(o.a)(1,arguments),1===Object(r.a)(e).getDate()}(this.nativeDate)}isLastDayOfMonth(){return Object(k.a)(this.nativeDate)}toNativeDate(e){return e instanceof R?e.nativeDate:e}}class j{constructor(e,t){this.format=e,this.localeId=t,this.regex=null,this.matchMap={hour:null,minute:null,second:null,periodNarrow:null,periodWide:null,periodAbbreviated:null},this.genRegexp()}toDate(e){const t=this.getTimeResult(e),n=new Date;return Object(D.h)(null==t?void 0:t.hour)&&n.setHours(t.hour),Object(D.h)(null==t?void 0:t.minute)&&n.setMinutes(t.minute),Object(D.h)(null==t?void 0:t.second)&&n.setSeconds(t.second),1===(null==t?void 0:t.period)&&n.getHours()<12&&n.setHours(n.getHours()+12),n}getTimeResult(e){const t=this.regex.exec(e);let n=null;return t?(Object(D.h)(this.matchMap.periodNarrow)&&(n=Object(E.A)(this.localeId,E.h.Format,E.w.Narrow).indexOf(t[this.matchMap.periodNarrow+1])),Object(D.h)(this.matchMap.periodWide)&&(n=Object(E.A)(this.localeId,E.h.Format,E.w.Wide).indexOf(t[this.matchMap.periodWide+1])),Object(D.h)(this.matchMap.periodAbbreviated)&&(n=Object(E.A)(this.localeId,E.h.Format,E.w.Abbreviated).indexOf(t[this.matchMap.periodAbbreviated+1])),{hour:Object(D.h)(this.matchMap.hour)?Number.parseInt(t[this.matchMap.hour+1],10):null,minute:Object(D.h)(this.matchMap.minute)?Number.parseInt(t[this.matchMap.minute+1],10):null,second:Object(D.h)(this.matchMap.second)?Number.parseInt(t[this.matchMap.second+1],10):null,period:n}):null}genRegexp(){let e=this.format.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$&");const t=/h{1,2}/i,n=/m{1,2}/,i=/s{1,2}/,r=/aaaaa/,o=/aaaa/,s=/a{1,3}/,a=t.exec(this.format),c=n.exec(this.format),l=i.exec(this.format),u=r.exec(this.format);let d=null,h=null;u||(d=o.exec(this.format)),d||u||(h=s.exec(this.format)),[a,c,l,u,d,h].filter(e=>!!e).sort((e,t)=>e.index-t.index).forEach((p,f)=>{switch(p){case a:this.matchMap.hour=f,e=e.replace(t,"(\\d{1,2})");break;case c:this.matchMap.minute=f,e=e.replace(n,"(\\d{1,2})");break;case l:this.matchMap.second=f,e=e.replace(i,"(\\d{1,2})");break;case u:this.matchMap.periodNarrow=f;const p=Object(E.A)(this.localeId,E.h.Format,E.w.Narrow).join("|");e=e.replace(r,`(${p})`);break;case d:this.matchMap.periodWide=f;const g=Object(E.A)(this.localeId,E.h.Format,E.w.Wide).join("|");e=e.replace(o,`(${g})`);break;case h:this.matchMap.periodAbbreviated=f;const b=Object(E.A)(this.localeId,E.h.Format,E.w.Abbreviated).join("|");e=e.replace(s,`(${b})`)}}),this.regex=new RegExp(e)}}},nDcz:function(e,t,n){"use strict";n.d(t,"a",function(){return p});var i=n("fXoL"),r=n("mboQ"),o=n("ofXK"),s=n("+oEP"),a=n("FwiY"),c=n("C2AL"),l=n("IuAY"),u=n("aew6");function d(e,t){if(1&e){const e=i.Xb();i.Sc(0,"\n "),i.Wb(1,"div",5),i.Sc(2,"\n "),i.Wb(3,"nd-currency-select",6),i.lc("currencyChange",function(t){return i.Hc(e),i.oc().currencySelected(t)}),i.Vb(),i.Sc(4,"\n "),i.Vb(),i.Sc(5,"\n ")}if(2&e){const e=i.oc();i.Cb(3),i.wc("currency",e.currency)("currencyList",e.currencyList)("lang",e.lang)}}const h=function(e){return["nd-navbar-currency-select",e]};let p=(()=>{class e{constructor(){this.currencyList=[],this.currencyChange=new i.n}get selectedCurrency(){return r.a.get(this.currency)}currencyPopoverVisibleChange(e){this.isOpen=e}currencySelected(e){const t=e.data;this.currency!==t.code&&(this.currency=t.code,this.currencyChange.emit(e)),this.isOpen=!1}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Kb({type:e,selectors:[["nd-navbar-currency-select"]],inputs:{currency:"currency",currencyList:"currencyList",lang:"lang",navType:"navType"},outputs:{currencyChange:"currencyChange"},decls:13,vars:12,consts:[[3,"ngClass"],["nz-popover","","nzPopoverTrigger","click",1,"nd-navbar__nav-link",3,"nzPopoverPlacement","nzPopoverContent","nzPopoverVisible","nzPopoverVisibleChange"],["popover","nzPopover"],["nz-icon","",1,"nd-navbar__dropdown-arrow",3,"nzType"],["currencySelectPopover",""],[1,"nd-navbar-currency-select-popover","nd-scrollable"],[3,"currency","currencyList","lang","currencyChange"]],template:function(e,t){if(1&e&&(i.Sc(0,"\n "),i.Wb(1,"div",0),i.Sc(2,"\n "),i.Wb(3,"a",1,2),i.lc("nzPopoverVisibleChange",function(e){return t.currencyPopoverVisibleChange(e)}),i.Sc(5),i.Rb(6,"i",3),i.Sc(7,"\n "),i.Vb(),i.Sc(8,"\n "),i.Vb(),i.Sc(9,"\n "),i.Qc(10,d,6,3,"ng-template",null,4,i.Rc),i.Sc(12,"\n ")),2&e){const e=i.Ec(4),n=i.Ec(11);i.Cb(1),i.Ib("nd-navbar-currency-select_opened",t.isOpen),i.wc("ngClass",i.Bc(10,h,t.navType)),i.Cb(2),i.wc("nzPopoverPlacement","bottomRight")("nzPopoverContent",n)("nzPopoverVisible",t.isOpen),i.Cb(2),i.Uc("\n ",t.selectedCurrency.code,"\n "),i.Cb(1),i.Ib("nd-navbar__dropdown-arrow_opened",e.visible),i.wc("nzType","nd:arrow-dark")}},directives:[o.m,s.a,a.a,c.a,l.a,u.a],styles:[".nd-navbar-currency-select>span{display:flex;align-items:center;background:transparent}.nd-navbar-currency-select.dark>span{color:#fff}.nd-navbar-currency-select-popover{width:550px;max-height:500px;overflow-x:hidden}"],encapsulation:2,changeDetection:0}),e})()},nJia:function(e,t,n){"use strict";n.d(t,"a",function(){return O}),n.d(t,"b",function(){return x}),n.d(t,"c",function(){return C}),n.d(t,"d",function(){return _}),n.d(t,"e",function(){return S});var i=n("fXoL"),r=n("GR68");const o=["pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"];var s=n("YF2q"),a=n("cH1L"),c=n("rDax"),l=n("JgHy"),u=n("/KA4"),d=n("XNiG"),h=n("/uUt"),p=n("1G5W"),f=n("ofXK"),g=n("pdGh"),b=n("2Suw");const m=["overlay"];function y(e,t){if(1&e&&(i.Ub(0),i.Sc(1),i.Tb()),2&e){const e=i.oc(2);i.Cb(1),i.Tc(e.nzTitle)}}function v(e,t){if(1&e&&(i.Wb(0,"div",2),i.Wb(1,"div",3),i.Wb(2,"div",4),i.Rb(3,"span",5),i.Vb(),i.Wb(4,"div",6),i.Qc(5,y,2,1,"ng-container",7),i.Vb(),i.Vb(),i.Vb()),2&e){const e=i.oc();i.Ib("ant-tooltip-rtl","rtl"===e.dir),i.wc("ngClass",e._classMap)("ngStyle",e.nzOverlayStyle)("@.disabled",null==e.noAnimation?null:e.noAnimation.nzNoAnimation)("nzNoAnimation",null==e.noAnimation?null:e.noAnimation.nzNoAnimation)("@zoomBigMotion","active"),i.Cb(3),i.wc("ngStyle",e._contentStyleMap),i.Cb(1),i.wc("ngStyle",e._contentStyleMap),i.Cb(1),i.wc("nzStringTemplateOutlet",e.nzTitle)}}let C=(()=>{class e{constructor(e,t,n,r,o,s){this.elementRef=e,this.hostView=t,this.resolver=n,this.renderer=r,this.noAnimation=o,this.nzConfigService=s,this.visibleChange=new i.n,this.internalVisible=!1,this.destroy$=new d.a,this.triggerDisposables=[]}get _title(){return this.title||this.directiveTitle||null}get _content(){return this.content||this.directiveContent||null}get _trigger(){return void 0!==this.trigger?this.trigger:"hover"}get _placement(){const e=this.placement;return Array.isArray(e)&&e.length>0?e:"string"==typeof e&&e?[e]:["top"]}get _visible(){return(void 0!==this.visible?this.visible:this.internalVisible)||!1}get _mouseEnterDelay(){return this.mouseEnterDelay||.15}get _mouseLeaveDelay(){return this.mouseLeaveDelay||.1}get _overlayClassName(){return this.overlayClassName||null}get _overlayStyle(){return this.overlayStyle||null}getProxyPropertyMap(){return{noAnimation:["noAnimation",()=>this.noAnimation]}}ngOnChanges(e){const{trigger:t}=e;t&&!t.isFirstChange()&&this.registerTriggers(),this.component&&this.updatePropertiesByChanges(e)}ngAfterViewInit(){this.createComponent(),this.registerTriggers()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.clearTogglingTimer(),this.removeTriggerListeners()}show(){var e;null===(e=this.component)||void 0===e||e.show()}hide(){var e;null===(e=this.component)||void 0===e||e.hide()}updatePosition(){this.component&&this.component.updatePosition()}createComponent(){const e=this.hostView.createComponent(this.componentFactory);this.component=e.instance,this.renderer.removeChild(this.renderer.parentNode(this.elementRef.nativeElement),e.location.nativeElement),this.component.setOverlayOrigin({elementRef:this.origin||this.elementRef}),this.initProperties(),this.component.nzVisibleChange.pipe(Object(h.a)(),Object(p.a)(this.destroy$)).subscribe(e=>{this.internalVisible=e,this.visibleChange.emit(e)})}registerTriggers(){const e=this.elementRef.nativeElement,t=this.trigger;if(this.removeTriggerListeners(),"hover"===t){let t;this.triggerDisposables.push(this.renderer.listen(e,"mouseenter",()=>{this.delayEnterLeave(!0,!0,this._mouseEnterDelay)})),this.triggerDisposables.push(this.renderer.listen(e,"mouseleave",()=>{var e;this.delayEnterLeave(!0,!1,this._mouseLeaveDelay),(null===(e=this.component)||void 0===e?void 0:e.overlay.overlayRef)&&!t&&(t=this.component.overlay.overlayRef.overlayElement,this.triggerDisposables.push(this.renderer.listen(t,"mouseenter",()=>{this.delayEnterLeave(!1,!0,this._mouseEnterDelay)})),this.triggerDisposables.push(this.renderer.listen(t,"mouseleave",()=>{this.delayEnterLeave(!1,!1,this._mouseLeaveDelay)})))}))}else"focus"===t?(this.triggerDisposables.push(this.renderer.listen(e,"focus",()=>this.show())),this.triggerDisposables.push(this.renderer.listen(e,"blur",()=>this.hide()))):"click"===t&&this.triggerDisposables.push(this.renderer.listen(e,"click",e=>{e.preventDefault(),this.show()}))}updatePropertiesByChanges(e){this.updatePropertiesByKeys(Object.keys(e))}updatePropertiesByKeys(e){var t;const n=Object.assign({title:["nzTitle",()=>this._title],directiveTitle:["nzTitle",()=>this._title],content:["nzContent",()=>this._content],directiveContent:["nzContent",()=>this._content],trigger:["nzTrigger",()=>this._trigger],placement:["nzPlacement",()=>this._placement],visible:["nzVisible",()=>this._visible],mouseEnterDelay:["nzMouseEnterDelay",()=>this._mouseEnterDelay],mouseLeaveDelay:["nzMouseLeaveDelay",()=>this._mouseLeaveDelay],overlayClassName:["nzOverlayClassName",()=>this._overlayClassName],overlayStyle:["nzOverlayStyle",()=>this._overlayStyle]},this.getProxyPropertyMap());(e||Object.keys(n).filter(e=>!e.startsWith("directive"))).forEach(e=>{if(n[e]){const[t,i]=n[e];this.updateComponentValue(t,i())}}),null===(t=this.component)||void 0===t||t.updateByDirective()}initProperties(){this.updatePropertiesByKeys()}updateComponentValue(e,t){void 0!==t&&(this.component[e]=t)}delayEnterLeave(e,t,n=-1){this.delayTimer?this.clearTogglingTimer():n>0?this.delayTimer=setTimeout(()=>{this.delayTimer=void 0,t?this.show():this.hide()},1e3*n):t&&e?this.show():this.hide()}removeTriggerListeners(){this.triggerDisposables.forEach(e=>e()),this.triggerDisposables.length=0}clearTogglingTimer(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=void 0)}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.l),i.Qb(i.R),i.Qb(i.j),i.Qb(i.G),i.Qb(s.a),i.Qb(b.b))},e.\u0275dir=i.Lb({type:e,features:[i.Ab]}),e})(),w=(()=>{class e{constructor(e,t,n){this.cdr=e,this.directionality=t,this.noAnimation=n,this.nzTitle=null,this.nzContent=null,this.nzOverlayStyle={},this.nzBackdrop=!1,this.nzVisibleChange=new d.a,this._visible=!1,this._trigger="hover",this.preferredPlacement="top",this.dir="ltr",this._classMap={},this._prefix="ant-tooltip",this._positions=[...l.a],this.destroy$=new d.a}set nzVisible(e){const t=Object(u.q)(e);this._visible!==t&&(this._visible=t,this.nzVisibleChange.next(t))}get nzVisible(){return this._visible}set nzTrigger(e){this._trigger=e}get nzTrigger(){return this._trigger}set nzPlacement(e){const t=e.map(e=>l.d[e]);this._positions=[...t,...l.a]}ngOnInit(){var e;null===(e=this.directionality.change)||void 0===e||e.pipe(Object(p.a)(this.destroy$)).subscribe(e=>{this.dir=e,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnDestroy(){this.nzVisibleChange.complete(),this.destroy$.next(),this.destroy$.complete()}show(){this.nzVisible||(this.isEmpty()||(this.nzVisible=!0,this.nzVisibleChange.next(!0),this.cdr.detectChanges()),this.origin&&this.overlay&&this.overlay.overlayRef&&"rtl"===this.overlay.overlayRef.getDirection()&&this.overlay.overlayRef.setDirection("ltr"))}hide(){this.nzVisible&&(this.nzVisible=!1,this.nzVisibleChange.next(!1),this.cdr.detectChanges())}updateByDirective(){this.updateStyles(),this.cdr.detectChanges(),Promise.resolve().then(()=>{this.updatePosition(),this.updateVisibilityByTitle()})}updatePosition(){this.origin&&this.overlay&&this.overlay.overlayRef&&this.overlay.overlayRef.updatePosition()}onPositionChange(e){this.preferredPlacement=Object(l.e)(e),this.updateStyles(),this.cdr.detectChanges()}updateStyles(){this._classMap={[this.nzOverlayClassName]:!0,[`${this._prefix}-placement-${this.preferredPlacement}`]:!0}}setOverlayOrigin(e){this.origin=e,this.cdr.markForCheck()}onClickOutside(e){this.origin.elementRef.nativeElement.contains(e.target)||null===this.nzTrigger||this.hide()}updateVisibilityByTitle(){this.isEmpty()&&this.hide()}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.h),i.Qb(a.c,8),i.Qb(s.a))},e.\u0275dir=i.Lb({type:e,viewQuery:function(e,t){if(1&e&&i.Xc(m,1),2&e){let e;i.Dc(e=i.mc())&&(t.overlay=e.first)}}}),e})();function S(e){return!(e instanceof i.N||""!==e&&Object(u.h)(e))}let _=(()=>{class e extends C{constructor(e,t,n,r,o){super(e,t,n,r,o),this.trigger="hover",this.placement="top",this.visibleChange=new i.n,this.componentFactory=this.resolver.resolveComponentFactory(O)}getProxyPropertyMap(){return{nzTooltipColor:["nzColor",()=>this.nzTooltipColor]}}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.l),i.Qb(i.R),i.Qb(i.j),i.Qb(i.G),i.Qb(s.a,9))},e.\u0275dir=i.Lb({type:e,selectors:[["","nz-tooltip",""]],hostVars:2,hostBindings:function(e,t){2&e&&i.Ib("ant-tooltip-open",t.visible)},inputs:{trigger:["nzTooltipTrigger","trigger"],placement:["nzTooltipPlacement","placement"],title:["nzTooltipTitle","title"],directiveTitle:["nz-tooltip","directiveTitle"],origin:["nzTooltipOrigin","origin"],visible:["nzTooltipVisible","visible"],mouseEnterDelay:["nzTooltipMouseEnterDelay","mouseEnterDelay"],mouseLeaveDelay:["nzTooltipMouseLeaveDelay","mouseLeaveDelay"],overlayClassName:["nzTooltipOverlayClassName","overlayClassName"],overlayStyle:["nzTooltipOverlayStyle","overlayStyle"],nzTooltipColor:"nzTooltipColor"},outputs:{visibleChange:"nzTooltipVisibleChange"},exportAs:["nzTooltip"],features:[i.zb]}),e})(),O=(()=>{class e extends w{constructor(e,t,n){super(e,t,n),this.noAnimation=n,this.nzTitle=null,this._contentStyleMap={}}isEmpty(){return S(this.nzTitle)}updateStyles(){const e=this.nzColor&&-1!==o.indexOf(this.nzColor);this._classMap={[this.nzOverlayClassName]:!0,[`${this._prefix}-placement-${this.preferredPlacement}`]:!0,[`${this._prefix}-${this.nzColor}`]:e},this._contentStyleMap={backgroundColor:this.nzColor&&!e?this.nzColor:null}}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.h),i.Qb(a.c,8),i.Qb(s.a,9))},e.\u0275cmp=i.Kb({type:e,selectors:[["nz-tooltip"]],exportAs:["nzTooltipComponent"],features:[i.zb],decls:2,vars:4,consts:[["cdkConnectedOverlay","","nzConnectedOverlay","",3,"cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayPush","overlayOutsideClick","detach","positionChange"],["overlay","cdkConnectedOverlay"],[1,"ant-tooltip",3,"ngClass","ngStyle","nzNoAnimation"],[1,"ant-tooltip-content"],[1,"ant-tooltip-arrow"],[1,"ant-tooltip-arrow-content",3,"ngStyle"],[1,"ant-tooltip-inner",3,"ngStyle"],[4,"nzStringTemplateOutlet"]],template:function(e,t){1&e&&(i.Qc(0,v,6,10,"ng-template",0,1,i.Rc),i.lc("overlayOutsideClick",function(e){return t.onClickOutside(e)})("detach",function(){return t.hide()})("positionChange",function(e){return t.onPositionChange(e)})),2&e&&i.wc("cdkConnectedOverlayOrigin",t.origin)("cdkConnectedOverlayOpen",t._visible)("cdkConnectedOverlayPositions",t._positions)("cdkConnectedOverlayPush",!0)},directives:[c.a,l.b,f.m,f.p,s.a,g.b],encapsulation:2,data:{animation:[r.h]},changeDetection:0}),e})(),x=(()=>{class e{}return e.\u0275mod=i.Ob({type:e}),e.\u0275inj=i.Nb({factory:function(t){return new(t||e)},imports:[[a.a,f.c,c.f,g.a,l.c,s.b]]}),e})()},nLfN:function(e,t,n){"use strict";n.d(t,"a",function(){return u}),n.d(t,"b",function(){return d}),n.d(t,"c",function(){return g}),n.d(t,"d",function(){return f}),n.d(t,"e",function(){return h}),n.d(t,"f",function(){return p});var i=n("fXoL"),r=n("ofXK");let o;try{o="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(b){o=!1}let s,a,c,l,u=(()=>{class e{constructor(e){this._platformId=e,this.isBrowser=this._platformId?Object(r.B)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!o)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return e.\u0275fac=function(t){return new(t||e)(i.hc(i.D))},e.\u0275prov=Object(i.Mb)({factory:function(){return new e(Object(i.hc)(i.D))},token:e,providedIn:"root"}),e})(),d=(()=>{class e{}return e.\u0275mod=i.Ob({type:e}),e.\u0275inj=i.Nb({factory:function(t){return new(t||e)}}),e})();function h(e){return function(){if(null==s&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>s=!0}))}finally{s=s||!1}return s}()?e:!!e.capture}function p(){if(null==c){if("object"!=typeof document||!document)return c=!1,c;if("scrollBehavior"in document.documentElement.style)c=!0;else{const e=Element.prototype.scrollTo;c=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return c}function f(){if("object"!=typeof document||!document)return 0;if(null==a){const e=document.createElement("div"),t=e.style;e.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";const n=document.createElement("div"),i=n.style;i.width="2px",i.height="1px",e.appendChild(n),document.body.appendChild(e),a=0,0===e.scrollLeft&&(e.scrollLeft=1,a=0===e.scrollLeft?1:2),e.parentNode.removeChild(e)}return a}function g(e){if(function(){if(null==l){const e="undefined"!=typeof document?document.head:null;l=!(!e||!e.createShadowRoot&&!e.attachShadow)}return l}()){const t=e.getRootNode?e.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}},nYR2:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n("7o/Q"),r=n("quSY");function o(e){return t=>t.lift(new s(e))}class s{constructor(e){this.callback=e}call(e,t){return t.subscribe(new a(e,this.callback))}}class a extends i.a{constructor(e,t){super(e),this.add(new r.a(t))}}},ngJS:function(e,t,n){"use strict";n.d(t,"a",function(){return i});const i=e=>t=>{for(let n=0,i=e.length;n>>2]}},i.pad.Iso10126)},oZ7g:function(e,t,n){"use strict";n.d(t,"a",function(){return h});var i=n("fXoL"),r=n("SjsC"),o=n("ofXK");function s(e,t){if(1&e&&(i.Wb(0,"div"),i.ac(1,3),i.pc(2,"currency"),i.Vb()),2&e){const e=i.oc(2);i.Cb(2),i.ec(i.tc(2,1,e.ndSetting.CampaignRewardAmount,e.ndSetting.Currency,"symbol-narrow","1.0-2")),i.bc(1)}}function a(e,t){if(1&e&&(i.Ub(0),i.Sc(1,"\n "),i.Wb(2,"span"),i.Sc(3),i.Vb(),i.Sc(4,"\n "),i.Wb(5,"strong"),i.Sc(6),i.pc(7,"number"),i.Vb(),i.Sc(8,"\n "),i.Tb()),2&e){const e=i.oc(2);i.Cb(3),i.Tc(e.ndSetting.Currency),i.Cb(3),i.Tc(i.qc(7,2,e.ndSetting.CampaignRewardAmount))}}function c(e,t){if(1&e&&(i.Ub(0),i.Sc(1,"\n "),i.Qc(2,s,3,6,"div",2),i.Sc(3,"\n "),i.Qc(4,a,9,4,"ng-container",2),i.Sc(5,"\n "),i.Tb()),2&e){const e=i.oc();i.Cb(2),i.wc("ngIf",e.ndForOptionDesc),i.Cb(2),i.wc("ngIf",!e.ndForOptionDesc)}}function l(e,t){if(1&e&&(i.Ub(0),i.Sc(1,"\n "),i.Wb(2,"strong"),i.Sc(3),i.pc(4,"number"),i.Vb(),i.Sc(5,"\n "),i.Wb(6,"span"),i.Sc(7,"\u6298"),i.Vb(),i.Sc(8,"\n "),i.Tb()),2&e){const e=i.oc(2);i.Cb(3),i.Tc(i.qc(4,1,(100-e.ndSetting.CampaignRewardAmount)/10))}}function u(e,t){if(1&e&&(i.Sc(0,"\n "),i.Wb(1,"strong"),i.Sc(2),i.Vb(),i.Sc(3," Off\n ")),2&e){const e=i.oc(2);i.Cb(2),i.Uc("",e.ndSetting.CampaignRewardAmount,"%")}}function d(e,t){if(1&e&&(i.Ub(0),i.Sc(1,"\n "),i.Qc(2,l,9,3,"ng-container",4),i.Sc(3,"\n "),i.Qc(4,u,4,1,"ng-template",null,5,i.Rc),i.Sc(6,"\n "),i.Tb()),2&e){const e=i.Ec(5),t=i.oc();i.Cb(2),i.wc("ngIf","zh-CN"===t.lang)("ngIfElse",e)}}let h=(()=>{class e{constructor(e){this.lang=e,this.AdjustmentType=r.a}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.v))},e.\u0275cmp=i.Kb({type:e,selectors:[["nd-coupon-reward-amount"]],inputs:{ndSetting:"ndSetting",ndForOptionDesc:"ndForOptionDesc"},decls:6,vars:3,consts:function(){let e;return e="Save " + "\ufffd0\ufffd" + "",[[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngIf"],e,[4,"ngIf","ngIfElse"],["commonDiscount",""]]},template:function(e,t){1&e&&(i.Ub(0,0),i.Sc(1,"\n "),i.Qc(2,c,6,2,"ng-container",1),i.Sc(3,"\n "),i.Qc(4,d,7,2,"ng-container",1),i.Sc(5,"\n "),i.Tb()),2&e&&(i.wc("ngSwitch",t.ndSetting.CampaignRewardAdjustmentTypeID),i.Cb(2),i.wc("ngSwitchCase",t.AdjustmentType.FixedAmount),i.Cb(2),i.wc("ngSwitchCase",t.AdjustmentType.Percentage))},directives:[o.q,o.r,o.o],pipes:[o.d,o.g],styles:[""],encapsulation:2,changeDetection:0}),e})()},oZhE:function(e,t,n){"use strict";n.d(t,"a",function(){return w}),n.d(t,"b",function(){return S});var i=n("fXoL"),r=n("dgj+"),o=n("pFuZ"),s=n("SOqu"),a=n("BVU9"),c=n("tb4M"),l=n("4xsP"),u=n("ofXK"),d=n("dAoj"),h=n("tyNb"),p=n("FwiY"),f=n("C2AL"),g=n("IuAY");function b(e,t){if(1&e){const e=i.Xb();i.Wb(0,"div"),i.Sc(1,"\n "),i.Wb(2,"a",7),i.lc("click",function(){return i.Hc(e),i.oc(5).onNavClick()}),i.Sc(3,"\n "),i.Wb(4,"span",8),i.Sc(5),i.Vb(),i.Sc(6,"\n "),i.Rb(7,"i",9),i.Sc(8,"\n "),i.Vb(),i.Sc(9,"\n "),i.Vb()}if(2&e){const e=i.oc().$implicit;i.Cb(2),i.wc("title",e.title)("routerLink",e.path),i.Cb(3),i.Tc(e.title)}}function m(e,t){if(1&e&&(i.Ub(0),i.Sc(1,"\n "),i.Qc(2,b,10,3,"div",6),i.Sc(3,"\n "),i.Tb()),2&e){const e=t.$implicit;i.Cb(2),i.wc("ndAccessControl",null==e.controls?null:e.controls.permissions)("ndAccessControlExpCtrl",null==e.controls?null:e.controls.experiments)("ndAccessControlLang",null==e.controls?null:e.controls.lang)}}function y(e,t){if(1&e&&(i.Ub(0),i.Sc(1,"\n "),i.Wb(2,"h4",5),i.Sc(3),i.Vb(),i.Sc(4,"\n "),i.Qc(5,m,4,3,"ng-container",2),i.Sc(6,"\n "),i.Tb()),2&e){const e=i.oc(2).$implicit;i.Cb(3),i.Tc(e.title),i.Cb(2),i.wc("ngForOf",e.children)}}function v(e,t){1&e&&(i.Ub(0),i.Sc(1,"\n "),i.Qc(2,y,7,2,"ng-container",4),i.Sc(3,"\n "),i.Tb())}function C(e,t){if(1&e&&(i.Ub(0),i.Sc(1,"\n "),i.Qc(2,v,4,0,"ng-container",3),i.Sc(3,"\n "),i.Tb()),2&e){const e=t.$implicit;i.Cb(2),i.wc("ndAccessControl",null==e.controls?null:e.controls.permissions)("ndAccessControlExpCtrl",null==e.controls?null:e.controls.experiments)}}const w=[{title:"Hotel Reservations Beginner's Guide",busiType:"HOTEL",path:"/help/guide/hotel",icon:a.a.hotel,controls:{permissions:[r.c.ResourceHotel_Price_Search,r.c.ResourceHotel_Booking_View],experiments:null},children:[{title:"Find Hotel",path:"/help/guide/hotel",id:"hotel_order",controls:{}},{title:"Booking Inquiry",path:"/help/guide/hotel/booking_manage",id:"booking_manage",controls:{permissions:[r.c.ResourceHotel_Booking_View]}},{title:"Invoice Request",path:"/help/guide/hotel/invoice_apply",id:"invoice_apply",controls:{lang:"zh-CN",permissions:[r.c.Finance_Invoice_Apply],experiments:s.a.InvoiceControl}},{title:"Redeem Points",path:"/help/guide/hotel/points_redeem",id:"points_redeem",controls:{permissions:[r.c.Marketing_PointsMarket_View],experiments:s.a.UserPointsControl}},{title:"Submit Ticket",path:"/help/guide/hotel/tickets_process",id:"tickets_process",controls:{lang:o.b,permissions:[r.c.Ticket_Ticket_Apply],experiments:s.a.WorkOrderControl}}]},{title:"Flight Reservations Beginner's Guide",path:"/help/guide/flight",busiType:"FLIGHT",icon:a.a.flightPlane,controls:{permissions:[r.c.ResourceFlight_Price_Search,r.c.ResourceFlight_Booking_View],experiments:s.a.FlightControl},children:[{title:"Flight Searching and Ordering Process",path:"/help/guide/flight",id:"search"},{title:"Reissuance Process",path:"/help/guide/flight/change",id:"change"},{title:"Refund Process",path:"/help/guide/flight/refund",id:"refund"},{title:"Account Management",path:"/help/guide/flight/account",id:"account"}]}];let S=(()=>{class e extends c.n{constructor(){super(),this.ndVisible=!1,this.navItemClick=new i.n,this.menuConfig=w}ngOnInit(){}onNavClick(){this.navItemClick.emit(!1)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Kb({type:e,selectors:[["nd-navbar-helper-center"]],inputs:{ndVisible:"ndVisible"},outputs:{navItemClick:"navItemClick"},features:[i.zb],decls:8,vars:3,consts:[[1,"nd-navbar-help-center"],[3,"nzDirection","nzSize"],[4,"ngFor","ngForOf"],[4,"ndAccessControl","ndAccessControlExpCtrl"],[4,"nzSpaceItem"],[1,"nd-navbar-popover__sub-title"],[4,"ndAccessControl","ndAccessControlExpCtrl","ndAccessControlLang"],[1,"help-nav",3,"title","routerLink","click"],[1,"nav-name"],["nz-icon","","nzType","nd:help-link"]],template:function(e,t){1&e&&(i.Wb(0,"div",0),i.Sc(1,"\n "),i.Wb(2,"nz-space",1),i.Sc(3,"\n "),i.Qc(4,C,4,2,"ng-container",2),i.Sc(5,"\n "),i.Vb(),i.Sc(6,"\n"),i.Vb(),i.Sc(7,"\n")),2&e&&(i.Cb(2),i.wc("nzDirection","vertical")("nzSize",10),i.Cb(2),i.wc("ngForOf",t.menuConfig))},directives:[l.a,u.n,d.a,l.b,h.j,p.a,f.a,g.a],styles:[".nd-navbar-help-center[_ngcontent-%COMP%]{width:287px;font-weight:400;font-size:14px}.nd-navbar-help-center[_ngcontent-%COMP%] .help-nav[_ngcontent-%COMP%]{margin:5px 0}.nd-navbar-help-center[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:10px;margin-left:5px}"]}),e})()},ocnv:function(e,t,n){"use strict";n.d(t,"a",function(){return N}),n.d(t,"b",function(){return j}),n.d(t,"c",function(){return V}),n.d(t,"d",function(){return B}),n.d(t,"e",function(){return W});var i=n("cH1L"),r=n("0MNC"),o=n("nLfN"),s=n("ofXK"),a=n("pdGh"),c=n("B+r4"),l=n("FwiY"),u=n("nJia"),d=n("3Pt+"),h=n("GR68"),p=n("/KA4"),f=n("XNiG"),g=n("quSY"),b=n("1G5W"),m=n("pLZG"),y=n("lJxs"),v=n("vkgz"),C=n("JX91"),w=n("mrSG"),S=n("2Suw"),_=n("fXoL"),O=n("Rm4T");const x=["*"];function z(e,t){if(1&e&&_.Rb(0,"i",6),2&e){const e=_.oc();_.wc("nzType",e.iconType)}}function T(e,t){if(1&e&&(_.Ub(0),_.Sc(1),_.Tb()),2&e){const e=_.oc(2);_.Cb(1),_.Tc(e.innerTip)}}const k=function(e){return["ant-form-item-explain",e]},P=function(e){return{$implicit:e}};function E(e,t){if(1&e&&(_.Wb(0,"div",7),_.Wb(1,"div"),_.Qc(2,T,2,1,"ng-container",8),_.Vb(),_.Vb()),2&e){const e=_.oc();_.wc("ngClass",_.Bc(4,k,"ant-form-item-explain-"+e.status)),_.Cb(1),_.wc("@helpMotion",void 0),_.Cb(1),_.wc("nzStringTemplateOutlet",e.innerTip)("nzStringTemplateOutletContext",_.Bc(6,P,e.validateControl))}}function D(e,t){if(1&e&&(_.Ub(0),_.Sc(1),_.Tb()),2&e){const e=_.oc(2);_.Cb(1),_.Tc(e.nzExtra)}}function M(e,t){if(1&e&&(_.Wb(0,"div",9),_.Qc(1,D,2,1,"ng-container",10),_.Vb()),2&e){const e=_.oc();_.Cb(1),_.wc("nzStringTemplateOutlet",e.nzExtra)}}function I(e,t){if(1&e&&(_.Ub(0),_.Rb(1,"i",3),_.Tb()),2&e){const e=t.$implicit,n=_.oc(2);_.Cb(1),_.wc("nzType",e)("nzTheme",n.tooltipIcon.theme)}}function A(e,t){if(1&e&&(_.Wb(0,"span",1),_.Qc(1,I,2,2,"ng-container",2),_.Vb()),2&e){const e=_.oc();_.wc("nzTooltipTitle",e.nzTooltipTitle),_.Cb(1),_.wc("nzStringTemplateOutlet",e.tooltipIcon.type)}}const R={type:"question-circle",theme:"outline"};let j=(()=>{class e{constructor(e,t,n,i){var r;this.nzConfigService=e,this.renderer=n,this.directionality=i,this._nzModuleName="form",this.nzLayout="horizontal",this.nzNoColon=!1,this.nzAutoTips={},this.nzDisableAutoTips=!1,this.nzTooltipIcon=R,this.dir="ltr",this.destroy$=new f.a,this.inputChanges$=new f.a,this.renderer.addClass(t.nativeElement,"ant-form"),this.dir=this.directionality.value,null===(r=this.directionality.change)||void 0===r||r.pipe(Object(b.a)(this.destroy$)).subscribe(e=>{this.dir=e})}getInputObservable(e){return this.inputChanges$.pipe(Object(m.a)(t=>e in t),Object(y.a)(t=>t[e]))}ngOnChanges(e){this.inputChanges$.next(e)}ngOnDestroy(){this.inputChanges$.complete(),this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(_.Qb(S.b),_.Qb(_.l),_.Qb(_.G),_.Qb(i.c,8))},e.\u0275dir=_.Lb({type:e,selectors:[["","nz-form",""]],hostVars:8,hostBindings:function(e,t){2&e&&_.Ib("ant-form-horizontal","horizontal"===t.nzLayout)("ant-form-vertical","vertical"===t.nzLayout)("ant-form-inline","inline"===t.nzLayout)("ant-form-rtl","rtl"===t.dir)},inputs:{nzLayout:"nzLayout",nzNoColon:"nzNoColon",nzAutoTips:"nzAutoTips",nzDisableAutoTips:"nzDisableAutoTips",nzTooltipIcon:"nzTooltipIcon"},exportAs:["nzForm"],features:[_.Ab]}),Object(w.b)([Object(S.c)(),Object(p.a)(),Object(w.c)("design:type",Boolean)],e.prototype,"nzNoColon",void 0),Object(w.b)([Object(S.c)(),Object(w.c)("design:type",Object)],e.prototype,"nzAutoTips",void 0),Object(w.b)([Object(p.a)(),Object(w.c)("design:type",Object)],e.prototype,"nzDisableAutoTips",void 0),Object(w.b)([Object(S.c)(),Object(w.c)("design:type",Object)],e.prototype,"nzTooltipIcon",void 0),e})(),V=(()=>{class e{constructor(e,t,n){this.cdr=n,this.status=null,this.hasFeedback=!1,this.withHelpClass=!1,this.destroy$=new f.a,t.addClass(e.nativeElement,"ant-form-item")}setWithHelpViaTips(e){this.withHelpClass=e,this.cdr.markForCheck()}setStatus(e){this.status=e,this.cdr.markForCheck()}setHasFeedback(e){this.hasFeedback=e,this.cdr.markForCheck()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(_.Qb(_.l),_.Qb(_.G),_.Qb(_.h))},e.\u0275cmp=_.Kb({type:e,selectors:[["nz-form-item"]],hostVars:12,hostBindings:function(e,t){2&e&&_.Ib("ant-form-item-has-success","success"===t.status)("ant-form-item-has-warning","warning"===t.status)("ant-form-item-has-error","error"===t.status)("ant-form-item-is-validating","validating"===t.status)("ant-form-item-has-feedback",t.hasFeedback&&t.status)("ant-form-item-with-help",t.withHelpClass)},exportAs:["nzFormItem"],ngContentSelectors:x,decls:1,vars:0,template:function(e,t){1&e&&(_.vc(),_.uc(0))},encapsulation:2,changeDetection:0}),e})();const L={error:"close-circle-fill",validating:"loading",success:"check-circle-fill",warning:"exclamation-circle-fill"};let N=(()=>{class e{constructor(e,t,n,i,r,o){var s,a;this.nzFormItemComponent=t,this.cdr=n,this.nzFormDirective=o,this._hasFeedback=!1,this.validateChanges=g.a.EMPTY,this.validateString=null,this.destroyed$=new f.a,this.status=null,this.validateControl=null,this.iconType=null,this.innerTip=null,this.nzAutoTips={},this.nzDisableAutoTips="default",i.addClass(e.nativeElement,"ant-form-item-control"),this.subscribeAutoTips(r.localeChange.pipe(Object(v.a)(e=>this.localeId=e.locale))),this.subscribeAutoTips(null===(s=this.nzFormDirective)||void 0===s?void 0:s.getInputObservable("nzAutoTips")),this.subscribeAutoTips(null===(a=this.nzFormDirective)||void 0===a?void 0:a.getInputObservable("nzDisableAutoTips").pipe(Object(m.a)(()=>"default"===this.nzDisableAutoTips)))}get disableAutoTips(){var e;return"default"!==this.nzDisableAutoTips?Object(p.q)(this.nzDisableAutoTips):null===(e=this.nzFormDirective)||void 0===e?void 0:e.nzDisableAutoTips}set nzHasFeedback(e){this._hasFeedback=Object(p.q)(e),this.nzFormItemComponent&&this.nzFormItemComponent.setHasFeedback(this._hasFeedback)}get nzHasFeedback(){return this._hasFeedback}set nzValidateStatus(e){e instanceof d.a||e instanceof d.r?(this.validateControl=e,this.validateString=null,this.watchControl()):e instanceof d.h?(this.validateControl=e.control,this.validateString=null,this.watchControl()):(this.validateString=e,this.validateControl=null,this.setStatus())}watchControl(){this.validateChanges.unsubscribe(),this.validateControl&&this.validateControl.statusChanges&&(this.validateChanges=this.validateControl.statusChanges.pipe(Object(C.a)(null),Object(b.a)(this.destroyed$)).subscribe(e=>{this.disableAutoTips||this.updateAutoErrorTip(),this.setStatus(),this.cdr.markForCheck()}))}setStatus(){this.status=this.getControlStatus(this.validateString),this.iconType=this.status?L[this.status]:null,this.innerTip=this.getInnerTip(this.status),this.nzFormItemComponent&&(this.nzFormItemComponent.setWithHelpViaTips(!!this.innerTip),this.nzFormItemComponent.setStatus(this.status))}getControlStatus(e){let t;return t="warning"===e||this.validateControlStatus("INVALID","warning")?"warning":"error"===e||this.validateControlStatus("INVALID")?"error":"validating"===e||"pending"===e||this.validateControlStatus("PENDING")?"validating":"success"===e||this.validateControlStatus("VALID")?"success":null,t}validateControlStatus(e,t){if(this.validateControl){const{dirty:n,touched:i,status:r}=this.validateControl;return(!!n||!!i)&&(t?this.validateControl.hasError(t):r===e)}return!1}getInnerTip(e){switch(e){case"error":return!this.disableAutoTips&&this.autoErrorTip||this.nzErrorTip||null;case"validating":return this.nzValidatingTip||null;case"success":return this.nzSuccessTip||null;case"warning":return this.nzWarningTip||null;default:return null}}updateAutoErrorTip(){var e,t,n,i,r,o,s,a,c,l,u,d,h;if(this.validateControl){const p=this.validateControl.errors||{};let f="";for(const g in p)if(p.hasOwnProperty(g)&&(f=null!==(u=null!==(s=null!==(r=null!==(t=null===(e=p[g])||void 0===e?void 0:e[this.localeId])&&void 0!==t?t:null===(i=null===(n=this.nzAutoTips)||void 0===n?void 0:n[this.localeId])||void 0===i?void 0:i[g])&&void 0!==r?r:null===(o=this.nzAutoTips.default)||void 0===o?void 0:o[g])&&void 0!==s?s:null===(l=null===(c=null===(a=this.nzFormDirective)||void 0===a?void 0:a.nzAutoTips)||void 0===c?void 0:c[this.localeId])||void 0===l?void 0:l[g])&&void 0!==u?u:null===(h=null===(d=this.nzFormDirective)||void 0===d?void 0:d.nzAutoTips.default)||void 0===h?void 0:h[g]),f)break;this.autoErrorTip=f}}subscribeAutoTips(e){null==e||e.pipe(Object(b.a)(this.destroyed$)).subscribe(()=>{this.disableAutoTips||(this.updateAutoErrorTip(),this.setStatus(),this.cdr.markForCheck())})}ngOnChanges(e){const{nzDisableAutoTips:t,nzAutoTips:n,nzSuccessTip:i,nzWarningTip:r,nzErrorTip:o,nzValidatingTip:s}=e;t||n?(this.updateAutoErrorTip(),this.setStatus()):(i||r||o||s)&&this.setStatus()}ngOnInit(){this.setStatus()}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}ngAfterContentInit(){this.validateControl||this.validateString||(this.nzValidateStatus=this.defaultValidateControl instanceof d.g?this.defaultValidateControl.control:this.defaultValidateControl)}}return e.\u0275fac=function(t){return new(t||e)(_.Qb(_.l),_.Qb(V,9),_.Qb(_.h),_.Qb(_.G),_.Qb(O.d),_.Qb(j,8))},e.\u0275cmp=_.Kb({type:e,selectors:[["nz-form-control"]],contentQueries:function(e,t,n){if(1&e&&_.Jb(n,d.n,1),2&e){let e;_.Dc(e=_.mc())&&(t.defaultValidateControl=e.first)}},inputs:{nzAutoTips:"nzAutoTips",nzDisableAutoTips:"nzDisableAutoTips",nzHasFeedback:"nzHasFeedback",nzValidateStatus:"nzValidateStatus",nzSuccessTip:"nzSuccessTip",nzWarningTip:"nzWarningTip",nzErrorTip:"nzErrorTip",nzValidatingTip:"nzValidatingTip",nzExtra:"nzExtra"},exportAs:["nzFormControl"],features:[_.Ab],ngContentSelectors:x,decls:7,vars:3,consts:[[1,"ant-form-item-control-input"],[1,"ant-form-item-control-input-content"],[1,"ant-form-item-children-icon"],["nz-icon","",3,"nzType",4,"ngIf"],[3,"ngClass",4,"ngIf"],["class","ant-form-item-extra",4,"ngIf"],["nz-icon","",3,"nzType"],[3,"ngClass"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],[1,"ant-form-item-extra"],[4,"nzStringTemplateOutlet"]],template:function(e,t){1&e&&(_.vc(),_.Wb(0,"div",0),_.Wb(1,"div",1),_.uc(2),_.Vb(),_.Wb(3,"span",2),_.Qc(4,z,1,1,"i",3),_.Vb(),_.Vb(),_.Qc(5,E,3,8,"div",4),_.Qc(6,M,2,1,"div",5)),2&e&&(_.Cb(4),_.wc("ngIf",t.nzHasFeedback&&t.iconType),_.Cb(1),_.wc("ngIf",t.innerTip),_.Cb(1),_.wc("ngIf",t.nzExtra))},directives:[s.o,l.a,s.m,a.b],encapsulation:2,data:{animation:[h.b]},changeDetection:0}),e})();function F(e){const t="string"==typeof e?{type:e}:e;return Object.assign(Object.assign({},R),t)}let B=(()=>{class e{constructor(e,t,n,i){this.cdr=n,this.nzFormDirective=i,this.nzRequired=!1,this.noColon="default",this._tooltipIcon="default",this.destroy$=new f.a,t.addClass(e.nativeElement,"ant-form-item-label"),this.nzFormDirective&&(this.nzFormDirective.getInputObservable("nzNoColon").pipe(Object(m.a)(()=>"default"===this.noColon),Object(b.a)(this.destroy$)).subscribe(()=>this.cdr.markForCheck()),this.nzFormDirective.getInputObservable("nzTooltipIcon").pipe(Object(m.a)(()=>"default"===this._tooltipIcon),Object(b.a)(this.destroy$)).subscribe(()=>this.cdr.markForCheck()))}set nzNoColon(e){this.noColon=Object(p.q)(e)}get nzNoColon(){var e;return"default"!==this.noColon?this.noColon:null===(e=this.nzFormDirective)||void 0===e?void 0:e.nzNoColon}set nzTooltipIcon(e){this._tooltipIcon=F(e)}get tooltipIcon(){var e;return"default"!==this._tooltipIcon?this._tooltipIcon:F((null===(e=this.nzFormDirective)||void 0===e?void 0:e.nzTooltipIcon)||R)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(_.Qb(_.l),_.Qb(_.G),_.Qb(_.h),_.Qb(j,12))},e.\u0275cmp=_.Kb({type:e,selectors:[["nz-form-label"]],inputs:{nzRequired:"nzRequired",nzNoColon:"nzNoColon",nzTooltipIcon:"nzTooltipIcon",nzFor:"nzFor",nzTooltipTitle:"nzTooltipTitle"},exportAs:["nzFormLabel"],ngContentSelectors:x,decls:3,vars:6,consts:[["class","ant-form-item-tooltip","nz-tooltip","",3,"nzTooltipTitle",4,"ngIf"],["nz-tooltip","",1,"ant-form-item-tooltip",3,"nzTooltipTitle"],[4,"nzStringTemplateOutlet"],["nz-icon","",3,"nzType","nzTheme"]],template:function(e,t){1&e&&(_.vc(),_.Wb(0,"label"),_.uc(1),_.Qc(2,A,2,2,"span",0),_.Vb()),2&e&&(_.Ib("ant-form-item-no-colon",t.nzNoColon)("ant-form-item-required",t.nzRequired),_.Db("for",t.nzFor),_.Cb(2),_.wc("ngIf",t.nzTooltipTitle))},directives:[s.o,u.d,a.b,l.a],encapsulation:2,changeDetection:0}),Object(w.b)([Object(p.a)(),Object(w.c)("design:type",Object)],e.prototype,"nzRequired",void 0),e})(),W=(()=>{class e{}return e.\u0275mod=_.Ob({type:e}),e.\u0275inj=_.Nb({factory:function(t){return new(t||e)},imports:[[i.a,s.c,c.b,l.b,u.b,r.a,o.b,a.a],c.b]}),e})()},ofXK:function(e,t,n){"use strict";n.d(t,"a",function(){return C}),n.d(t,"b",function(){return Le}),n.d(t,"c",function(){return Ue}),n.d(t,"d",function(){return Be}),n.d(t,"e",function(){return c}),n.d(t,"f",function(){return Ne}),n.d(t,"g",function(){return Fe}),n.d(t,"h",function(){return P}),n.d(t,"i",function(){return S}),n.d(t,"j",function(){return d}),n.d(t,"k",function(){return _}),n.d(t,"l",function(){return y}),n.d(t,"m",function(){return Ce}),n.d(t,"n",function(){return Se}),n.d(t,"o",function(){return Oe}),n.d(t,"p",function(){return De}),n.d(t,"q",function(){return ke}),n.d(t,"r",function(){return Pe}),n.d(t,"s",function(){return Ee}),n.d(t,"t",function(){return Me}),n.d(t,"u",function(){return w}),n.d(t,"v",function(){return l}),n.d(t,"w",function(){return E}),n.d(t,"x",function(){return Ge}),n.d(t,"y",function(){return X}),n.d(t,"z",function(){return H}),n.d(t,"A",function(){return I}),n.d(t,"B",function(){return Qe}),n.d(t,"C",function(){return ye}),n.d(t,"D",function(){return a}),n.d(t,"E",function(){return $e}),n.d(t,"F",function(){return o}),n.d(t,"G",function(){return ve}),n.d(t,"H",function(){return s});var i=n("fXoL");let r=null;function o(){return r}function s(e){r||(r=e)}class a{}const c=new i.r("DocumentToken");let l=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(i.Mb)({factory:u,token:e,providedIn:"platform"}),e})();function u(){return Object(i.hc)(h)}const d=new i.r("Location Initialized");let h=(()=>{class e extends l{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=o().getLocation(),this._history=o().getHistory()}getBaseHrefFromDOM(){return o().getBaseHref(this._doc)}onPopState(e){o().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)}onHashChange(e){o().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!1)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(e){this.location.pathname=e}pushState(e,t,n){p()?this._history.pushState(e,t,n):this.location.hash=n}replaceState(e,t,n){p()?this._history.replaceState(e,t,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return e.\u0275fac=function(t){return new(t||e)(i.hc(c))},e.\u0275prov=Object(i.Mb)({factory:f,token:e,providedIn:"platform"}),e})();function p(){return!!window.history.pushState}function f(){return new h(Object(i.hc)(c))}function g(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function b(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function m(e){return e&&"?"!==e[0]?"?"+e:e}let y=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(i.Mb)({factory:v,token:e,providedIn:"root"}),e})();function v(e){const t=Object(i.hc)(c).location;return new w(Object(i.hc)(l),t&&t.origin||"")}const C=new i.r("appBaseHref");let w=(()=>{class e extends y{constructor(e,t){if(super(),this._platformLocation=e,null==t&&(t=this._platformLocation.getBaseHrefFromDOM()),null==t)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=t}onPopState(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return g(this._baseHref,e)}path(e=!1){const t=this._platformLocation.pathname+m(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?`${t}${n}`:t}pushState(e,t,n,i){const r=this.prepareExternalUrl(n+m(i));this._platformLocation.pushState(e,t,r)}replaceState(e,t,n,i){const r=this.prepareExternalUrl(n+m(i));this._platformLocation.replaceState(e,t,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return e.\u0275fac=function(t){return new(t||e)(i.hc(l),i.hc(C,8))},e.\u0275prov=i.Mb({token:e,factory:e.\u0275fac}),e})(),S=(()=>{class e extends y{constructor(e,t){super(),this._platformLocation=e,this._baseHref="",null!=t&&(this._baseHref=t)}onPopState(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}getBaseHref(){return this._baseHref}path(e=!1){let t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t}prepareExternalUrl(e){const t=g(this._baseHref,e);return t.length>0?"#"+t:t}pushState(e,t,n,i){let r=this.prepareExternalUrl(n+m(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(e,t,r)}replaceState(e,t,n,i){let r=this.prepareExternalUrl(n+m(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return e.\u0275fac=function(t){return new(t||e)(i.hc(l),i.hc(C,8))},e.\u0275prov=i.Mb({token:e,factory:e.\u0275fac}),e})(),_=(()=>{class e{constructor(e,t){this._subject=new i.n,this._urlChangeListeners=[],this._platformStrategy=e;const n=this._platformStrategy.getBaseHref();this._platformLocation=t,this._baseHref=b(x(n)),this._platformStrategy.onPopState(e=>{this._subject.emit({url:this.path(!0),pop:!0,state:e.state,type:e.type})})}path(e=!1){return this.normalize(this._platformStrategy.path(e))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(e,t=""){return this.path()==this.normalize(e+m(t))}normalize(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,x(t)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}go(e,t="",n=null){this._platformStrategy.pushState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+m(t)),n)}replaceState(e,t="",n=null){this._platformStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+m(t)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(e){this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(e=>{this._notifyUrlChangeListeners(e.url,e.state)}))}_notifyUrlChangeListeners(e="",t){this._urlChangeListeners.forEach(n=>n(e,t))}subscribe(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})}}return e.\u0275fac=function(t){return new(t||e)(i.hc(y),i.hc(l))},e.normalizeQueryParams=m,e.joinWithSlash=g,e.stripTrailingSlash=b,e.\u0275prov=Object(i.Mb)({factory:O,token:e,providedIn:"root"}),e})();function O(){return new _(Object(i.hc)(y),Object(i.hc)(l))}function x(e){return e.replace(/\/index.html$/,"")}const z={ADP:[void 0,void 0,0],AFN:[void 0,void 0,0],ALL:[void 0,void 0,0],AMD:[void 0,void 0,2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,"\u0440.",2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:[void 0,"\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RUR:[void 0,"\u0440."],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["CFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var T=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}({}),k=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}({}),P=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}({}),E=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}({}),D=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}({}),M=function(e){return e[e.Decimal=0]="Decimal",e[e.Group=1]="Group",e[e.List=2]="List",e[e.PercentSign=3]="PercentSign",e[e.PlusSign=4]="PlusSign",e[e.MinusSign=5]="MinusSign",e[e.Exponential=6]="Exponential",e[e.SuperscriptingExponent=7]="SuperscriptingExponent",e[e.PerMille=8]="PerMille",e[e[1/0]=9]="Infinity",e[e.NaN=10]="NaN",e[e.TimeSeparator=11]="TimeSeparator",e[e.CurrencyDecimal=12]="CurrencyDecimal",e[e.CurrencyGroup=13]="CurrencyGroup",e}({});function I(e,t,n){const r=Object(i.lb)(e),o=B([r[i.cb.DayPeriodsFormat],r[i.cb.DayPeriodsStandalone]],t);return B(o,n)}function A(e,t){return B(Object(i.lb)(e)[i.cb.DateFormat],t)}function R(e,t){return B(Object(i.lb)(e)[i.cb.TimeFormat],t)}function j(e,t){return B(Object(i.lb)(e)[i.cb.DateTimeFormat],t)}function V(e,t){const n=Object(i.lb)(e),r=n[i.cb.NumberSymbols][t];if(void 0===r){if(t===M.CurrencyDecimal)return n[i.cb.NumberSymbols][M.Decimal];if(t===M.CurrencyGroup)return n[i.cb.NumberSymbols][M.Group]}return r}function L(e,t){return Object(i.lb)(e)[i.cb.NumberFormats][t]}const N=i.ob;function F(e){if(!e[i.cb.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[i.cb.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function B(e,t){for(let n=t;n>-1;n--)if(void 0!==e[n])return e[n];throw new Error("Locale data API: locale data undefined")}function W(e){const[t,n]=e.split(":");return{hours:+t,minutes:+n}}function H(e,t,n="en"){const r=function(e){return Object(i.lb)(e)[i.cb.Currencies]}(n)[e]||z[e]||[],o=r[1];return"narrow"===t&&"string"==typeof o?o:r[0]||e}const U=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,$={},Q=/((?:[^GyYMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var G=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}({}),Y=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}({}),K=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}({});function X(e,t,n,i){let r=function(e){if(le(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){const[t,n=1,i=1]=e.split("-").map(e=>+e);return q(t,n-1,i)}const t=parseFloat(e);if(!isNaN(e-t))return new Date(t);let n;if(n=e.match(U))return function(e){const t=new Date(0);let n=0,i=0;const r=e[8]?t.setUTCFullYear:t.setFullYear,o=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),i=Number(e[9]+e[11])),r.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));const s=Number(e[4]||0)-n,a=Number(e[5]||0)-i,c=Number(e[6]||0),l=Math.floor(1e3*parseFloat("0."+(e[7]||0)));return o.call(t,s,a,c,l),t}(n)}const t=new Date(e);if(!le(t))throw new Error(`Unable to convert "${e}" into a date`);return t}(e);t=J(n,t)||t;let o,s=[];for(;t;){if(o=Q.exec(t),!o){s.push(t);break}{s=s.concat(o.slice(1));const e=s.pop();if(!e)break;t=e}}let a=r.getTimezoneOffset();i&&(a=ce(i,a),r=function(e,t,n){const i=e.getTimezoneOffset();return function(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,-1*(ce(t,i)-i))}(r,i));let c="";return s.forEach(e=>{const t=function(e){if(ae[e])return ae[e];let t;switch(e){case"G":case"GG":case"GGG":t=ne(K.Eras,E.Abbreviated);break;case"GGGG":t=ne(K.Eras,E.Wide);break;case"GGGGG":t=ne(K.Eras,E.Narrow);break;case"y":t=te(Y.FullYear,1,0,!1,!0);break;case"yy":t=te(Y.FullYear,2,0,!0,!0);break;case"yyy":t=te(Y.FullYear,3,0,!1,!0);break;case"yyyy":t=te(Y.FullYear,4,0,!1,!0);break;case"Y":t=se(1);break;case"YY":t=se(2,!0);break;case"YYY":t=se(3);break;case"YYYY":t=se(4);break;case"M":case"L":t=te(Y.Month,1,1);break;case"MM":case"LL":t=te(Y.Month,2,1);break;case"MMM":t=ne(K.Months,E.Abbreviated);break;case"MMMM":t=ne(K.Months,E.Wide);break;case"MMMMM":t=ne(K.Months,E.Narrow);break;case"LLL":t=ne(K.Months,E.Abbreviated,P.Standalone);break;case"LLLL":t=ne(K.Months,E.Wide,P.Standalone);break;case"LLLLL":t=ne(K.Months,E.Narrow,P.Standalone);break;case"w":t=oe(1);break;case"ww":t=oe(2);break;case"W":t=oe(1,!0);break;case"d":t=te(Y.Date,1);break;case"dd":t=te(Y.Date,2);break;case"E":case"EE":case"EEE":t=ne(K.Days,E.Abbreviated);break;case"EEEE":t=ne(K.Days,E.Wide);break;case"EEEEE":t=ne(K.Days,E.Narrow);break;case"EEEEEE":t=ne(K.Days,E.Short);break;case"a":case"aa":case"aaa":t=ne(K.DayPeriods,E.Abbreviated);break;case"aaaa":t=ne(K.DayPeriods,E.Wide);break;case"aaaaa":t=ne(K.DayPeriods,E.Narrow);break;case"b":case"bb":case"bbb":t=ne(K.DayPeriods,E.Abbreviated,P.Standalone,!0);break;case"bbbb":t=ne(K.DayPeriods,E.Wide,P.Standalone,!0);break;case"bbbbb":t=ne(K.DayPeriods,E.Narrow,P.Standalone,!0);break;case"B":case"BB":case"BBB":t=ne(K.DayPeriods,E.Abbreviated,P.Format,!0);break;case"BBBB":t=ne(K.DayPeriods,E.Wide,P.Format,!0);break;case"BBBBB":t=ne(K.DayPeriods,E.Narrow,P.Format,!0);break;case"h":t=te(Y.Hours,1,-12);break;case"hh":t=te(Y.Hours,2,-12);break;case"H":t=te(Y.Hours,1);break;case"HH":t=te(Y.Hours,2);break;case"m":t=te(Y.Minutes,1);break;case"mm":t=te(Y.Minutes,2);break;case"s":t=te(Y.Seconds,1);break;case"ss":t=te(Y.Seconds,2);break;case"S":t=te(Y.FractionalSeconds,1);break;case"SS":t=te(Y.FractionalSeconds,2);break;case"SSS":t=te(Y.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=ie(G.Short);break;case"ZZZZZ":t=ie(G.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=ie(G.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=ie(G.Long);break;default:return null}return ae[e]=t,t}(e);c+=t?t(r,n,a):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function q(e,t,n){const i=new Date(0);return i.setFullYear(e,t,n),i.setHours(0,0,0),i}function J(e,t){const n=function(e){return Object(i.lb)(e)[i.cb.LocaleId]}(e);if($[n]=$[n]||{},$[n][t])return $[n][t];let r="";switch(t){case"shortDate":r=A(e,D.Short);break;case"mediumDate":r=A(e,D.Medium);break;case"longDate":r=A(e,D.Long);break;case"fullDate":r=A(e,D.Full);break;case"shortTime":r=R(e,D.Short);break;case"mediumTime":r=R(e,D.Medium);break;case"longTime":r=R(e,D.Long);break;case"fullTime":r=R(e,D.Full);break;case"short":const t=J(e,"shortTime"),n=J(e,"shortDate");r=Z(j(e,D.Short),[t,n]);break;case"medium":const i=J(e,"mediumTime"),o=J(e,"mediumDate");r=Z(j(e,D.Medium),[i,o]);break;case"long":const s=J(e,"longTime"),a=J(e,"longDate");r=Z(j(e,D.Long),[s,a]);break;case"full":const c=J(e,"fullTime"),l=J(e,"fullDate");r=Z(j(e,D.Full),[c,l])}return r&&($[n][t]=r),r}function Z(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(e,n){return null!=t&&n in t?t[n]:e})),e}function ee(e,t,n="-",i,r){let o="";(e<0||r&&e<=0)&&(r?e=1-e:(e=-e,o=n));let s=String(e);for(;s.length0||a>-n)&&(a+=n),e===Y.Hours)0===a&&-12===n&&(a=12);else if(e===Y.FractionalSeconds)return c=t,ee(a,3).substr(0,c);var c;const l=V(s,M.MinusSign);return ee(a,t,l,i,r)}}function ne(e,t,n=P.Format,r=!1){return function(o,s){return function(e,t,n,r,o,s){switch(n){case K.Months:return function(e,t,n){const r=Object(i.lb)(e),o=B([r[i.cb.MonthsFormat],r[i.cb.MonthsStandalone]],t);return B(o,n)}(t,o,r)[e.getMonth()];case K.Days:return function(e,t,n){const r=Object(i.lb)(e),o=B([r[i.cb.DaysFormat],r[i.cb.DaysStandalone]],t);return B(o,n)}(t,o,r)[e.getDay()];case K.DayPeriods:const a=e.getHours(),c=e.getMinutes();if(s){const e=function(e){const t=Object(i.lb)(e);return F(t),(t[i.cb.ExtraData][2]||[]).map(e=>"string"==typeof e?W(e):[W(e[0]),W(e[1])])}(t),n=function(e,t,n){const r=Object(i.lb)(e);F(r);const o=B([r[i.cb.ExtraData][0],r[i.cb.ExtraData][1]],t)||[];return B(o,n)||[]}(t,o,r),s=e.findIndex(e=>{if(Array.isArray(e)){const[t,n]=e,i=a>=t.hours&&c>=t.minutes,r=a0?Math.floor(r/60):Math.ceil(r/60);switch(e){case G.Short:return(r>=0?"+":"")+ee(s,2,o)+ee(Math.abs(r%60),2,o);case G.ShortGMT:return"GMT"+(r>=0?"+":"")+ee(s,1,o);case G.Long:return"GMT"+(r>=0?"+":"")+ee(s,2,o)+":"+ee(Math.abs(r%60),2,o);case G.Extended:return 0===i?"Z":(r>=0?"+":"")+ee(s,2,o)+":"+ee(Math.abs(r%60),2,o);default:throw new Error(`Unknown zone width "${e}"`)}}}function re(e){return q(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function oe(e,t=!1){return function(n,i){let r;if(t){const e=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,t=n.getDate();r=1+Math.floor((t+e)/7)}else{const e=re(n),t=function(e){const t=q(e,0,1).getDay();return q(e,0,1+(t<=4?4:11)-t)}(e.getFullYear()),i=e.getTime()-t.getTime();r=1+Math.round(i/6048e5)}return ee(r,e,V(i,M.MinusSign))}}function se(e,t=!1){return function(n,i){return ee(re(n).getFullYear(),e,V(i,M.MinusSign),t)}}const ae={};function ce(e,t){e=e.replace(/:/g,"");const n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function le(e){return e instanceof Date&&!isNaN(e.valueOf())}const ue=/^(\d+)?\.((\d+)(-(\d+))?)?$/,de=".",he="0";function pe(e,t,n,i,r,o,s=!1){let a="",c=!1;if(isFinite(e)){let l=function(e){let t,n,i,r,o,s=Math.abs(e)+"",a=0;for((n=s.indexOf(de))>-1&&(s=s.replace(de,"")),(i=s.search(/e/i))>0?(n<0&&(n=i),n+=+s.slice(i+1),s=s.substring(0,i)):n<0&&(n=s.length),i=0;s.charAt(i)===he;i++);if(i===(o=s.length))t=[0],n=1;else{for(o--;s.charAt(o)===he;)o--;for(n-=i,t=[],r=0;i<=o;i++,r++)t[r]=Number(s.charAt(i))}return n>22&&(t=t.splice(0,21),a=n-1,n=1),{digits:t,exponent:a,integerLen:n}}(e);s&&(l=function(e){if(0===e.digits[0])return e;const t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(0===t?e.digits.push(0,0):1===t&&e.digits.push(0),e.integerLen+=2),e}(l));let u=t.minInt,d=t.minFrac,h=t.maxFrac;if(o){const e=o.match(ue);if(null===e)throw new Error(`${o} is not a valid digit info`);const t=e[1],n=e[3],i=e[5];null!=t&&(u=ge(t)),null!=n&&(d=ge(n)),null!=i?h=ge(i):null!=n&&d>h&&(h=d)}!function(e,t,n){if(t>n)throw new Error(`The minimum number of digits after fraction (${t}) is higher than the maximum (${n}).`);let i=e.digits,r=i.length-e.integerLen;const o=Math.min(Math.max(t,r),n);let s=o+e.integerLen,a=i[s];if(s>0){i.splice(Math.max(e.integerLen,s));for(let e=s;e=5)if(s-1<0){for(let t=0;t>s;t--)i.unshift(0),e.integerLen++;i.unshift(1),e.integerLen++}else i[s-1]++;for(;r=l?i.pop():c=!1),t>=10?1:0},0);u&&(i.unshift(u),e.integerLen++)}(l,d,h);let p=l.digits,f=l.integerLen;const g=l.exponent;let b=[];for(c=p.every(e=>!e);f0?b=p.splice(f,p.length):(b=p,p=[0]);const m=[];for(p.length>=t.lgSize&&m.unshift(p.splice(-t.lgSize,p.length).join(""));p.length>t.gSize;)m.unshift(p.splice(-t.gSize,p.length).join(""));p.length&&m.unshift(p.join("")),a=m.join(V(n,i)),b.length&&(a+=V(n,r)+b.join("")),g&&(a+=V(n,M.Exponential)+"+"+g)}else a=V(n,M.Infinity);return a=e<0&&!c?t.negPre+a+t.negSuf:t.posPre+a+t.posSuf,a}function fe(e,t="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},i=e.split(";"),r=i[0],o=i[1],s=-1!==r.indexOf(de)?r.split(de):[r.substring(0,r.lastIndexOf(he)+1),r.substring(r.lastIndexOf(he)+1)],a=s[0],c=s[1]||"";n.posPre=a.substr(0,a.indexOf("#"));for(let u=0;u{class e extends be{constructor(e){super(),this.locale=e}getPluralCategory(e,t){switch(N(t||this.locale)(e)){case k.Zero:return"zero";case k.One:return"one";case k.Two:return"two";case k.Few:return"few";case k.Many:return"many";default:return"other"}}}return e.\u0275fac=function(t){return new(t||e)(i.hc(i.v))},e.\u0275prov=i.Mb({token:e,factory:e.\u0275fac}),e})();function ye(e,t,n){return Object(i.vb)(e,t,n)}function ve(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const e=n.indexOf("="),[i,r]=-1==e?[n,""]:[n.slice(0,e),n.slice(e+1)];if(i.trim()===t)return decodeURIComponent(r)}return null}let Ce=(()=>{class e{constructor(e,t,n,i){this._iterableDiffers=e,this._keyValueDiffers=t,this._ngEl=n,this._renderer=i,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(Object(i.rb)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){const e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}_applyKeyValueChanges(e){e.forEachAddedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachChangedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachRemovedItem(e=>{e.previousValue&&this._toggleClass(e.key,!1)})}_applyIterableChanges(e){e.forEachAddedItem(e=>{if("string"!=typeof e.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${Object(i.xb)(e.item)}`);this._toggleClass(e.item,!0)}),e.forEachRemovedItem(e=>this._toggleClass(e.item,!1))}_applyClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e=>this._toggleClass(e,!0)):Object.keys(e).forEach(t=>this._toggleClass(t,!!e[t])))}_removeClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e=>this._toggleClass(e,!1)):Object.keys(e).forEach(e=>this._toggleClass(e,!1)))}_toggleClass(e,t){(e=e.trim())&&e.split(/\s+/g).forEach(e=>{t?this._renderer.addClass(this._ngEl.nativeElement,e):this._renderer.removeClass(this._ngEl.nativeElement,e)})}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.t),i.Qb(i.u),i.Qb(i.l),i.Qb(i.G))},e.\u0275dir=i.Lb({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),e})();class we{constructor(e,t,n,i){this.$implicit=e,this.ngForOf=t,this.index=n,this.count=i}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Se=(()=>{class e{constructor(e,t,n){this._viewContainer=e,this._template=t,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(t){throw new Error(`Cannot find a differ supporting object '${n}' of type '${e=n,e.name||typeof e}'. NgFor only supports binding to Iterables such as Arrays.`)}}var e;if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const t=[];e.forEachOperation((e,n,i)=>{if(null==e.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new we(null,this._ngForOf,-1,-1),null===i?void 0:i),r=new _e(e,n);t.push(r)}else if(null==i)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const r=this._viewContainer.get(n);this._viewContainer.move(r,i);const o=new _e(e,r);t.push(o)}});for(let n=0;n{this._viewContainer.get(e.currentIndex).context.$implicit=e.item})}_perViewChange(e,t){e.context.$implicit=t.item}static ngTemplateContextGuard(e,t){return!0}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.R),i.Qb(i.N),i.Qb(i.t))},e.\u0275dir=i.Lb({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),e})();class _e{constructor(e,t){this.record=e,this.view=t}}let Oe=(()=>{class e{constructor(e,t){this._viewContainer=e,this._context=new xe,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=t}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){ze("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){ze("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,t){return!0}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.R),i.Qb(i.N))},e.\u0275dir=i.Lb({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),e})();class xe{constructor(){this.$implicit=null,this.ngIf=null}}function ze(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Object(i.xb)(t)}'.`)}class Te{constructor(e,t){this._viewContainerRef=e,this._templateRef=t,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}}let ke=(()=>{class e{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)}_matchCase(e){const t=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||t,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),t}_updateDefaultCases(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(let t=0;t{class e{constructor(e,t,n){this.ngSwitch=n,n._addCase(),this._view=new Te(e,t)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.R),i.Qb(i.N),i.Qb(ke,1))},e.\u0275dir=i.Lb({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),e})(),Ee=(()=>{class e{constructor(e,t,n){n._addDefault(new Te(e,t))}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.R),i.Qb(i.N),i.Qb(ke,1))},e.\u0275dir=i.Lb({type:e,selectors:[["","ngSwitchDefault",""]]}),e})(),De=(()=>{class e{constructor(e,t,n){this._ngEl=e,this._differs=t,this._renderer=n,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,t){const[n,i]=e.split(".");null!=(t=null!=t&&i?`${t}${i}`:t)?this._renderer.setStyle(this._ngEl.nativeElement,n,t):this._renderer.removeStyle(this._ngEl.nativeElement,n)}_applyChanges(e){e.forEachRemovedItem(e=>this._setStyle(e.key,null)),e.forEachAddedItem(e=>this._setStyle(e.key,e.currentValue)),e.forEachChangedItem(e=>this._setStyle(e.key,e.currentValue))}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.l),i.Qb(i.u),i.Qb(i.G))},e.\u0275dir=i.Lb({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),e})(),Me=(()=>{class e{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(e){if(this._shouldRecreateView(e)){const e=this._viewContainerRef;this._viewRef&&e.remove(e.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?e.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&this.ngTemplateOutletContext&&this._updateExistingContext(this.ngTemplateOutletContext)}_shouldRecreateView(e){const t=e.ngTemplateOutletContext;return!!e.ngTemplateOutlet||t&&this._hasContextShapeChanged(t)}_hasContextShapeChanged(e){const t=Object.keys(e.previousValue||{}),n=Object.keys(e.currentValue||{});if(t.length===n.length){for(let e of n)if(-1===t.indexOf(e))return!0;return!1}return!0}_updateExistingContext(e){for(let t of Object.keys(e))this._viewRef.context[t]=this.ngTemplateOutletContext[t]}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.R))},e.\u0275dir=i.Lb({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[i.Ab]}),e})();function Ie(e,t){return Error(`InvalidPipeArgument: '${t}' for pipe '${Object(i.xb)(e)}'`)}class Ae{createSubscription(e,t){return e.subscribe({next:t,error:e=>{throw e}})}dispose(e){e.unsubscribe()}onDestroy(e){e.unsubscribe()}}class Re{createSubscription(e,t){return e.then(t,e=>{throw e})}dispose(e){}onDestroy(e){}}const je=new Re,Ve=new Ae;let Le=(()=>{class e{constructor(e){this._ref=e,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,t=>this._updateLatestValue(e,t))}_selectStrategy(t){if(Object(i.tb)(t))return je;if(Object(i.ub)(t))return Ve;throw Ie(e,t)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,t){e===this._obj&&(this._latestValue=t,this._ref.markForCheck())}}return e.\u0275fac=function(t){return new(t||e)(i.jc())},e.\u0275pipe=i.Pb({name:"async",type:e,pure:!1}),e})(),Ne=(()=>{class e{constructor(e){this.locale=e}transform(t,n="mediumDate",i,r){if(null==t||""===t||t!=t)return null;try{return X(t,n,r||this.locale,i)}catch(o){throw Ie(e,o.message)}}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.v))},e.\u0275pipe=i.Pb({name:"date",type:e,pure:!0}),e})(),Fe=(()=>{class e{constructor(e){this._locale=e}transform(t,n,i){if(!We(t))return null;i=i||this._locale;try{return function(e,t,n){return pe(e,fe(L(t,T.Decimal),V(t,M.MinusSign)),t,M.Group,M.Decimal,n)}(He(t),i,n)}catch(r){throw Ie(e,r.message)}}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.v))},e.\u0275pipe=i.Pb({name:"number",type:e,pure:!0}),e})(),Be=(()=>{class e{constructor(e,t="USD"){this._locale=e,this._defaultCurrencyCode=t}transform(t,n,i="symbol",r,o){if(!We(t))return null;o=o||this._locale,"boolean"==typeof i&&(i=i?"symbol":"code");let s=n||this._defaultCurrencyCode;"code"!==i&&(s="symbol"===i||"symbol-narrow"===i?H(s,"symbol"===i?"wide":"narrow",o):i);try{return function(e,t,n,i,r){const o=fe(L(t,T.Currency),V(t,M.MinusSign));return o.minFrac=function(e){let t;const n=z[e];return n&&(t=n[2]),"number"==typeof t?t:2}(i),o.maxFrac=o.minFrac,pe(e,o,t,M.CurrencyGroup,M.CurrencyDecimal,r).replace("\xa4",n).replace("\xa4","").trim()}(He(t),o,s,n,r)}catch(a){throw Ie(e,a.message)}}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.v),i.Qb(i.k))},e.\u0275pipe=i.Pb({name:"currency",type:e,pure:!0}),e})();function We(e){return!(null==e||""===e||e!=e)}function He(e){if("string"==typeof e&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if("number"!=typeof e)throw new Error(`${e} is not a number`);return e}let Ue=(()=>{class e{}return e.\u0275mod=i.Ob({type:e}),e.\u0275inj=i.Nb({factory:function(t){return new(t||e)},providers:[{provide:be,useClass:me}]}),e})();const $e="browser";function Qe(e){return e===$e}let Ge=(()=>{class e{}return e.\u0275prov=Object(i.Mb)({token:e,providedIn:"root",factory:()=>new Ye(Object(i.hc)(c),window)}),e})();class Ye{constructor(e,t){this.document=e,this.window=t,this.offset=()=>[0,0]}setOffset(e){this.offset=Array.isArray(e)?()=>e:e}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){var t;if(!this.supportsScrolling())return;const n=null!==(t=this.document.getElementById(e))&&void 0!==t?t:this.document.getElementsByName(e)[0];void 0!==n&&(this.scrollToElement(n),this.attemptFocus(n))}setHistoryScrollRestoration(e){if(this.supportScrollRestoration()){const t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}}scrollToElement(e){const t=e.getBoundingClientRect(),n=t.left+this.window.pageXOffset,i=t.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(n-r[0],i-r[1])}attemptFocus(e){return e.focus(),this.document.activeElement===e}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const e=Ke(this.window.history)||Ke(Object.getPrototypeOf(this.window.history));return!(!e||!e.writable&&!e.set)}catch(e){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(e){return!1}}}function Ke(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}},pA7S:function(e,t,n){var i;e.exports=(i=n("Ib8C"),n("ETIr"),n("cv67"),n("K3mO"),n("OLod"),function(){var e=i,t=e.lib,n=t.WordArray,r=t.BlockCipher,o=e.algo,s=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],a=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],c=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],l=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],u=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],d=o.DES=r.extend({_doReset:function(){for(var e=this._key.words,t=[],n=0;n<56;n++){var i=s[n]-1;t[n]=e[i>>>5]>>>31-i%32&1}for(var r=this._subKeys=[],o=0;o<16;o++){var l=r[o]=[],u=c[o];for(n=0;n<24;n++)l[n/6|0]|=t[(a[n]-1+u)%28]<<31-n%6,l[4+(n/6|0)]|=t[28+(a[n+24]-1+u)%28]<<31-n%6;for(l[0]=l[0]<<1|l[0]>>>31,n=1;n<7;n++)l[n]=l[n]>>>4*(n-1)+3;l[7]=l[7]<<5|l[7]>>>27}var d=this._invSubKeys=[];for(n=0;n<16;n++)d[n]=r[15-n]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,n){this._lBlock=e[t],this._rBlock=e[t+1],h.call(this,4,252645135),h.call(this,16,65535),p.call(this,2,858993459),p.call(this,8,16711935),h.call(this,1,1431655765);for(var i=0;i<16;i++){for(var r=n[i],o=this._lBlock,s=this._rBlock,a=0,c=0;c<8;c++)a|=l[c][((s^r[c])&u[c])>>>0];this._lBlock=s,this._rBlock=o^a}var d=this._lBlock;this._lBlock=this._rBlock,this._rBlock=d,h.call(this,1,1431655765),p.call(this,8,16711935),p.call(this,2,858993459),h.call(this,16,65535),h.call(this,4,252645135),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function h(e,t){var n=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=n,this._lBlock^=n<>>e^this._lBlock)&t;this._lBlock^=n,this._rBlock^=n<{e.Attachments=e.AttachmentJson?JSON.parse(e.AttachmentJson):[]});const t=e.ReplyList.filter(e=>e.IsSender).sort((e,t)=>-1*(c.f.parse(e.CreateTime).getTime()-c.f.parse(t.CreateTime).getTime()));t.length>0&&(e.Question=t[0])}e.Issue&&(e.Issue.__display_name__=Object(c.v)(e.Issue,n))}}static getModalStyle(e="small"){return"small"===e?{width:"65wh",minWidth:"860px",maxWidth:"960px"}:{width:"80wh",minWidth:"1000px",maxWidth:"1140px"}}static getTravelStatus(e){const t=c.f.today;return e.From>t?o.booked:e.To>=t?o.checkIn:o.checkOut}static isUrgent(e){const t=new c.o(e,c.f.today).totalDays;return t>=0&&t<=1}static normalize(e,t){return d.init(e,t),e}static canCreate(e,t,n,i=l.d.en_US){if(e!==u.Confirmed&&e!==u.Canceled)return!1;let r=31;if(e===u.Canceled){if(!n)return!1;r=15}const o=c.f.today;return c.f.addDays(t,r).getTime()-o.getTime()>=0}}var h=n("rUKz");new class extends h.a{constructor(){super("TicketService")}getTickets(e,t){return this.httpClientWrapper.post("/Ticket/Get",e,{resultProcessor:e=>this.ticketDetailListPreProcessor(e,t)})}getTicketsByBookingID(e,t){return this.httpClientWrapper.post("/Ticket/Get",{DidaBookingIDList:[e]},{resultProcessor:e=>this.ticketDetailListPreProcessor(e,t)})}getTicketsByID(e,t){return this.httpClientWrapper.post("/Ticket/Get",{TicketIDList:[e]},{resultProcessor:e=>this.ticketDetailListPreProcessor(e,t)})}getTicketsByToken(e,t){return this.httpClientWrapper.post("/open/GetTickets",{token:e},{resultProcessor:e=>this.ticketDetailListPreProcessor(e,t)})}getTicketIssues(e,t){return this.httpClientWrapper.get(`/Ticket/GetTicketIssues?source=${e}`,null,{resultProcessor:e=>this.ticketIssuePreProcessor(e,t)})}getConfirmCodesFakeCuttOfDays(){return this.httpClientWrapper.get("/Ticket/GetConfirmCodesFakeCuttOfDays")}addTicket(e,t){return this.httpClientWrapper.post("/Ticket/Create?",e,{resultProcessor:e=>d.normalize(e,t)})}urgeTicket(e,t,n){return this.httpClientWrapper.post("/Ticket/HurryTicket",{options:{TicketID:e,DidaBookingID:t}},{resultProcessor:e=>d.normalize(e,n)})}addFeedback(e,t){return this.httpClientWrapper.post("/Ticket/AddFeedback",{options:Object.assign(Object.assign({},e),{AttachmentJson:JSON.stringify(e.AttachmentJson)})},{resultProcessor:e=>d.normalize(e,t)})}ticketIssuePreProcessor(e,t){const n=t===l.d.zh_CN||t===l.d._zh_CN,i=e=>{e.forEach(e=>{e.Settings=e.JsonProperty?JSON.parse(e.JsonProperty):{},e.__display_name__=Object(c.v)(e,n),e.Settings.Controls&&["content","attachments"].forEach(t=>{e.Settings.Controls.find(e=>e.Name===t)||e.Settings.Controls.push({Name:t,IsRequired:!1,IsVisible:!0})}),e.Children||(e.Children=[]),i(e.Children)})};return i(e),e}ticketDetailListPreProcessor(e,t){return e&&e.Data&&e.Data.length>0&&e.Data.forEach(e=>{d.init(e,t)}),e}};const p=new class extends h.a{constructor(){super()}createFeedbackWorkOrder(e){return this.httpClientWrapper.post("/WorkOrder/CreateFeedbackWorkOrder",{workOrderData:e})}},f=null},pLZG:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("7o/Q");function r(e,t){return function(n){return n.lift(new o(e,t))}}class o{constructor(e,t){this.predicate=e,this.thisArg=t}call(e,t){return t.subscribe(new s(e,this.predicate,this.thisArg))}}class s extends i.a{constructor(e,t,n){super(e),this.predicate=t,this.thisArg=n,this.count=0}_next(e){let t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)}}},pdGh:function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"b",function(){return o});var i=n("ofXK"),r=n("fXoL");let o=(()=>{class e{constructor(e,t){this.viewContainer=e,this.templateRef=t,this.embeddedViewRef=null,this.context=new s,this.nzStringTemplateOutletContext=null,this.nzStringTemplateOutlet=null}static ngTemplateContextGuard(e,t){return!0}recreateView(){this.viewContainer.clear();const e=this.nzStringTemplateOutlet instanceof r.N;this.embeddedViewRef=this.viewContainer.createEmbeddedView(e?this.nzStringTemplateOutlet:this.templateRef,e?this.nzStringTemplateOutletContext:this.context)}updateContext(){const e=this.nzStringTemplateOutlet instanceof r.N?this.nzStringTemplateOutletContext:this.context,t=this.embeddedViewRef.context;if(e)for(const n of Object.keys(e))t[n]=e[n]}ngOnChanges(e){const{nzStringTemplateOutletContext:t,nzStringTemplateOutlet:n}=e;n&&(this.context.$implicit=n.currentValue),(()=>{let e=!1;if(n)if(n.firstChange)e=!0;else{const t=n.currentValue instanceof r.N;e=n.previousValue instanceof r.N||t}return t&&(e=>{const t=Object.keys(e.previousValue||{}),n=Object.keys(e.currentValue||{});if(t.length===n.length){for(const e of n)if(-1===t.indexOf(e))return!0;return!1}return!0})(t)||e})()?this.recreateView():this.updateContext()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.R),r.Qb(r.N))},e.\u0275dir=r.Lb({type:e,selectors:[["","nzStringTemplateOutlet",""]],inputs:{nzStringTemplateOutletContext:"nzStringTemplateOutletContext",nzStringTemplateOutlet:"nzStringTemplateOutlet"},exportAs:["nzStringTemplateOutlet"],features:[r.Ab]}),e})();class s{}let a=(()=>{class e{}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)},imports:[[i.c]]}),e})()},pl0G:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var i=n("/h9T"),r=n("/Tr7"),o=n("jIYg");function s(e,t){Object(o.a)(2,arguments);var n=Object(r.a)(e).getTime(),s=Object(i.a)(t);return new Date(n+s)}},pvlY:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n("/Tr7"),r=n("jIYg");function o(e,t){Object(r.a)(2,arguments);var n=Object(i.a)(e),o=Object(i.a)(t),s=n.getFullYear()-o.getFullYear(),a=n.getMonth()-o.getMonth();return 12*s+a}},qBft:function(e,t,n){var i;e.exports=(i=n("Ib8C"),n("OLod"),i.pad.AnsiX923={pad:function(e,t){var n=e.sigBytes,i=4*t,r=i-n%i,o=n+r-1;e.clamp(),e.words[o>>>2]|=r<<24-o%4*8,e.sigBytes+=r},unpad:function(e){e.sigBytes-=255&e.words[e.sigBytes-1>>>2]}},i.pad.Ansix923)},qM6L:function(e,t,n){var i;e.exports=(i=n("Ib8C"),function(){var e=i.lib.WordArray,t=i.enc;function n(e){return e<<8&4278255360|e>>>8&16711935}t.Utf16=t.Utf16BE={stringify:function(e){for(var t=e.words,n=e.sigBytes,i=[],r=0;r>>2]>>>16-r%4*8&65535));return i.join("")},parse:function(t){for(var n=t.length,i=[],r=0;r>>1]|=t.charCodeAt(r)<<16-r%2*16;return e.create(i,2*n)}},t.Utf16LE={stringify:function(e){for(var t=e.words,i=e.sigBytes,r=[],o=0;o>>2]>>>16-o%4*8&65535);r.push(String.fromCharCode(s))}return r.join("")},parse:function(t){for(var i=t.length,r=[],o=0;o>>1]|=n(t.charCodeAt(o)<<16-o%2*16);return e.create(r,2*i)}}}(),i.enc.Utf16)},qVkf:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var i=n("Orh4"),r=n("jIYg"),o=n("yayv");function s(e,t,n){Object(r.a)(2,arguments);var s=Object(i.a)(e,t)/1e3;return Object(o.a)(null==n?void 0:n.roundingMethod)(s)}},qf9Q:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var i=n("FwiY"),r=n("ofXK"),o=n("fXoL");let s=(()=>{class e{}return e.\u0275mod=o.Ob({type:e}),e.\u0275inj=o.Nb({factory:function(t){return new(t||e)},providers:[],imports:[[r.c,i.b]]}),e})()},qu8F:function(e,t,n){var i;e.exports=(i=n("Ib8C"),n("OLod"),i.mode.CTRGladman=function(){var e=i.lib.BlockCipherMode.extend();function t(e){if(255==(e>>24&255)){var t=e>>16&255,n=e>>8&255,i=255&e;255===t?(t=0,255===n?(n=0,255===i?i=0:++i):++n):++t,e=0,e+=t<<16,e+=n<<8,e+=i}else e+=1<<24;return e}var n=e.Encryptor=e.extend({processBlock:function(e,n){var i=this._cipher,r=i.blockSize,o=this._iv,s=this._counter;o&&(s=this._counter=o.slice(0),this._iv=void 0),function(e){0===(e[0]=t(e[0]))&&(e[1]=t(e[1]))}(s);var a=s.slice(0);i.encryptBlock(a,0);for(var c=0;c{function e(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((e,t)=>`${t+1}) ${e.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e})();let a=(()=>{class e{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:n,_unsubscribe:a,_subscriptions:l}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof e)n.remove(this);else if(null!==n)for(let e=0;ee.concat(t instanceof s?t.errors:t),[])}},rDax:function(e,t,n){"use strict";n.d(t,"a",function(){return q}),n.d(t,"b",function(){return X}),n.d(t,"c",function(){return k}),n.d(t,"d",function(){return G}),n.d(t,"e",function(){return T}),n.d(t,"f",function(){return Z}),n.d(t,"g",function(){return R});var i=n("vxfF"),r=n("fXoL"),o=n("nLfN"),s=n("cH1L"),a=n("ofXK"),c=n("8LU1"),l=n("+rOU"),u=n("XNiG"),d=n("quSY"),h=n("VRyK"),p=n("IzEk"),f=n("1G5W"),g=n("7o/Q");class b{constructor(e,t){this.predicate=e,this.inclusive=t}call(e,t){return t.subscribe(new m(e,this.predicate,this.inclusive))}}class m extends g.a{constructor(e,t,n){super(e),this.predicate=t,this.inclusive=n,this.index=0}_next(e){const t=this.destination;let n;try{n=this.predicate(e,this.index++)}catch(i){return void t.error(i)}this.nextOrComplete(e,n)}nextOrComplete(e,t){const n=this.destination;Boolean(t)?n.next(e):(this.inclusive&&n.next(e),n.complete())}}var y=n("FtGj");const v=Object(o.f)();class C{constructor(e,t){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=t}attach(){}enable(){if(this._canBeEnabled()){const e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=Object(c.d)(-this._previousScrollPosition.left),e.style.top=Object(c.d)(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const e=this._document.documentElement,t=e.style,n=this._document.body.style,i=t.scrollBehavior||"",r=n.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),v&&(t.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),v&&(t.scrollBehavior=i,n.scrollBehavior=r)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}}class w{constructor(e,t,n,i){this._scrollDispatcher=e,this._ngZone=t,this._viewportRuler=n,this._config=i,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(e){this._overlayRef=e}enable(){if(this._scrollSubscription)return;const e=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class S{enable(){}disable(){}attach(){}}function _(e,t){return t.some(t=>e.bottomt.bottom||e.rightt.right)}function O(e,t){return t.some(t=>e.topt.bottom||e.leftt.right)}class x{constructor(e,t,n,i){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=n,this._config=i,this._scrollSubscription=null}attach(e){this._overlayRef=e}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:t,height:n}=this._viewportRuler.getViewportSize();_(e,[{width:t,height:n,bottom:n,right:t,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let z=(()=>{class e{constructor(e,t,n,i){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=n,this.noop=()=>new S,this.close=e=>new w(this._scrollDispatcher,this._ngZone,this._viewportRuler,e),this.block=()=>new C(this._viewportRuler,this._document),this.reposition=e=>new x(this._scrollDispatcher,this._viewportRuler,this._ngZone,e),this._document=i}}return e.\u0275fac=function(t){return new(t||e)(r.hc(i.d),r.hc(i.f),r.hc(r.B),r.hc(a.e))},e.\u0275prov=Object(r.Mb)({factory:function(){return new e(Object(r.hc)(i.d),Object(r.hc)(i.f),Object(r.hc)(r.B),Object(r.hc)(a.e))},token:e,providedIn:"root"}),e})();class T{constructor(e){if(this.scrollStrategy=new S,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e){const t=Object.keys(e);for(const n of t)void 0!==e[n]&&(this[n]=e[n])}}}class k{constructor(e,t,n,i,r){this.offsetX=n,this.offsetY=i,this.panelClass=r,this.originX=e.originX,this.originY=e.originY,this.overlayX=t.overlayX,this.overlayY=t.overlayY}}class P{constructor(e,t){this.connectionPair=e,this.scrollableViewProperties=t}}let E=(()=>{class e{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),0===this._attachedOverlays.length&&this.detach()}}return e.\u0275fac=function(t){return new(t||e)(r.hc(a.e))},e.\u0275prov=Object(r.Mb)({factory:function(){return new e(Object(r.hc)(a.e))},token:e,providedIn:"root"}),e})(),D=(()=>{class e extends E{constructor(e){super(e),this._keydownListener=e=>{const t=this._attachedOverlays;for(let n=t.length-1;n>-1;n--)if(t[n]._keydownEvents.observers.length>0){t[n]._keydownEvents.next(e);break}}}add(e){super.add(e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return e.\u0275fac=function(t){return new(t||e)(r.hc(a.e))},e.\u0275prov=Object(r.Mb)({factory:function(){return new e(Object(r.hc)(a.e))},token:e,providedIn:"root"}),e})(),M=(()=>{class e extends E{constructor(e,t){super(e),this._platform=t,this._cursorStyleIsSet=!1,this._clickListener=e=>{const t=e.composedPath?e.composedPath()[0]:e.target,n=this._attachedOverlays.slice();for(let i=n.length-1;i>-1;i--){const r=n[i];if(!(r._outsidePointerEvents.observers.length<1)&&r.hasAttached()){if(r.overlayElement.contains(t))break;r._outsidePointerEvents.next(e)}}}}add(e){super.add(e),this._isAttached||(this._document.body.addEventListener("click",this._clickListener,!0),this._document.body.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=this._document.body.style.cursor,this._document.body.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("click",this._clickListener,!0),this._document.body.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}}return e.\u0275fac=function(t){return new(t||e)(r.hc(a.e),r.hc(o.a))},e.\u0275prov=Object(r.Mb)({factory:function(){return new e(Object(r.hc)(a.e),Object(r.hc)(o.a))},token:e,providedIn:"root"}),e})();const I=!("undefined"==typeof window||!window||!window.__karma__&&!window.jasmine);let A=(()=>{class e{constructor(e,t){this._platform=t,this._document=e}ngOnDestroy(){const e=this._containerElement;e&&e.parentNode&&e.parentNode.removeChild(e)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||I){const t=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let e=0;ethis._backdropClick.next(e),this._keydownEvents=new u.a,this._outsidePointerEvents=new u.a,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(e){let t=this._portalOutlet.attach(e);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(Object(p.a)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}dispose(){const e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this.detachBackdrop(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,e&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config=Object.assign(Object.assign({},this._config),e),this._updateElementSize()}setDirection(e){this._config=Object.assign(Object.assign({},this._config),{direction:e}),this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){const e=this._config.direction;return e?"string"==typeof e?e:e.value:"ltr"}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const e=this._pane.style;e.width=Object(c.d)(this._config.width),e.height=Object(c.d)(this._config.height),e.minWidth=Object(c.d)(this._config.minWidth),e.minHeight=Object(c.d)(this._config.minHeight),e.maxWidth=Object(c.d)(this._config.maxWidth),e.maxHeight=Object(c.d)(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"":"none"}_attachBackdrop(){const e="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(e)})}):this._backdropElement.classList.add(e)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let e,t=this._backdropElement;if(!t)return;let n=()=>{t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",n),t.parentNode&&t.parentNode.removeChild(t)),this._backdropElement==t&&(this._backdropElement=null),this._config.backdropClass&&this._toggleClasses(t,this._config.backdropClass,!1),clearTimeout(e)};t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",n)}),t.style.pointerEvents="none",e=this._ngZone.runOutsideAngular(()=>setTimeout(n,500))}_toggleClasses(e,t,n){const i=e.classList;Object(c.b)(t).forEach(e=>{e&&(n?i.add(e):i.remove(e))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const e=this._ngZone.onStable.pipe(Object(f.a)(Object(h.a)(this._attachments,this._detachments))).subscribe(()=>{this._pane&&this._host&&0!==this._pane.children.length||(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._previousHostParent.removeChild(this._host)),e.unsubscribe())})})}_disposeScrollStrategy(){const e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}}const j="cdk-overlay-connected-position-bounding-box",V=/([A-Za-z%]+)$/;class L{constructor(e,t,n,i,r){this._viewportRuler=t,this._document=n,this._platform=i,this._overlayContainer=r,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new u.a,this._resizeSubscription=d.a.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(e)}get positions(){return this._preferredPositions}attach(e){this._validatePositions(),e.hostElement.classList.add(j),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();const e=this._originRect,t=this._overlayRect,n=this._viewportRect,i=[];let r;for(let o of this._preferredPositions){let s=this._getOriginPoint(e,o),a=this._getOverlayPoint(s,t,o),c=this._getOverlayFit(a,t,n,o);if(c.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(o,s);this._canFitWithFlexibleDimensions(c,a,n)?i.push({position:o,origin:s,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(s,o)}):(!r||r.overlayFit.visibleAreat&&(t=i,e=n)}return this._isPushed=!1,void this._applyPosition(e.position,e.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(r.position,r.originPoint);this._applyPosition(r.position,r.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&N(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(j),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const e=this._lastPosition||this._preferredPositions[0],t=this._getOriginPoint(this._originRect,e);this._applyPosition(e,t)}}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,-1===e.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,t){let n,i;if("center"==t.originX)n=e.left+e.width/2;else{const i=this._isRtl()?e.right:e.left,r=this._isRtl()?e.left:e.right;n="start"==t.originX?i:r}return i="center"==t.originY?e.top+e.height/2:"top"==t.originY?e.top:e.bottom,{x:n,y:i}}_getOverlayPoint(e,t,n){let i,r;return i="center"==n.overlayX?-t.width/2:"start"===n.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,r="center"==n.overlayY?-t.height/2:"top"==n.overlayY?0:-t.height,{x:e.x+i,y:e.y+r}}_getOverlayFit(e,t,n,i){const r=B(t);let{x:o,y:s}=e,a=this._getOffset(i,"x"),c=this._getOffset(i,"y");a&&(o+=a),c&&(s+=c);let l=0-s,u=s+r.height-n.height,d=this._subtractOverflows(r.width,0-o,o+r.width-n.width),h=this._subtractOverflows(r.height,l,u),p=d*h;return{visibleArea:p,isCompletelyWithinViewport:r.width*r.height===p,fitsInViewportVertically:h===r.height,fitsInViewportHorizontally:d==r.width}}_canFitWithFlexibleDimensions(e,t,n){if(this._hasFlexibleDimensions){const i=n.bottom-t.y,r=n.right-t.x,o=F(this._overlayRef.getConfig().minHeight),s=F(this._overlayRef.getConfig().minWidth),a=e.fitsInViewportHorizontally||null!=s&&s<=r;return(e.fitsInViewportVertically||null!=o&&o<=i)&&a}return!1}_pushOverlayOnScreen(e,t,n){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};const i=B(t),r=this._viewportRect,o=Math.max(e.x+i.width-r.width,0),s=Math.max(e.y+i.height-r.height,0),a=Math.max(r.top-n.top-e.y,0),c=Math.max(r.left-n.left-e.x,0);let l=0,u=0;return l=i.width<=r.width?c||-o:e.xi&&!this._isInitialRender&&!this._growAfterOpen&&(o=e.y-i/2)}if("end"===t.overlayX&&!i||"start"===t.overlayX&&i)l=n.width-e.x+this._viewportMargin,a=e.x-this._viewportMargin;else if("start"===t.overlayX&&!i||"end"===t.overlayX&&i)c=e.x,a=n.right-e.x;else{const t=Math.min(n.right-e.x+n.left,e.x),i=this._lastBoundingBoxSize.width;a=2*t,c=e.x-t,a>i&&!this._isInitialRender&&!this._growAfterOpen&&(c=e.x-i/2)}return{top:o,left:c,bottom:s,right:l,width:a,height:r}}_setBoundingBoxStyles(e,t){const n=this._calculateBoundingBoxRect(e,t);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));const i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{const e=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;i.height=Object(c.d)(n.height),i.top=Object(c.d)(n.top),i.bottom=Object(c.d)(n.bottom),i.width=Object(c.d)(n.width),i.left=Object(c.d)(n.left),i.right=Object(c.d)(n.right),i.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",i.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",e&&(i.maxHeight=Object(c.d)(e)),r&&(i.maxWidth=Object(c.d)(r))}this._lastBoundingBoxSize=n,N(this._boundingBox.style,i)}_resetBoundingBoxStyles(){N(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){N(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,t){const n={},i=this._hasExactPosition(),r=this._hasFlexibleDimensions,o=this._overlayRef.getConfig();if(i){const i=this._viewportRuler.getViewportScrollPosition();N(n,this._getExactOverlayY(t,e,i)),N(n,this._getExactOverlayX(t,e,i))}else n.position="static";let s="",a=this._getOffset(t,"x"),l=this._getOffset(t,"y");a&&(s+=`translateX(${a}px) `),l&&(s+=`translateY(${l}px)`),n.transform=s.trim(),o.maxHeight&&(i?n.maxHeight=Object(c.d)(o.maxHeight):r&&(n.maxHeight="")),o.maxWidth&&(i?n.maxWidth=Object(c.d)(o.maxWidth):r&&(n.maxWidth="")),N(this._pane.style,n)}_getExactOverlayY(e,t,n){let i={top:"",bottom:""},r=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n));let o=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return r.y-=o,"bottom"===e.overlayY?i.bottom=this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)+"px":i.top=Object(c.d)(r.y),i}_getExactOverlayX(e,t,n){let i,r={left:"",right:""},o=this._getOverlayPoint(t,this._overlayRect,e);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n)),i=this._isRtl()?"end"===e.overlayX?"left":"right":"end"===e.overlayX?"right":"left","right"===i?r.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":r.left=Object(c.d)(o.x),r}_getScrollVisibility(){const e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),n=this._scrollables.map(e=>e.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:O(e,n),isOriginOutsideView:_(e,n),isOverlayClipped:O(t,n),isOverlayOutsideView:_(t,n)}}_subtractOverflows(e,...t){return t.reduce((e,t)=>e-Math.max(t,0),e)}_getNarrowedViewportRect(){const e=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+e-this._viewportMargin,bottom:n.top+t-this._viewportMargin,width:e-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,t){return"x"===t?null==e.offsetX?this._offsetX:e.offsetX:null==e.offsetY?this._offsetY:e.offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&Object(c.b)(e).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){const e=this._origin;if(e instanceof r.l)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();const t=e.width||0,n=e.height||0;return{top:e.y,bottom:e.y+n,left:e.x,right:e.x+t,height:n,width:t}}}function N(e,t){for(let n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function F(e){if("number"!=typeof e&&null!=e){const[t,n]=e.split(V);return n&&"px"!==n?null:parseFloat(t)}return e||null}function B(e){return{top:Math.floor(e.top),right:Math.floor(e.right),bottom:Math.floor(e.bottom),left:Math.floor(e.left),width:Math.floor(e.width),height:Math.floor(e.height)}}class W{constructor(e,t,n,i,r,o,s){this._preferredPositions=[],this._positionStrategy=new L(n,i,r,o,s).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(e,t),this.onPositionChange=this._positionStrategy.positionChanges}get positions(){return this._preferredPositions}attach(e){this._overlayRef=e,this._positionStrategy.attach(e),this._direction&&(e.setDirection(this._direction),this._direction=null)}dispose(){this._positionStrategy.dispose()}detach(){this._positionStrategy.detach()}apply(){this._positionStrategy.apply()}recalculateLastPosition(){this._positionStrategy.reapplyLastPosition()}withScrollableContainers(e){this._positionStrategy.withScrollableContainers(e)}withFallbackPosition(e,t,n,i){const r=new k(e,t,n,i);return this._preferredPositions.push(r),this._positionStrategy.withPositions(this._preferredPositions),this}withDirection(e){return this._overlayRef?this._overlayRef.setDirection(e):this._direction=e,this}withOffsetX(e){return this._positionStrategy.withDefaultOffsetX(e),this}withOffsetY(e){return this._positionStrategy.withDefaultOffsetY(e),this}withLockedPosition(e){return this._positionStrategy.withLockedPosition(e),this}withPositions(e){return this._preferredPositions=e.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}setOrigin(e){return this._positionStrategy.setOrigin(e),this}}const H="cdk-global-overlay-wrapper";class U{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(e){const t=e.getConfig();this._overlayRef=e,this._width&&!t.width&&e.updateSize({width:this._width}),this._height&&!t.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(H),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._rightOffset="",this._leftOffset=e,this._justifyContent="flex-start",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._leftOffset="",this._rightOffset=e,this._justifyContent="flex-end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._justifyContent="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),{width:i,height:r,maxWidth:o,maxHeight:s}=n,a=!("100%"!==i&&"100vw"!==i||o&&"100%"!==o&&"100vw"!==o),c=!("100%"!==r&&"100vh"!==r||s&&"100%"!==s&&"100vh"!==s);e.position=this._cssPosition,e.marginLeft=a?"0":this._leftOffset,e.marginTop=c?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=this._rightOffset,a?t.justifyContent="flex-start":"center"===this._justifyContent?t.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?t.justifyContent="flex-end":"flex-end"===this._justifyContent&&(t.justifyContent="flex-start"):t.justifyContent=this._justifyContent,t.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,n=t.style;t.classList.remove(H),n.justifyContent=n.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}}let $=(()=>{class e{constructor(e,t,n,i){this._viewportRuler=e,this._document=t,this._platform=n,this._overlayContainer=i}global(){return new U}connectedTo(e,t,n){return new W(t,n,e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(e){return new L(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return e.\u0275fac=function(t){return new(t||e)(r.hc(i.f),r.hc(a.e),r.hc(o.a),r.hc(A))},e.\u0275prov=Object(r.Mb)({factory:function(){return new e(Object(r.hc)(i.f),Object(r.hc)(a.e),Object(r.hc)(o.a),Object(r.hc)(A))},token:e,providedIn:"root"}),e})(),Q=0,G=(()=>{class e{constructor(e,t,n,i,r,o,s,a,c,l,u){this.scrollStrategies=e,this._overlayContainer=t,this._componentFactoryResolver=n,this._positionBuilder=i,this._keyboardDispatcher=r,this._injector=o,this._ngZone=s,this._document=a,this._directionality=c,this._location=l,this._outsideClickDispatcher=u}create(e){const t=this._createHostElement(),n=this._createPaneElement(t),i=this._createPortalOutlet(n),r=new T(e);return r.direction=r.direction||this._directionality.value,new R(i,t,n,r,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(e){const t=this._document.createElement("div");return t.id="cdk-overlay-"+Q++,t.classList.add("cdk-overlay-pane"),e.appendChild(t),t}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(r.g)),new l.d(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return e.\u0275fac=function(t){return new(t||e)(r.hc(z),r.hc(A),r.hc(r.j),r.hc($),r.hc(D),r.hc(r.s),r.hc(r.B),r.hc(a.e),r.hc(s.c),r.hc(a.k),r.hc(M))},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac}),e})();const Y=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],K=new r.r("cdk-connected-overlay-scroll-strategy");let X=(()=>{class e{constructor(e){this.elementRef=e}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.l))},e.\u0275dir=r.Lb({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),e})(),q=(()=>{class e{constructor(e,t,n,i,o){this._overlay=e,this._dir=o,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=d.a.EMPTY,this._attachSubscription=d.a.EMPTY,this._detachSubscription=d.a.EMPTY,this._positionSubscription=d.a.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new r.n,this.positionChange=new r.n,this.attach=new r.n,this.detach=new r.n,this.overlayKeydown=new r.n,this.overlayOutsideClick=new r.n,this._templatePortal=new l.f(t,n),this._scrollStrategyFactory=i,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=Object(c.c)(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=Object(c.c)(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=Object(c.c)(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=Object(c.c)(e)}get push(){return this._push}set push(e){this._push=Object(c.c)(e)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){this.positions&&this.positions.length||(this.positions=Y);const e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(e=>{this.overlayKeydown.next(e),e.keyCode!==y.f||this.disableClose||Object(y.p)(e)||(e.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(e=>{this.overlayOutsideClick.next(e)})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),t=new T({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(t.width=this.width),(this.height||0===this.height)&&(t.height=this.height),(this.minWidth||0===this.minWidth)&&(t.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(t.minHeight=this.minHeight),this.backdropClass&&(t.backdropClass=this.backdropClass),this.panelClass&&(t.panelClass=this.panelClass),t}_updatePositionStrategy(e){const t=this.positions.map(e=>({originX:e.originX,originY:e.originY,overlayX:e.overlayX,overlayY:e.overlayY,offsetX:e.offsetX||this.offsetX,offsetY:e.offsetY||this.offsetY,panelClass:e.panelClass||void 0}));return e.setOrigin(this.origin.elementRef).withPositions(t).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const e=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(e),e}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function(e,t=!1){return n=>n.lift(new b(e,t))}(()=>this.positionChange.observers.length>0)).subscribe(e=>{this.positionChange.emit(e),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(G),r.Qb(r.N),r.Qb(r.R),r.Qb(K),r.Qb(s.c,8))},e.\u0275dir=r.Lb({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[r.Ab]}),e})();const J={provide:K,deps:[G],useFactory:function(e){return()=>e.scrollStrategies.reposition()}};let Z=(()=>{class e{}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)},providers:[G,J],imports:[[s.a,l.e,i.e],i.e]}),e})()},rUKz:function(e,t,n){"use strict";n.d(t,"a",function(){return i.a});var i=n("k8Rb")},rc96:function(e,t,n){"use strict";n.d(t,"e",function(){return i}),n.d(t,"b",function(){return r}),n.d(t,"f",function(){return o}),n.d(t,"d",function(){return s}),n.d(t,"a",function(){return c.a}),n.d(t,"c",function(){return p}),n.d(t,"g",function(){return g});var i=function(e){return e[e.Disabled=0]="Disabled",e[e.ApplyFromField=1]="ApplyFromField",e[e.ApplyToField=2]="ApplyToField",e[e.ApplyBoth=3]="ApplyBoth",e}({}),r=function(e){return e[e.effectiveTime=1]="effectiveTime",e[e.orderTime=2]="orderTime",e[e.checkInDate=3]="checkInDate",e[e.checkOutDate=4]="checkOutDate",e[e.payChannel=5]="payChannel",e[e.minimumPurchaseAmount=6]="minimumPurchaseAmount",e[e.currency=7]="currency",e[e.hotelIncludesive=8]="hotelIncludesive",e[e.platform=9]="platform",e[e.weappOnly=10]="weappOnly",e[e.pcOnly=11]="pcOnly",e}({}),o=function(e){return e[e.Inactive=0]="Inactive",e[e.Active=1]="Active",e[e.Consumed=2]="Consumed",e}({}),s=function(e){return e[e.DiscountOnCertainPurchaseValue=1]="DiscountOnCertainPurchaseValue",e[e.PercentageOffDiscount=2]="PercentageOffDiscount",e}({}),a=function(e){return e[e.Disabled=0]="Disabled",e[e.Inclusive=1]="Inclusive",e[e.Exclusive=2]="Exclusive",e}({}),c=n("SjsC"),l=n("dgj+"),u=n("U8d7"),d=n("SOqu"),h=n("u0cC");class p{static allowUseCoupon(e){return!!d.b.isAllowControl(d.a.CouponControl,e)&&!!l.b.isAllowAccess(l.c.Marketing_Coupon_Consume,null==e?void 0:e.iamInfo)}static checkDateTimeRangeRestriction(e,t,n=!1){if(null==e)return!0;if(e.DayOfWeekList&&!e.DayOfWeekList.includes(t.getDay()))return!1;if(e.RestrictionType===i.Disabled)return!0;const r=n?new Date(e.From):u.f.getDateFromServerString(e.From),o=n?new Date(e.To):u.f.getDateFromServerString(e.To);switch(e.RestrictionType){case i.ApplyFromField:return r<=t;case i.ApplyToField:return o>=t;case i.ApplyBoth:return r<=t&&t<=o;default:return!1}}static checkFieldRestriction(e,t,n=((e,t)=>e.includes(t))){if(null==e)return!0;switch(e.RestrictionType){case a.Disabled:return!0;case a.Inclusive:return n(e.Collection,t);case a.Exclusive:return!n(e.Collection,t);default:return!1}}static check(e,t){const n=[],i=new Date;if(p.checkDateTimeRangeRestriction(e.EffectiveTimeSetting,i)||n.push(r.effectiveTime),e.RestrictionRuleModel){const o=e.RestrictionRuleModel;p.checkDateTimeRangeRestriction(o.OrderTimeRestriction,i)||n.push(r.orderTime),t.stayDate&&(p.checkDateTimeRangeRestriction(o.CheckInDateRestriction,t.stayDate.checkInDate,!0)||n.push(r.checkInDate),p.checkDateTimeRangeRestriction(o.CheckOutDateRestriction,t.stayDate.checkOutDate,!0)||n.push(r.checkOutDate)),t.payChannel&&!p.checkFieldRestriction(o.PayChannelRestriction,t.payChannel)&&n.push(r.payChannel),t.hotelId&&!p.checkFieldRestriction(o.HotelRestriction,t.hotelId,(e,t)=>{const n=t+"";return e.some(e=>{var i;return e.HotelID===n||(null===(i=e.DuplicateHotelList)||void 0===i?void 0:i.includes(t))})})&&n.push(r.hotelIncludesive),t.platform&&("shopping"!==t.platform||o.EnableOnShoppingSite||n.push(r.weappOnly),"weapp"!==t.platform||o.EnableOnWeChatMiniApp||n.push(r.pcOnly))}const o=e.RewardSettingReference||e.RewardSetting;return t.currency&&o.Currency!==t.currency&&o.CampaignRewardAdjustmentTypeID===c.a.FixedAmount&&n.push(r.currency),t.totalPrice>=0&&t.totalPrice0;if(e.EffectiveTimeSetting.To!==t.EffectiveTimeSetting.To)return e.EffectiveTimeSetting.To0)}static toChineseDiscount(e){return parseFloat(((100-e)/10).toFixed(2))}}var f=n("rUKz");const g=new class extends f.a{constructor(){super()}searchCouponByCache(e){return this.httpClientWrapper.get("/CouponApi/SearchCacheCoupons",{isModal:e},{resultProcessor:e=>{var t;return(null===(t=e.CouponModels)||void 0===t?void 0:t.length)>0&&e.CouponModels.map(e=>{e.RestrictionRuleModel.OrderTimeRestriction.RestrictionType!==i.Disabled&&(e.EffectiveTimeSetting=e.RestrictionRuleModel.OrderTimeRestriction)}),e}})}searchCouponCacheWithoutProcess(e){return this.httpClientWrapper.get("/CouponApi/SearchCacheCoupons",{isModal:e})}searchCouponCount(){return this.httpClientWrapper.get("/CouponApi/SearchCouponCount")}searchCoupon(e){return this.httpClientWrapper.post("/CouponApi/Search",{payload:e})}}},sVev:function(e,t,n){"use strict";n.d(t,"a",function(){return i});const i=(()=>{function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e})()},sWYD:function(e,t,n){"use strict";n.d(t,"a",function(){return P});var i=n("Se/U"),r=n("g9KO"),o=n("/Tr7"),s=n("jIYg"),a=864e5,c=n("lgZR"),l=n("gr1v"),u=n("ErpD"),d=n("Szzx");function h(e,t){for(var n=e<0?"-":"",i=Math.abs(e).toString();i.length0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(i,{width:"abbreviated"});case"GGGGG":return n.era(i,{width:"narrow"});default:return n.era(i,{width:"wide"})}},y:function(e,t,n){if("yo"===t){var i=e.getUTCFullYear();return n.ordinalNumber(i>0?i:1-i,{unit:"year"})}return function(e,t){var n=e.getUTCFullYear(),i=n>0?n:1-n;return h("yy"===t?i%100:i,t.length)}(e,t)},Y:function(e,t,n,i){var r=Object(d.a)(e,i),o=r>0?r:1-r;return"YY"===t?h(o%100,2):"Yo"===t?n.ordinalNumber(o,{unit:"year"}):h(o,t.length)},R:function(e,t){return h(Object(l.a)(e),t.length)},u:function(e,t){return h(e.getUTCFullYear(),t.length)},Q:function(e,t,n){var i=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(i);case"QQ":return h(i,2);case"Qo":return n.ordinalNumber(i,{unit:"quarter"});case"QQQ":return n.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(i,{width:"narrow",context:"formatting"});default:return n.quarter(i,{width:"wide",context:"formatting"})}},q:function(e,t,n){var i=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(i);case"qq":return h(i,2);case"qo":return n.ordinalNumber(i,{unit:"quarter"});case"qqq":return n.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(i,{width:"narrow",context:"standalone"});default:return n.quarter(i,{width:"wide",context:"standalone"})}},M:function(e,t,n){var i=e.getUTCMonth();switch(t){case"M":case"MM":return function(e,t){var n=e.getUTCMonth();return"M"===t?String(n+1):h(n+1,2)}(e,t);case"Mo":return n.ordinalNumber(i+1,{unit:"month"});case"MMM":return n.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(i,{width:"narrow",context:"formatting"});default:return n.month(i,{width:"wide",context:"formatting"})}},L:function(e,t,n){var i=e.getUTCMonth();switch(t){case"L":return String(i+1);case"LL":return h(i+1,2);case"Lo":return n.ordinalNumber(i+1,{unit:"month"});case"LLL":return n.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(i,{width:"narrow",context:"standalone"});default:return n.month(i,{width:"wide",context:"standalone"})}},w:function(e,t,n,i){var r=Object(u.a)(e,i);return"wo"===t?n.ordinalNumber(r,{unit:"week"}):h(r,t.length)},I:function(e,t,n){var i=Object(c.a)(e);return"Io"===t?n.ordinalNumber(i,{unit:"week"}):h(i,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):function(e,t){return h(e.getUTCDate(),t.length)}(e,t)},D:function(e,t,n){var i=function(e){Object(s.a)(1,arguments);var t=Object(o.a)(e),n=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var i=t.getTime();return Math.floor((n-i)/a)+1}(e);return"Do"===t?n.ordinalNumber(i,{unit:"dayOfYear"}):h(i,t.length)},E:function(e,t,n){var i=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return n.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},e:function(e,t,n,i){var r=e.getUTCDay(),o=(r-i.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return h(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},c:function(e,t,n,i){var r=e.getUTCDay(),o=(r-i.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return h(o,t.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(r,{width:"narrow",context:"standalone"});case"cccccc":return n.day(r,{width:"short",context:"standalone"});default:return n.day(r,{width:"wide",context:"standalone"})}},i:function(e,t,n){var i=e.getUTCDay(),r=0===i?7:i;switch(t){case"i":return String(r);case"ii":return h(r,t.length);case"io":return n.ordinalNumber(r,{unit:"day"});case"iii":return n.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},a:function(e,t,n){var i=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(e,t,n){var i,r=e.getUTCHours();switch(i=12===r?"noon":0===r?"midnight":r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(e,t,n){var i,r=e.getUTCHours();switch(i=r>=17?"evening":r>=12?"afternoon":r>=4?"morning":"night",t){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){var i=e.getUTCHours()%12;return 0===i&&(i=12),n.ordinalNumber(i,{unit:"hour"})}return function(e,t){return h(e.getUTCHours()%12||12,t.length)}(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):function(e,t){return h(e.getUTCHours(),t.length)}(e,t)},K:function(e,t,n){var i=e.getUTCHours()%12;return"Ko"===t?n.ordinalNumber(i,{unit:"hour"}):h(i,t.length)},k:function(e,t,n){var i=e.getUTCHours();return 0===i&&(i=24),"ko"===t?n.ordinalNumber(i,{unit:"hour"}):h(i,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):function(e,t){return h(e.getUTCMinutes(),t.length)}(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):function(e,t){return h(e.getUTCSeconds(),t.length)}(e,t)},S:function(e,t){return function(e,t){var n=t.length,i=e.getUTCMilliseconds();return h(Math.floor(i*Math.pow(10,n-3)),t.length)}(e,t)},X:function(e,t,n,i){var r=(i._originalDate||e).getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return g(r);case"XXXX":case"XX":return b(r);default:return b(r,":")}},x:function(e,t,n,i){var r=(i._originalDate||e).getTimezoneOffset();switch(t){case"x":return g(r);case"xxxx":case"xx":return b(r);default:return b(r,":")}},O:function(e,t,n,i){var r=(i._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+f(r,":");default:return"GMT"+b(r,":")}},z:function(e,t,n,i){var r=(i._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+f(r,":");default:return"GMT"+b(r,":")}},t:function(e,t,n,i){return h(Math.floor((i._originalDate||e).getTime()/1e3),t.length)},T:function(e,t,n,i){return h((i._originalDate||e).getTime(),t.length)}};function f(e,t){var n=e>0?"-":"+",i=Math.abs(e),r=Math.floor(i/60),o=i%60;if(0===o)return n+String(r);var s=t||"";return n+String(r)+s+h(o,2)}function g(e,t){return e%60==0?(e>0?"-":"+")+h(Math.abs(e)/60,2):b(e,t)}function b(e,t){var n=t||"",i=e>0?"-":"+",r=Math.abs(e);return i+h(Math.floor(r/60),2)+n+h(r%60,2)}var m=p,y=n("Ib5w"),v=n("JCDJ"),C=n("3REe"),w=n("/h9T"),S=n("vq9N"),_=n("48Xl"),O=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,x=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,z=/^'([^]*?)'?$/,T=/''/g,k=/[a-zA-Z]/;function P(e,t,n){var a,c,l,u,d,h,p,f,g,b,z,T,P,D,M,I,A,R;Object(s.a)(2,arguments);var j=String(t),V=Object(S.a)(),L=null!==(a=null!==(c=null==n?void 0:n.locale)&&void 0!==c?c:V.locale)&&void 0!==a?a:_.a,N=Object(w.a)(null!==(l=null!==(u=null!==(d=null!==(h=null==n?void 0:n.firstWeekContainsDate)&&void 0!==h?h:null==n||null===(p=n.locale)||void 0===p||null===(f=p.options)||void 0===f?void 0:f.firstWeekContainsDate)&&void 0!==d?d:V.firstWeekContainsDate)&&void 0!==u?u:null===(g=V.locale)||void 0===g||null===(b=g.options)||void 0===b?void 0:b.firstWeekContainsDate)&&void 0!==l?l:1);if(!(N>=1&&N<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var F=Object(w.a)(null!==(z=null!==(T=null!==(P=null!==(D=null==n?void 0:n.weekStartsOn)&&void 0!==D?D:null==n||null===(M=n.locale)||void 0===M||null===(I=M.options)||void 0===I?void 0:I.weekStartsOn)&&void 0!==P?P:V.weekStartsOn)&&void 0!==T?T:null===(A=V.locale)||void 0===A||null===(R=A.options)||void 0===R?void 0:R.weekStartsOn)&&void 0!==z?z:0);if(!(F>=0&&F<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!L.localize)throw new RangeError("locale must contain localize property");if(!L.formatLong)throw new RangeError("locale must contain formatLong property");var B=Object(o.a)(e);if(!Object(i.a)(B))throw new RangeError("Invalid time value");var W=Object(v.a)(B),H=Object(r.a)(B,W),U={firstWeekContainsDate:N,weekStartsOn:F,locale:L,_originalDate:B},$=j.match(x).map(function(e){var t=e[0];return"p"===t||"P"===t?(0,y.a[t])(e,L.formatLong):e}).join("").match(O).map(function(i){if("''"===i)return"'";var r=i[0];if("'"===r)return E(i);var o=m[r];if(o)return null!=n&&n.useAdditionalWeekYearTokens||!Object(C.b)(i)||Object(C.c)(i,t,String(e)),null!=n&&n.useAdditionalDayOfYearTokens||!Object(C.a)(i)||Object(C.c)(i,t,String(e)),o(H,i,L.localize,U);if(r.match(k))throw new RangeError("Format string contains an unescaped latin alphabet character `"+r+"`");return i}).join("");return $}function E(e){var t=e.match(z);return t?t[1].replace(T,"'"):e}},tAZD:function(e,t,n){var i,r,o;!function(s){if("object"==typeof e.exports){var a=s(0,t);void 0!==a&&(e.exports=a)}else r=[n,t],void 0===(o="function"==typeof(i=s)?i.apply(t,r):i)||(e.exports=o)}(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=void 0;t.default=["en",[["a","p"],["AM","PM"],n],[["AM","PM"],n,n],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],n,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],n,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",n,"{1} 'at' {0}",n],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}]})},tS1D:function(e,t,n){"use strict";n.d(t,"a",function(){return d});var i=n("D0XW");const r=(()=>{function e(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return e.prototype=Object.create(Error.prototype),e})();var o=n("mlxB"),s=n("l7GE"),a=n("ZUHj");class c{constructor(e,t,n,i){this.waitFor=e,this.absoluteTimeout=t,this.withObservable=n,this.scheduler=i}call(e,t){return t.subscribe(new l(e,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}class l extends s.a{constructor(e,t,n,i,r){super(e),this.absoluteTimeout=t,this.waitFor=n,this.withObservable=i,this.scheduler=r,this.action=null,this.scheduleTimeout()}static dispatchTimeout(e){const{withObservable:t}=e;e._unsubscribeAndRecycle(),e.add(Object(a.a)(e,t))}scheduleTimeout(){const{action:e}=this;e?this.action=e.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(l.dispatchTimeout,this.waitFor,this))}_next(e){this.absoluteTimeout||this.scheduleTimeout(),super._next(e)}_unsubscribe(){this.action=null,this.scheduler=null,this.withObservable=null}}var u=n("z6cu");function d(e,t=i.a){return function(e,t,n=i.a){return i=>{let r=Object(o.a)(e),s=r?+e-n.now():Math.abs(e);return i.lift(new c(s,r,t,n))}}(e,Object(u.a)(new r),t)}},tb4M:function(e,t,n){"use strict";n.d(t,"r",function(){return lt}),n.d(t,"J",function(){return dt}),n.d(t,"j",function(){return Et}),n.d(t,"l",function(){return Rt}),n.d(t,"a",function(){return Mt}),n.d(t,"b",function(){return At}),n.d(t,"B",function(){return ln}),n.d(t,"n",function(){return an}),n.d(t,"o",function(){return cn}),n.d(t,"e",function(){return O}),n.d(t,"h",function(){return x}),n.d(t,"g",function(){return T}),n.d(t,"i",function(){return k}),n.d(t,"d",function(){return P}),n.d(t,"G",function(){return D}),n.d(t,"u",function(){return I}),n.d(t,"v",function(){return A}),n.d(t,"F",function(){return V}),n.d(t,"A",function(){return N}),n.d(t,"f",function(){return l}),n.d(t,"E",function(){return u}),n.d(t,"m",function(){return h}),n.d(t,"t",function(){return p}),n.d(t,"y",function(){return g}),n.d(t,"s",function(){return Vt}),n.d(t,"k",function(){return Lt}),n.d(t,"p",function(){return oe}),n.d(t,"K",function(){return be}),n.d(t,"x",function(){return st}),n.d(t,"D",function(){return St}),n.d(t,"q",function(){return xt}),n.d(t,"c",function(){return Qt}),n.d(t,"z",function(){return Kt}),n.d(t,"H",function(){return qt}),n.d(t,"I",function(){return Zt}),n.d(t,"w",function(){return rn}),n.d(t,"C",function(){return un});var i=n("tk/3"),r=n("fXoL"),o=n("rUKz"),s=n("XNiG");const a={};class c{constructor(){this.events=new s.a,this.name=this.constructor.name,a[this.name]||(a[this.name]=0),this.instance_id=a[this.name]++,console.log(`[DidaEventHub] Created: ${this.name}, instance_id: ${this.instance_id}`)}get lastEvent(){return this._last}broadcast(e){const t=this.events;return this._last=e,t.next(e),t.observers.length}subscribe(e){return this.events.subscribe(e)}}let l=(()=>{class e extends c{constructor(){super()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),u=(()=>{class e extends c{constructor(){super()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),d=(()=>{class e extends c{constructor(){super()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),h=(()=>{class e extends c{constructor(){super()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),p=(()=>{class e extends c{constructor(){super()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),f=(()=>{class e extends c{constructor(){super()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),g=(()=>{class e extends c{constructor(){super()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),b=(()=>{class e extends c{constructor(){super()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var m=function(e){return e.ContextUpdate="CONTEXT_UPDATE",e.CurrencyChange="CURRENCY_CHANGE",e.LanguageChange="LANGUAGE_CHANGE",e.ClientInfoUpdate="CLIENT_INFO_UPDATE",e.ExperimentInfoChange="EXPERIMENT_INFO_CHANGE",e.RouteDataChange="RouteDataChange",e.NavbarNoticeChange="NAVBAR_NOTICE_CHANGE",e.AuthInfoChange="AUTH_INFO_CHANGE",e}({}),y=function(e){return e.LoginShowCouponModal="LOGIN_SHOW_COUPON_MODAL",e.UserActiveCouponUpdated="USER_ACTIVE_COUPON_UPDATED",e}({}),v=function(e){return e.GetFavorIconPos="GetFavorIconPos",e.FavorIconPos="FavorIconPos",e.FavoriteHotelUpdate="FavoriteHotelUpdate",e}({}),C=function(e){return e.RequestFinish="RequestFinish",e.ReverifyRequired="ReverifyRequired",e}({}),w=function(e){return e.UnreadMessageUpdate="UnreadMessageUpdate",e}({});class S{constructor(e,t,n=null){this.type=e,this.source=t,this.time=n,n||(n=new Date)}}class _ extends S{constructor(e,t,n){super(m.CurrencyChange,t,n),this.info=e,this.currencyCode=e.Code,this.currencyRatio=e.Current2CNYRatio,this.currencyPlace=e.CurrentDecimalPlaces}}class O extends S{constructor(e,t,n){super(m.ContextUpdate,t,n),this.ctx=e}}class x extends S{constructor(e,t,n){super(m.LanguageChange,t,n),this.lang=e}}class z extends S{constructor(e,t,n){super(m.ClientInfoUpdate,t,n),this.clientInfo=e}}class T extends S{constructor(e,t,n,i,r){super(m.ExperimentInfoChange,i,r),this.rolledOutExperiments=e,this.userExperiments=t,this.clientExperiments=n}}class k extends S{constructor(e,t=5e3,n="",i=new Date){super(m.NavbarNoticeChange,n,i),this.message=e,this.duration=t}}class P extends S{constructor(e,t,n="",i=new Date){super(m.AuthInfoChange,n,i),this.privileges=e,this.iamRoles=t}}class E{constructor(e,t,n=null){this.type=e,this.source=t,this.time=n,n||(n=new Date)}}class D extends E{constructor(e,t=null){super(y.UserActiveCouponUpdated,e,t)}}class M{constructor(e,t,n=null){this.type=e,this.source=t,this.time=n,n||(n=new Date)}}class I extends M{constructor(e,t,n){super(v.FavorIconPos,t,n),this.iconRect=e}}class A extends M{constructor(e,t){super(v.FavoriteHotelUpdate,e,t)}}class R{constructor(e,t,n=null){this.type=e,this.source=t,this.time=n,n||(n=new Date)}}class j extends R{constructor(e,t,n,i){super(C.RequestFinish,n,i),this.url=e,this.error=t}}class V extends R{constructor(e,t,n,i){super(C.ReverifyRequired,e,t),this.data=n,this.retryCb=i}}class L{constructor(e,t,n=null){this.type=e,this.source=t,this.time=n,n||(n=new Date)}}class N extends L{constructor(e,t,n=null){super(w.UnreadMessageUpdate,t,n),this.userId=e}}let F=(()=>{class e{constructor(e){if(e)throw new Error("NgxDidaEventsModule has already been loaded. Import NgxDidaEventsModule in the AppModule only,")}}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)(r.hc(e,12))},providers:[l,d,h,p,u,f,g,b]}),e})();var B=n("dgj+"),W=n("U8d7"),H=n("SOqu");const U=new class extends o.a{constructor(){super("ClientService")}getClientInfo(e){return this.httpClientWrapper.post("/ClientApi/GetUserClientInfo",{fromCache:!e})}getClientVerificationResult(){return this.httpClientWrapper.get("/ClientApi/GetClientVerificationResult")}getCustomVoucherInfo(){return this.httpClientWrapper.get("/ClientApi/GetCustomVoucherInfo")}updateCustomVoucherInfo(e){return this.httpClientWrapper.post("/ClientApi/UpdateCustomVoucherInfo",{info:e})}getSalesRepresentativeInfo(){return this.httpClientWrapper.get("/ClientApi/GetSaleRepresentiveInfo")}getBalanceLogList(e,t=1,n=10){return this.httpClientWrapper.post("/HotelBookingApi/GetBalanceLogList",{payChannelType:e,pageNum:t,pageSize:n})}GetCustomerServiceInfo(e){return this.httpClientWrapper.get("/ClientApi/GetCustomerServiceInfo",{forTest:e},{resultProcessor(e){var t;return(null===(t=e.DataEntity)||void 0===t?void 0:t.EntityValue)&&(e.DataEntity.EntityValue=JSON.parse(e.DataEntity.EntityValue)),e}})}getExportBalanceLogListUrl(e){return`/HotelBookingApi/ExportBalanceLogList?payChannelType=${e}`}getSecuritySetting(){return this.httpClientWrapper.get("/ClientApi/GetSecuritySetting")}saveSecuritySetting(e){return this.httpClientWrapper.post("/ClientApi/UpdateSecuritySetting",{option:e})}};new class extends o.a{constructor(){super("EmailService")}sendUserEmailVerificationEmail(e){return this.httpClientWrapper.post("/EmailApi/SendUserEmailVerificationEmailV2",e)}sendChangeUserPhoneVerificationEmail(){return this.httpClientWrapper.post("/EmailApi/SendChangeUserPhoneVerificationEmail")}};var $=function(e){return e[e.Active=1]="Active",e[e.Locked=0]="Locked",e[e.NoSpecified=-10]="NoSpecified",e}({}),Q=function(e){return e[e.Locked=-1]="Locked",e[e.Active=1]="Active",e[e.ClientInfoProcessing=3]="ClientInfoProcessing",e[e.NoSpecified=-10]="NoSpecified",e}({});new class extends o.a{constructor(){super()}register(e,t="",n=null){let i="/AccountApi/UserRegister";return t&&(i=`${i}?sr=${t}`),this.httpClientWrapper.post(i,e,{resultProcessor:e=>(e&&n&&n(),e)})}getRegisterSources(){return this.httpClientWrapper.get("/AccountApi/GetRegisterSources")}};var G,Y=function(e){return e[e.Coupon=1]="Coupon",e[e.Others=99]="Others",e[e.Prize=100]="Prize",e}({}),K=function(e){return e[e.Ordering=0]="Ordering",e[e.PendingForConfirm=1]="PendingForConfirm",e[e.Confirmed=2]="Confirmed",e[e.Failed=3]="Failed",e}({});!function(e){let t;!function(e){e[e.InActive=0]="InActive",e[e.Active=1]="Active"}(t=e.ProductStateType||(e.ProductStateType={}))}(G||(G={})),new class extends o.a{constructor(){super()}getProductPool(){return this.httpClientWrapper.get("/JdMarketApi/GetProductPool")}getProducts(e){return this.httpClientWrapper.post("/JdMarketApi/GetProducts",e,{resultProcessor:e=>(null==e||e.Data.forEach(e=>{"string"==typeof e.Value&&(e.Value=parseInt(e.Value))}),e)})}redeemProduct(e){return this.httpClientWrapper.post("/JdMarketApi/RedeemProduct",e)}getExpressPoints(e,t){return this.httpClientWrapper.post("/JdMarketApi/GetExpressPoints",{ProductList:e.map(e=>({ProductID:e.ProductID,RedeemCount:e.RedeemCount})),Contact:t},{resultProcessor:e=>e?parseInt(e):0})}checkProductState(e,t,n){return this.httpClientWrapper.post("/JdMarketApi/GetProductState",{ProductList:[{ProductID:e,RedeemCount:t}],Contact:n},{resultProcessor:e=>e[0]})}addWish(e,t=1){return this.httpClientWrapper.post("/JdMarketApi/AddWish",{ProductID:e,Quantity:t})}delWishes(e){return this.httpClientWrapper.post("/JdMarketApi/DeleteUserWishes",e)}changeWishProductQuantity(e,t){return this.httpClientWrapper.post("/JdMarketApi/ChangeWishQuantity",{ProductNum:e,Contact:t})}getWishes(e){return this.httpClientWrapper.post("/JdMarketApi/GetUserWishes",e)}getWishesCount(){return this.httpClientWrapper.get("/JdMarketApi/GetWishesCount")}verifyAddress(e){return this.httpClientWrapper.post("/JdMarketApi/VerifyAddress",{contact:e})}},new class extends o.a{constructor(){super()}getCategories(){return this.httpClientWrapper.post("/YouGotaGiftMarketApi/GetCategories")}getCountries(){return this.httpClientWrapper.get("/YouGotaGiftMarketApi/GetCountries")}getCurrencies(){return this.httpClientWrapper.get("/YouGotaGiftMarketApi/GetCurrencies")}getProducts(e){return this.httpClientWrapper.post("/YouGotaGiftMarketApi/QueryProducts",e)}getProductInfo(e){return this.httpClientWrapper.get("/YouGotaGiftMarketApi/GetProductInfo",{brandCode:e},{resultProcessor(e){var t;if((null===(t=e.ActiveAmounts)||void 0===t?void 0:t.length)>0){const t=[];e.ActiveAmounts.forEach(e=>{t.some(t=>t.Amount===e.Amount)||t.push(e)}),e.ActiveAmounts=t}return e}})}getProductPointsByAmount(e,t){return this.httpClientWrapper.get("/YouGotaGiftMarketApi/GetProductPointsByAmount",{brandCode:e,amount:t})}redeem(e){return this.httpClientWrapper.post("/YouGotaGiftMarketApi/CreateOrder",e,{payloadProcessor:e=>(e.ExtraFields=e.ExtraFields||{},e)})}},new class extends o.a{constructor(){super()}getCategories(e){return this.httpClientWrapper.get("/PointsMarketApi/GetCategories",e&&{SourceCodeList:[e]})}queryProducts(e){return this.httpClientWrapper.post("/PointsMarketApi/QueryProducts",{payload:e},{resultProcessor:e=>(e.Data.map(e=>this.normalizeProduct(e)),e)})}getProductInfo(e){return this.httpClientWrapper.get("/PointsMarketApi/GetProductInfo",{id:e},{resultProcessor:e=>this.normalizeProduct(e)})}getPointsValueByPrice(e,t){return this.httpClientWrapper.get("/PointsMarketApi/GetPointsValueByPrice",{id:e,price:t})}createOrder(e){return this.httpClientWrapper.post("/PointsMarketApi/CreateOrder",{payload:e})}getProductRedeemRecords(e,t=1,n=10){return this.httpClientWrapper.post("/PointsMarketApi/GetRedeemRecordPage",{productId:e,pageNum:t,pageSize:n})}getUserRedeemRecords(e,t){return this.httpClientWrapper.post("/PointsMarketApi/GetUserRedeemRecords",{pageNum:t,pageSize:10,options:e},{resultProcessor:e=>(e.Data.map(e=>e.SubOrderList.map(e=>{var t,n;e.ProductCategoryType===Y.Coupon&&(e.ProductImageSrc=e.ProductImageSrc||"https://dsimage.didatravel.com/points-market/coupon/coupon-general.png"),"string"==typeof(null===(t=e.YGGOrderModel)||void 0===t?void 0:t.YGGVoucher)&&(null===(n=e.YGGOrderModel)||void 0===n?void 0:n.YGGVoucher)&&(e.YGGOrderModel.YGGVoucher=JSON.parse(e.YGGOrderModel.YGGVoucher)),e.GiiftOrderRedemptionDataModel&&(e.GiiftInfo=e.GiiftOrderRedemptionDataModel)})),e)})}getTotalPointsRedeemed(){return this.httpClientWrapper.get("/UserPointsApi/GetRedeemedPointCountByCurrency",null,{resultProcessor:e=>(e.AllPoint=parseInt(e.AllPoint,10),e)})}normalizeProduct(e){return e.PointsMarketProductVariableModel&&(e.Variables=e.PointsMarketProductVariableModel,e.Variables.VariableAmount=e.Variables.PointsMarketProductVariableAmountModel),e}getCouponProducts(e){return this.httpClientWrapper.post("/CouponMarketApi/GetProducts",{options:e},{resultProcessor:e=>(e&&e.Data&&e.Data.forEach(e=>{"string"==typeof e.Value&&(e.Value=parseInt(e.Value))}),e)})}purchaseCoupon(e){return this.httpClientWrapper.post("/CouponMarketApi/PurchaseCoupon",{options:e})}};const X=new class extends o.a{constructor(){super()}getUserInfo(e){return this.httpClientWrapper.post("/UserApi/GetDetail",{userId:e},{resultProcessor:e=>(void 0===e.UserName&&(e.UserName=null),void 0===e.Email&&(e.Email=null),e.ExperimentIDs||(e.ExperimentIDs=[]),e.NotificationEmails||(e.NotificationEmails=[]),e.Roles||(e.Roles=[]),null==e.NotificationSetting&&(e.NotificationSetting={ConfirmCodeByEmail:!1,ConfirmCodeByPhone:!1,ConfirmCodeByWeChat:!1,WorkOrderNoticeByEmail:!1,WorkOrderNoticeByWeChat:!1}),e)})}deleteAccount(e){return this.httpClientWrapper.post("/UserApi/CleanupUser",{userId:e})}updateCurrencySetting(e){return this.httpClientWrapper.post("/AccountApi/UpdateCurrencySetting",{currencyCode:e})}updateLanguageSetting(e){return this.httpClientWrapper.post("/AccountApi/UpdateLanguageSetting",{lang:e})}getUserPointsAccount(e=!1){return this.httpClientWrapper.get("/UserPointsApi/GetUserPoints",{fromCache:e})}updateClientUserInfo(e,t,n){return this.httpClientWrapper.post("/UserApi/UpdateClientUserInfo",{clientUser:e,password:t,passwordConfirm:n,clearNotificationEmail:0===e.NotificationEmails.length})}updateUserNotificationSetting(e,t){return this.httpClientWrapper.post("/UserApi/UpdateUserNotificationSetting",{userId:e,setting:t})}checkUserNameExist(e){return this.httpClientWrapper.get("/UserApi/CheckUserNameExist",{userName:e})}checkEmailExist(e){return this.httpClientWrapper.get("/UserApi/CheckEmailExist",{email:encodeURIComponent(e)})}checkSensitiveKeyword(e){return this.httpClientWrapper.get("/ContentValidateApi/CheckSensitiveKeyword",{content:e})}resendEmailConfirmation(){return this.httpClientWrapper.post("/AccountApi/ResendEmailConfirmation",{})}changePassword(e){return this.httpClientWrapper.post("/AccountApi/ChangePassword",e)}changeEmail(e){return this.httpClientWrapper.post("/AccountApi/ChangeEmail",e)}changeConfirmedEmail(e){return this.httpClientWrapper.post("/AccountApi/ChangeConfirmedEmail",e)}confirmEmailChange(e,t){return this.httpClientWrapper.post("/AccountApi/ConfirmEmailChange",{cval:e,code:t})}searchSubClientUser(e="",t=1,n=1,i=20){return this.httpClientWrapper.get("/UserApi/SearchSubClientUser",{keyword:e,userStatus:t,pageNum:n,pageSize:i},{resultProcessor:e=>(e.Data.map(e=>e||{}),e)})}addSubAccount(e,t,n){return this.httpClientWrapper.post("/RegisterApi/CreateClientSubAccountUser",{form:e,password:t,passwordConfirm:n},{resultProcessor:e=>e||{}})}getSubAccountPermission(e){return this.httpClientWrapper.get("/UserApi/GetSubAccountPermission",{userName:e})}updateSubAccountPermission(e){return this.httpClientWrapper.post("/UserApi/UpdateSubAccountPermission",{model:e})}getUserPointsTradeRecords(e=1,t=10){return this.httpClientWrapper.post("/UserPointsApi/GetUserPointsTradeRecords",{statues:[K.Confirmed],pageNum:e,pageSize:t})}redeemCheckinPoints(){return this.httpClientWrapper.post("/UserPointsApi/RedeemSignInPoints",{})}getCheckinPointsInfo(){return this.httpClientWrapper.get("/UserPointsApi/GetCheckinPointsInfo")}openClientUserPhoneLogin(e,t){return this.httpClientWrapper.post("/UserApi/OpenClientUserPhoneLogin",{code:e,enable:t})}changeClientUserPhone(e){return this.httpClientWrapper.post("/UserApi/ChangeClientUserPhone",e)}getClientUserSetting(){return this.httpClientWrapper.get("/UserApi/GetClientUserSetting")}updateClientUserSetting(e){return this.httpClientWrapper.post("/UserApi/SubmitClientUserSetting",e)}},q=new class{constructor(){this._unreadMessages={Data:[],TotalAmount:0,PageNum:0,PageSize:0},this._msgId2MsgRef={},this._cacheTime=new Date(1970,1,1)}setUnreadMessages(e,t=new Date){const n={hasUpdated:!1};let i=!1;if(this._isInited){if(i=this._unreadMessages.TotalAmount!==e.TotalAmount,!i)for(let r=0;r!!this._msgId2MsgRef[e]);if(i.length>0){const e=new Set(i),r={Data:this._unreadMessages.Data.filter(t=>!e.has(t.MessageID)),TotalAmount:this._unreadMessages.TotalAmount-i.length,PageSize:this._unreadMessages.PageSize,PageNum:this._unreadMessages.PageNum};this.syncCache(r,n),t.hasUpdated=!0}return t}getUnreadMessages(){return this._unreadMessages.Data.map(e=>JSON.parse(JSON.stringify(e)))}getUnreadMessageCount(){return this._unreadMessages&&this._unreadMessages.TotalAmount||0}getCacheTime(){return new Date(this._cacheTime.getTime())}syncCache(e,t){this._unreadMessages.TotalAmount=e.TotalAmount,this._unreadMessages.PageNum=e.PageNum,this._unreadMessages.PageSize=e.PageSize;const n={};this._unreadMessages.Data=e.Data.map((e,t)=>(n[e.MessageID]={idx:t},JSON.parse(JSON.stringify(e)))),this._msgId2MsgRef=n,this._cacheTime=t}};var J=n("mboQ");const Z=new class{get context(){return this._context}get userIdentityInfo(){return this.context&&this.context.userIdentityInfo}get userProfile(){return this.userIdentityInfo&&this.userIdentityInfo.profile}get clientInfo(){return this.userIdentityInfo&&this.userIdentityInfo.clientInfo}get gsaInfo(){var e;return null===(e=this.userIdentityInfo)||void 0===e?void 0:e.gsaInfo}get currencyInfo(){return this.context&&this.context.currencyInfo}get responseTime(){return this.context&&this.context.__responseTime__}get imValidTime(){return this._imValidTime}get rolledOutExperiments(){return this._context&&this._context.rolledOutExperiments||[]}get userExperiments(){return this._context&&this._context.userExperiments||[]}get clientExperiments(){return this._context&&this._context.clientExperiments||[]}get iamInfo(){return this._iamInfo}set(e,t){var n,i,r;const o={success:!0,experimentChanged:!1,currencyChanged:!1,langChanged:!1,authInfoChanged:!1,isSetEmpty:!e};if(o.authInfoChanged=this.detectAuthInfoChanges(e),o.experimentChanged=this.detectExperimentSettingsChanges(e),o.currencyChanged=this.currencyInfo&&this.currencyInfo.Code!==(e&&e.currencyInfo&&e.currencyInfo.Code),o.langChanged=(t||this.context&&this.context.lang)!==(e&&e.lang),this._context=e,o.authInfoChanged&&(this._iamInfo=(null===(n=this.userIdentityInfo)||void 0===n?void 0:n.authInfo)?{privileges:new Set(null!==(i=this.userIdentityInfo.authInfo.pvlgs)&&void 0!==i?i:[]),roles:new Set(null!==(r=this.userIdentityInfo.authInfo.roles)&&void 0!==r?r:[]),disabledIAM:this.userIdentityInfo.authInfo.ied}:{privileges:new Set,roles:new Set,disabledIAM:!1}),e){this._imValidTime=W.f.addMinutes(e.__responseTime__,e.imValidRemainings);const t=Object(J.b)(e.currencyList);t.length>0&&console.warn("one or more unknown currency detected: ",t)}else this._imValidTime=new Date;return o}detectAuthInfoChanges(e){var t,n,i,r,o;let s=!1;if(e){if((null===(t=this.userIdentityInfo)||void 0===t?void 0:t.isAuthenticated)!==(null===(n=e.userIdentityInfo)||void 0===n?void 0:n.isAuthenticated))s=!0;else if(null===(i=e.userIdentityInfo)||void 0===i?void 0:i.isAuthenticated){const t=null===(r=this.userIdentityInfo)||void 0===r?void 0:r.authInfo,n=null===(o=e.userIdentityInfo)||void 0===o?void 0:o.authInfo;t!==n&&(s=this.detectIfSetChanged(null==t?void 0:t.pvlgs,null==n?void 0:n.pvlgs)||this.detectIfSetChanged(null==t?void 0:t.roles,null==n?void 0:n.roles)),s||(s=(null==t?void 0:t.ied)!==(null==n?void 0:n.ied))}}else s=e!==this.context;return s}detectIfSetChanged(e,t){if(e===t)return!1;if((null==e?void 0:e.length)!==(null==t?void 0:t.length))return!0;const n=new Set(e);for(let i=0;i0}detectExperimentSettingsChanges(e){let t=!1;return t||(t=!this.checkIsSameExperimentSetting(this.rolledOutExperiments,e&&e.rolledOutExperiments)),t||(t=!this.checkIsSameExperimentSetting(this.userExperiments,e&&e.userExperiments)),t||(t=!this.checkIsSameExperimentSetting(this.clientExperiments,e&&e.clientExperiments)),t}checkIsSameExperimentSetting(e,t){let n=null,i=null;return e instanceof Array&&(n=e.sort().join("|")),t instanceof Array&&(i=t.sort().join("|")),n===i}},ee=new class{constructor(){this._data=[],this._hotelId2Ref={},this._cacheTime=new Date(1970,1,1)}setFavoriteHotels(e,t=new Date){const n={hasUpdated:!1};let i=this._data.length!==e.length;if(!i)for(let r=0;r!!this._hotelId2Ref[e]);if(i.length>0){const e=new Set(i),r=this._data.filter(t=>!e.has(t.HotelID));this.syncCache(r,n),t.hasUpdated=!0}return t}getCacheTime(){return new Date(this._cacheTime.getTime())}getFavoriteHotels(){return this._data.map(e=>JSON.parse(JSON.stringify(e)))}getFavoriteHotelCount(){return this._data.length}isFavoriteHotel(e){return this._hotelId2Ref.hasOwnProperty(e.toString())}syncCache(e,t){const n={};this._data=e.map((e,t)=>(n[e.HotelID]={idx:t},JSON.parse(JSON.stringify(e)))),this._hotelId2Ref=n,this._cacheTime=t}},te=new class{constructor(){this._activeCoupons=[],this._couponId2Ref={},this._cacheTime=new Date(1970,1,1)}get activeCount(){return this._activeCoupons.length}get cacheTime(){return new Date(this._cacheTime.getTime())}getActiveCoupons(){return this._activeCoupons.map(e=>JSON.parse(JSON.stringify(e)))}setActiveCoupons(e,t=new Date){const n={hasUpdated:!1};e||(e=[]);let i=!1;if(this._isInited){if(i=this._activeCoupons.length!==e.length,!i)for(let r=0;r!!this._couponId2Ref[e]);if(i.length>0){const e=new Set(i),r=this._activeCoupons.filter(t=>!e.has(t.CouponID));this.syncCache(r,n),t.hasUpdated=!0}return t}syncCache(e,t){const n={};this._activeCoupons=e.map((e,t)=>(n[e.CouponID]={idx:t},JSON.parse(JSON.stringify(e)))),this._couponId2Ref=n,this._cacheTime=t}};var ne=n("HDdC");const ie={proxyEnabled:!1,localDebug:!1,ignoreBuildNumber:!1,serviceEndPoint:null,oldSiteUrl:null,localeCookieName:null,googleMapSetting:{ApiHost:null,JavaScriptMap:{ApiKey:null,Libraries:["geometry"]}},webPublicPath:null,enableLoginModal:!1,assetsBase:null},re={buildNumber:"0"};var oe=function(e){return e[e.None=0]="None",e[e.NotLogin=1]="NotLogin",e[e.AccountLocked=2]="AccountLocked",e[e.ClientRegistering=3]="ClientRegistering",e[e.RestrictedDevModeOnly=4]="RestrictedDevModeOnly",e[e.PermissionDenied=5]="PermissionDenied",e[e.LanguageNotSupported=6]="LanguageNotSupported",e[e.EmailUnconfirmed=7]="EmailUnconfirmed",e}({}),se=n("tyNb"),ae=n("ofXK"),ce=n("tS1D"),le=n("1G5W"),ue=n("lJxs");class de extends ne.a{constructor(e,t){super(),this.observable=e,this.pusher=t,this.type="observable",Object.assign(this,e)}static create(e,t){return new de(e,t)}touch(){this.subscribe({next:()=>{console.log("[TOUCHED]")},error:e=>{console.warn("[TOUCHED][ERROR]",e)}})}subscribe(e,t,n){let i=null;return i="function"==typeof e?super.subscribe(e,t,n):super.subscribe(e),this.pusher(i)}}class he{static buildHttpParams(e,t,n){n=null==n?new i.e:n;const r=e instanceof Array;if(null!=e)for(const i in e)if(e.hasOwnProperty(i)){const o=e[i];if(null!=o){const e=he.buildAKey(i,t,r);if(o instanceof Date){let t="";t=0===o.getHours()&&0===o.getMinutes()&&0===o.getSeconds()&&0===o.getMilliseconds()?W.f.format(o,W.f.DEFAULT_DATE_FORMAT):W.f.format(o,W.f.DEFAULT_DATE_TIME_FORMAT),n=n.append(e,t)}else n="object"==typeof o?he.buildHttpParams(o,e,n):n.append(e,o)}}return n}static buildAKey(e,t,n){const i=null!=t;let r=e;return n?(r="["+e+"]",i&&(r=t+r)):i&&(r=t+"."+r),r}}const pe=18e4;class fe{constructor(){this.__counter__=0,this.ngUnsubscribe=new s.a,this.subscriptions=new Map}get newCount(){return this.__counter__++}add(e){const t=this.newCount;return this.subscriptions.set(t,e),e.add(()=>{this.subscriptions.delete(t)}),t}}let ge=(()=>{class e{constructor(e,t){this.http=e,this.serviceEventHub=t,this.__counter__=0,this.__records__=new Map}get(e,t,n){let r=W.k.clone(t);n&&n.payloadProcessor&&(r=n.payloadProcessor(r));let o=null;o=r instanceof i.e?r:he.buildHttpParams(r);const s=n&&n.timeoutMillisec||pe,a=e;return this.buildHttpObservable(a,()=>this.http.get(a,{params:o,observe:"response",responseType:null==n?void 0:n.responseType}).pipe(Object(ce.a)(s)),n&&n.resultProcessor)}post(e,t,n){let i=t instanceof FormData?t:W.k.clone(t);n&&n.payloadProcessor&&(i=n.payloadProcessor(i));const r=n&&n.timeoutMillisec||pe,o=e;return this.buildHttpObservable(o,()=>this.http.post(o,i,{observe:"response",responseType:null==n?void 0:n.responseType}).pipe(Object(ce.a)(r)),n&&n.resultProcessor)}buildHttpObservable(e,t,n=null){const i=this.newCounter;return new ne.a,de.create(ne.a.create(r=>{const o=new fe;o.raw=this.executeHttpCall(e,t,r,o,n),o.url=e,this.__records__.set(i,o)}),e=>(this.__records__.has(i)&&this.__records__.get(i).add(e),e.add(()=>{if(this.__records__.has(i)){const e=this.__records__.get(i);0===e.subscriptions.size?(e.ngUnsubscribe.next(),e.ngUnsubscribe.complete(),e.raw.unsubscribe(),console.debug("unsubscribe => ",e),this.__records__.delete(i)):console.debug("more than one subscriptions => ",e)}}),e))}executeHttpCall(e,t,n,i,r=null){return t().pipe(Object(le.a)(i.ngUnsubscribe),Object(ue.a)(e=>this.handleHttpResp(e,r))).subscribe({next:o=>{var s;switch(o.success){case!0:n.next(o.data),n.complete();break;case!1:const a=o.error;let c=!0;a.errorCode===W.g.AuthenticationError_SecurityLevelNotMatch&&(c=0==this.serviceEventHub.broadcast(new V(e,null,null!==(s=a.data)&&void 0!==s?s:{},()=>{this.executeHttpCall(e,t,n,i,r)}))),c&&n.error(a)}},error:t=>{n.error({errorCode:t.status,message:t.message,networkErr:!0,validationResult:null}),this.serviceEventHub.broadcast(new j(e,t,"[NgxServiceHttpClientWrapper::buildHttpObservable::error]",new Date))},complete:()=>{console.debug("dida=http=>finished!")}})}handleHttpResp(e,t=null){if(200===e.status){const i=e.body;if("string"==typeof i)return{success:!0,data:i};if(i.Success){if(null!=t)try{i.Data=t(i.Data)}catch(n){return{success:!1,error:{errorCode:-1,message:`result processing error: ${n}`,validationResult:null,networkErr:!1}}}return{success:!0,data:i.Data}}return{success:!1,error:{errorCode:i.MessageCode,message:i.Message,validationResult:-1===i.MessageCode?i.Data:null,data:-1!==i.MessageCode?i.Data:null,networkErr:!1}}}return{success:!1,error:{errorCode:e.status,message:e.statusText,networkErr:!0,validationResult:null}}}get newCounter(){return this.__counter__++}}return e.\u0275fac=function(t){return new(t||e)(r.hc(i.c),r.hc(u))},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function be(e){if(!e)return null;if("observable"===e.type)return e;throw new Error(`invalid IAsyncOperation, type: ${e.type}. Please make sure you assigning the correct Rxjs based http wrapper.`)}var me=n("vkgz");let ye=(()=>{class e{}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)},providers:[ge],imports:[[ae.c,i.d,F]]}),e})(),ve=(()=>{class e{constructor(){}intercept(e,t){return t.handle(e).pipe(Object(me.a)(e=>{try{if(e instanceof i.f)switch(e.body.MessageCode){case W.g.UserCellPhoneAlreadyExistErorr:e.body.Message="The new phone number you entered is the same as the original phone number.";break;case W.g.UserCellPhoneFormatError:e.body.Message="Mobile phone format is invalid";break;case W.g.UserCellPhoneHasConfirmedErorr:e.body.Message="The phone number is already associated with another account.";break;case W.g.AuthenticationError_IncorrectPhoneVerificationCode:e.body.Message="Incorrect verification code";break;case W.g.AuthenticationError_UnOpenCellPhoneLogin:e.body.Message="The phone number login method is not enabled for this account. Please log in using another method first and go to 'Account Center- Account Management' to enable phone number login."}}catch(t){}}))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac}),e})();var Ce=n("8ND1"),we=n.n(Ce),Se=n("tAZD"),_e=n.n(Se),Oe=n("2Yyj"),xe=n.n(Oe),ze=n("Hfs6"),Te=n.n(ze),ke=n("tdLY"),Pe=n.n(ke),Ee=n("Paii"),De=n.n(Ee),Me=n("jQh8"),Ie=n.n(Me),Ae=n("vT00"),Re=n.n(Ae),je=n("wq8c"),Ve=n.n(je),Le=n("Kd/A"),Ne=n.n(Le);"undefined"!=typeof window&&window,"undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,"undefined"!=typeof global&&global;class Fe{constructor(e){this.digits=e}static zero(){return new Fe([0])}static one(){return new Fe([1])}clone(){return new Fe(this.digits.slice())}add(e){const t=this.clone();return t.addToSelf(e),t}addToSelf(e){const t=Math.max(this.digits.length,e.digits.length);let n=0;for(let i=0;i=10?(this.digits[i]=t-10,n=1):(this.digits[i]=t,n=0)}n>0&&(this.digits[t]=1)}toString(){let e="";for(let t=this.digits.length-1;t>=0;t--)e+=this.digits[t];return e}}class Be{constructor(e){this.powerOfTwos=[e]}getValue(){return this.powerOfTwos[0]}multiplyBy(e){const t=Fe.zero();return this.multiplyByAndAddTo(e,t),t}multiplyByAndAddTo(e,t){for(let n=0;0!==e;e>>>=1,n++)if(1&e){const e=this.getMultipliedByPowerOfTwo(n);t.addToSelf(e)}}getMultipliedByPowerOfTwo(e){for(let t=this.powerOfTwos.length;t<=e;t++){const e=this.powerOfTwos[t-1];this.powerOfTwos[t]=e.add(e)}return this.powerOfTwos[e]}}class We{constructor(e){this.base=e,this.exponents=[new Be(Fe.one())]}toThePowerOf(e){for(let t=this.exponents.length;t<=e;t++){const e=this.exponents[t-1].multiplyBy(this.base);this.exponents[t]=new Be(e)}return this.exponents[e]}}function He(e){const t=function(e){let t=[];for(let n=0;n=55296&&i<=56319&&e.length>n+1){const t=e.charCodeAt(n+1);t>=56320&&t<=57343&&(n++,i=(i-55296<<10)+t-56320+65536)}i<=127?t.push(i):i<=2047?t.push(i>>6&31|192,63&i|128):i<=65535?t.push(i>>12|224,i>>6&63|128,63&i|128):i<=2097151&&t.push(i>>18&7|240,i>>12&63|128,i>>6&63|128,63&i|128)}return t}(e);let n=Ue(t,0),i=Ue(t,102072);return 0!=n||0!=i&&1!=i||(n^=319790063,i^=-1801410264),[n,i]}function Ue(e,t){let n,i=2654435769,r=2654435769;const o=e.length;for(n=0;n+12<=o;n+=12){i=Ge(i,qe(e,n,Qe.Little)),r=Ge(r,qe(e,n+4,Qe.Little));const o=$e(i,r,t=Ge(t,qe(e,n+8,Qe.Little)));i=o[0],r=o[1],t=o[2]}return i=Ge(i,qe(e,n,Qe.Little)),r=Ge(r,qe(e,n+4,Qe.Little)),t=Ge(t,o),$e(i,r,t=Ge(t,qe(e,n+8,Qe.Little)<<8))[2]}function $e(e,t,n){return e=Ke(e,t),e=Ke(e,n),e^=n>>>13,t=Ke(t,n),t=Ke(t,e),t^=e<<8,n=Ke(n,e),n=Ke(n,t),n^=t>>>13,e=Ke(e,t),e=Ke(e,n),e^=n>>>12,t=Ke(t,n),t=Ke(t,e),t^=e<<16,n=Ke(n,e),n=Ke(n,t),n^=t>>>5,e=Ke(e,t),e=Ke(e,n),e^=n>>>3,t=Ke(t,n),t=Ke(t,e),t^=e<<10,n=Ke(n,e),n=Ke(n,t),[e,t,n^=t>>>15]}var Qe=function(e){return e[e.Little=0]="Little",e[e.Big=1]="Big",e}({});function Ge(e,t){return Ye(e,t)[1]}function Ye(e,t){const n=(65535&e)+(65535&t),i=(e>>>16)+(t>>>16)+(n>>>16);return[i>>>16,i<<16|65535&n]}function Ke(e,t){const n=(65535&e)-(65535&t);return(e>>16)-(t>>16)+(n>>16)<<16|65535&n}function Xe(e,t){return t>=e.length?0:e[t]}function qe(e,t,n){let i=0;if(n===Qe.Big)for(let r=0;r<4;r++)i+=Xe(e,t+r)<<24-8*r;else for(let r=0;r<4;r++)i+=Xe(e,t+r)<<8*r;return i}const Je=new We(256);function Ze(e,t){if(":"!==t.charAt(0))return{text:e};{const n=function(e,t){for(let n=1,i=1;n0?` [${e.legacyIds.map(e=>`"${e}"`).join(", ")}]`:"";return`"${e.id}"${n} ("${e.text}"${t})`}function it(e,t){try{return function(e,t,n){const i=function(e,t,n,i,r=[]){const o={},s={},a=function(e,t){const{text:n,block:i}=Ze(e,t);if(void 0===i)return{text:n};{const[e,...t]=i.split("\u241f"),[r,o]=e.split("@@",2);let[s,a]=r.split("|",2);return void 0===a&&(a=s,s=void 0),""===a&&(a=void 0),{text:n,meaning:s,description:a,customId:o,legacyIds:t}}}(e[0],e.raw[0]),c=[a.text],l=[];let u=a.text;for(let p=1;p>>31,i<<1|n>>>31]}(n),e)}return function(e,t){const n=Je.toThePowerOf(0).multiplyBy(t);return Je.toThePowerOf(4).multiplyByAndAddTo(e,n),n.toString()}(2147483647&n[0],n[1])}(u,a.meaning||""),h=a.legacyIds?a.legacyIds.filter(e=>e!==d):[];return{id:d,legacyIds:h,substitutions:o,substitutionLocations:s,text:u,customId:a.customId,meaning:a.meaning||"",description:a.description||"",messageParts:c,messagePartLocations:i,placeholderNames:l,location:n}}(t,n);let r=e[i.id];if(void 0!==i.legacyIds)for(let o=0;o{if(i.substitutions.hasOwnProperty(e))return i.substitutions[e];throw new Error(`There is a placeholder name mismatch with the translation provided for the message ${nt(i)}.\nThe translation contains a placeholder with name ${e}, which does not exist in the message.`)})]}($localize.TRANSLATIONS,e,t)}catch(n){return console.warn(n.message),[e,t]}}const rt={rules:[],noticeIfCrossSite:!1,initialized:!1};var ot=n("B7ZD");class st{static getApplicationLocale(){if(!st.C_locale){let e=null;if(document.cookie){const t=`${ie.localeCookieName||"dida-locale"}=`,n=document.cookie.split("; ").filter(e=>e.startsWith(t));if(n.length>0){const t=n[0].split("=");e=t[t.length-1]}}const t=document.locale||e||"zh-CN";st.C_locale=document.locale=this.normalize(t)}return st.C_locale}static normalize(e){return Object(ot.e)(e)}}class at{static extractApplicationRouteRules(e){let t=[];return e&&(t=e.map(e=>{const t={pattern:e.Pattern,mode:e.Mode,matchNegative:e.MatchNegative,isExternal:!!e.IsExternal};return"regex"===e.Type&&(t.pattern=new RegExp(e.Pattern,"i")),t})),t=t.sort((e,t)=>e.isExternal===t.isExternal?0:e.isExternal>t.isExternal?-1:1),t}}const ct={"zh-CN":Ne.a,"en-US":_e.a,"ja-JP":De.a,"id-ID":Pe.a,"ar-AE":we.a,"es-ES":xe.a,"ko-KR":Ie.a,"fr-FR":Te.a,"ru-RU":Ve.a,"pt-BR":Re.a},lt=new r.r("dida-assets-base"),ut="@ViewBag.";function dt(e){var t,i,o;const s=e.appEnv,a=document.OldSiteHost,c=document.WebStaticContentHost,l=document.WebStaticAssetsBase,u=document.ApiServiceHost,d=document.CookieName_Locale,h=document.__VERSION__;let p=document.Host_Protocal;const f=document.SITE_ROUTES,g=document.GoogleMapAPIHost,b=document.GoogleMapAPIKey;re.buildNumber=h,s.proxyEnabled&&(ie.proxyEnabled=!0),s.ignoreBuildNumber&&(ie.ignoreBuildNumber=!0),s.localDebug&&(ie.localDebug=!0),(null==p||p.indexOf(ut)>=0)&&(p="http://"),null!=c&&-1===c.indexOf(ut)&&n.p&&(n.p=n.p.replace("@ViewBag.WebStaticContentHost",c)),ie.webPublicPath=n.p,null!=l&&-1===l.indexOf(ut)&&(ie.assetsBase=l),null!=u&&-1===u.indexOf(ut)?ie.serviceEndPoint=`${p}${u}`:s.service&&s.service.endpoint&&(ie.serviceEndPoint=s.service.endpoint),null!=a&&-1===a.indexOf(ut)?ie.oldSiteUrl=`${a}`:s.oldSite&&(ie.oldSiteUrl=s.oldSite),ie.localeCookieName=null!=d&&-1===d.indexOf(ut)?d:s.localeCookieName||"dida-locale",ie.googleMapSetting.ApiHost=null!=g&&-1===g.indexOf(ut)?g:null===(t=s.googleMap)||void 0===t?void 0:t.apiHost,ie.googleMapSetting.JavaScriptMap.ApiKey=null!=b&&-1===g.indexOf(ut)?b:null===(i=s.googleMap)||void 0===i?void 0:i.apiKey,ie.enableLoginModal=!!s.localDebug;const m=st.getApplicationLocale(),y=[{provide:r.v,useValue:m}],v=null!==(o=ct[m])&&void 0!==o?o:_e.a;s.production?Object(r.U)():e.translationResolver&&e.translationResolver(m).then(e=>{var t;t=e,$localize.translate||($localize.translate=it),$localize.TRANSLATIONS||($localize.TRANSLATIONS={}),Object.keys(t).forEach(e=>{$localize.TRANSLATIONS[e]=function(e){const t=e.split(/{\$([^}]*)}/),n=[t[0]],i=[];for(let a=1;a":"===e.charAt(0)?"\\"+e:e);return{text:e,messageParts:(o=n,s=r,Object.defineProperty(o,"raw",{value:s}),o),placeholderNames:i};var o,s}(t[e])})},e=>{console.warn(e)}),y.push({provide:lt,useValue:ie.assetsBase||e.appEnv.assetsBase}),Object(ae.C)(v,m.substr(0,2)),window.document.documentElement.lang=m;let C=null;if("#SiteRouteJson#"!==f)try{C=JSON.parse(f)}catch(_){console.error(`invalid site route json: '${f}'`)}else try{C=e.siteRouteJsonResolver()}catch(_){console.error(`invalid site route json: '${f}'`)}if(null!=C){const e=at.extractApplicationRouteRules(C);rt.rules.unshift(...e),rt.initialized=!0}rt.noticeIfCrossSite=s.localDebug&&!s.ignoreCrossSiteNoticeWhileDebug;const w={providers:y,defaultEncapsulation:r.S.Emulated,preserveWhitespaces:!0,missingTranslation:r.w.Ignore};console.log(ie);const S=e.boosterBuilder(w);return S.then(()=>{console.log("application started!")},e=>{console.error(e)}),S}const ht="/assets/";let pt=(()=>{class e{constructor(e){this.assetsBase=e}intercept(e,t){return e.url.startsWith(ht)&&this.assetsBase?(e=e.clone({url:e.url.replace(ht,this.assetsBase)}),t.handle(e)):((e=e.clone({withCredentials:!0})).url.startsWith("/")&&ie.serviceEndPoint&&(e=e.clone({url:`${ie.serviceEndPoint}${e.url}`})),t.handle(e))}}return e.\u0275fac=function(t){return new(t||e)(r.hc(lt))},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac}),e})();var ft=function(e){return e[e.HTTP=0]="HTTP",e[e.HTTPS=1]="HTTPS",e}({});const gt="https:"===window.location.href.split("/")[0]?ft.HTTPS:ft.HTTP;class bt{static navigateTo(e,t=!1,n=null){const i=bt.constructActualExternalUrl(e,n);t?window.open(i,"_blank"):window.location.href=i}static constructActualExternalUrl(e,t=null){let n=e;return n.startsWith("/")&&(ie.oldSiteUrl?(null==t&&(t=gt),n=t===ft.HTTP?`http://${ie.oldSiteUrl}${n}`:t===ft.HTTPS?`https://${ie.oldSiteUrl}${n}`:`${ie.oldSiteUrl}${n}`):n="/Api"+n),n}}class mt{static getComputedRouteData(e,t=[]){return e.data&&t.push(e.data),e.parent&&mt.getComputedRouteData(e.parent,t),Object.assign({},...t.reverse())}}const yt={autoParseDate:!1,autoParseNumber:!1,autoParseBoolean:!1},vt=/\[(\d*)\]$/i,Ct=/^(\d{4})-(\d{1,2})-(\d{1,2})([T\s]{1}(\d{1,2}(:\d{1,2}){2}){0,1}){0,1}$/i,wt=/^true|false$/i;class St{static toQueryString(e){return Object.keys(e).map(t=>`${t}=${e[t]}`).join("&")}static serialize(e,t=null){null!=t&&t(e=W.k.clone(e));const n=he.buildHttpParams(e),i={};return n.keys().forEach(e=>{i[e]=n.get(e)}),i}static deserialize(e,t,n){const i=new t;return St.deserializeInto(e,i,n),i}static deserializeInto(e,t,n){n=n||yt,e.keys.forEach(i=>{const r=St.pathBuilder(i),o=e.get(i);St.populateValue(r,t,o,n)})}static populateValue(e,t,n,i){const r=e[0];if(void 0===t[r.stroke]&&(t[r.stroke]=r.isArrayItem?[]:{}),e.length>1){const o=e.slice(1);St.populateValue(o,t[r.stroke],n,i)}else{let e=!1;if(i.autoParseNumber&&"string"==typeof n){const t=n.trim();""!==t&&!isNaN(t)&&n.length<14&&(n=-1===t.indexOf(".")?parseInt(n,10):parseFloat(n),e=!0)}if(!e&&i.autoParseDate&&Ct.test(n)){const t=Ct.exec(n),i=parseInt(t[1],10),r=parseInt(t[2],10)-1,o=parseInt(t[3],10);n=new Date(i,r,o),e=!0}!e&&i.autoParseBoolean&&wt.test(n)&&(n=/^true$/i.test(n),e=!0),r.isArrayItem?t[r.stroke].push(n):t[r.stroke]=n}}static pathBuilder(e){let t=[];return t=e.split(".").map(e=>{const t={};if(vt.test(e)){const n=vt.exec(e);t.stroke=e.substring(0,n.index),t.index=null,""!==n[1]&&(t.index=parseInt(n[1],10)),t.isArrayItem=!0}else t.stroke=e;return t}),t}}var _t=new class extends o.a{constructor(){super("SiteRouteService")}getApplicationRouteConfig(e){return this.httpClientWrapper.get("/ApplicationContextApi/GetApplicationRoute",{appName:e})}},Ot=n("pLZG");const xt=new r.r("DIDA_APP_NAME"),zt=new r.r("DIDA_APP_DEFAULT_ROUTE_PATH");function Tt(e,t,n,i,r=!1){const o=function(e,t,n=!1){const i=e.toUpperCase().split("?")[0],r=[],o={isMatch:!0,reloadingTriggered:!1,routeToDefaultPath:!1};let s=!1;for(const c of t)try{if(s=kt(i,c),s){c.isExternal&&(s=!1);break}}catch(a){r.push(c)}if(r.length>0)throw console.error("unknown rules detected. stop processing.",r),Error("unknown rules detected.");if(!s)if(o.isMatch=!1,rt.noticeIfCrossSite){if(!n){const t={main:4200,booking:4201,account:4202,home:4203,hotel:4205,marketing:4204,package:4206}[e.split("/")[1]],n=!!t;let i=e,r=` Please copy the url to another application: ${i}.`,s=" Press \u2018OK\u2019 to stay on current route.",a=" Press \u2018Cancel\u2019 to navigate to the application default path.";n&&(i=`${window.location.protocol}//${window.location.hostname}:${t}${e}`,r=` You will be navigated to another application: ${i} [NEW TAB]. Make sure the application already started. `,s=" Press \u2018OK\u2019 to continue navigation;",a=" Press \u2018Cancel\u2019 to stay on the current route;"),confirm("Cross site routing detected!"+r+s+a)?n&&window.open(i):n||(o.routeToDefaultPath=!0)}}else window.top.location.href=`${window.location.origin}${e}`,o.reloadingTriggered=!0;return o}(e,t,r);if(!o.isMatch){if(r)o.reloadingTriggered||n.navigateByUrl("/");else{const e=window.top.location.origin;let t=i,r=!1;o.routeToDefaultPath||(t=window.top.location.href.replace(e,""),console.log("cross routing not match and do not route to default path: ",{appDefaultPath:i,targetPath:t}),r=!0),"/"!==t&&""!==t&&n.navigateByUrl(t,{skipLocationChange:r})}return!1}return!0}function kt(e,t){let n=!1;if("string"==typeof t.pattern)"**"===t.pattern?n=!0:"partial-match"===t.mode?e.indexOf(t.pattern.toUpperCase())>=0&&(n=!0):e===t.pattern.toUpperCase()&&(n=!0);else{if(!(t.pattern instanceof RegExp))throw new Error("unknown rule pattern");t.pattern.test(e)&&(n=!0)}return t.matchNegative?!n:n}const Pt={provide:r.d,useFactory:(e,t,n)=>()=>{const i=n.get(se.g);return new ne.a(t=>{rt.initialized?(t.next(!0),t.complete()):be(_t.getApplicationRouteConfig(e)).subscribe({next:e=>{const n=at.extractApplicationRouteRules(e&&e.Rules);rt.initialized=!0,rt.rules.unshift(...n),t.next(!0)},error:n=>{const i={message:`failed to get app site route config for application: ${e}`,error:n};t.error(i),console.error(i.message,n)}}).add(()=>{console.log("[Dida_App_Routing_Provider]: finished setting routes",rt),t.complete()})}).toPromise().then(()=>{const e=i.getCurrentNavigation(),{rules:n}=rt;e&&Tt(e.extractedUrl.toString(),n,i,t,!0),function(e,t,n){let i=null;e.events.pipe(Object(Ot.a)(e=>e instanceof se.e||e instanceof se.m)).subscribe(r=>{const o=window.location.pathname;let s=r.url,a=!0;r instanceof se.e?(console.log(`[didaCrossApplicationRoutingControl]: navigation: ${r.url}, current: ${o}`),i=r.url):r instanceof se.m&&(s=r.urlAfterRedirects||r.url,i===s&&(a=!1)),a&&Tt(s,t,e,n)})}(i,n,t)},e=>{})},deps:[xt,zt,r.s],multi:!0};let Et=(()=>{class e{constructor(e,t,n){this.appName=e,this.locale=t,this.appEventHub=n}get isContextValid(){return this._ctxValidTimeForRouting&&this._ctxValidTimeForRouting>new Date}get context(){return Z.context}get storage(){return Z}switchLanguage(e){let t=!1;be(this.context&&this.context.userIdentityInfo&&this.context.userIdentityInfo.isAuthenticated?X.updateLanguageSetting(e):B.g.switchLanguage(e)).subscribe({next:()=>{t=!0},error:e=>{console.error(e)}}).add(()=>{t&&(Z.context&&(Z.context.lang=e),window.location.reload())})}updateCurrencySetting(e){return be(X.updateCurrencySetting(e)).pipe(Object(ue.a)(e=>(Z.context.currencyInfo=e,this.appEventHub.broadcast(new _(e,"[ApplicationService::updateCurrencySetting]",new Date)),e)))}reloadContext(){return be(B.g.getContext(this.appName,this.updateApplicationContext.bind(this)))}reloadUserPointsAccount(e=!1){return be(X.getUserPointsAccount(e)).pipe(Object(ue.a)(e=>(Z.context.userPointAccountInfo=e,e)))}reloadClientInfo(){return be(U.getClientInfo(!0)).pipe(Object(ue.a)(e=>(Z.userIdentityInfo.clientInfo=e,this.appEventHub.broadcast(new z(e,"[ApplicationService::reloadClientInfo]",new Date)),e)))}updateApplicationContext(e){var t,n,i,r,o,s;const a=Z.set(e,this.locale);if(this._ctxValidTimeForRouting=W.f.addSeconds(new Date,10),a.authInfoChanged){const a=new Set(null!==(i=null===(n=null===(t=null==e?void 0:e.userIdentityInfo)||void 0===t?void 0:t.authInfo)||void 0===n?void 0:n.pvlgs)&&void 0!==i?i:[]),c=new Set(null!==(s=null===(o=null===(r=null==e?void 0:e.userIdentityInfo)||void 0===r?void 0:r.authInfo)||void 0===o?void 0:o.roles)&&void 0!==s?s:[]);this.appEventHub.broadcast(new P(a,c,"[ApplicationService::updateApplicationContext]",new Date))}if(a.experimentChanged&&this.appEventHub.broadcast(new T(e&&e.rolledOutExperiments,e&&e.userExperiments,e&&e.clientExperiments,"[ApplicationService::updateApplicationContext]",new Date)),ie.ignoreBuildNumber||null==e.fe_version||null==re.buildNumber||re.buildNumber===e.fe_version||e.fe_deploying||!e.fe_reload){a.langChanged&&this.appEventHub.broadcast(new x(e&&e.lang,"[ApplicationService::preProcessApplicationContext]",new Date));try{a.currencyChanged&&this.appEventHub.broadcast(new _(e&&e.currencyInfo,"[ApplicationService::preProcessApplicationContext]",new Date)),a.success&&this.appEventHub.broadcast(new O(e,"[ApplicationService::preProcessApplicationContext]",new Date))}catch(c){}}else window.top.location.reload()}expireApplicationContextValidTimeForRoute(){this._ctxValidTimeForRouting=W.f.addSeconds(new Date,-1e3)}}return e.\u0275fac=function(t){return new(t||e)(r.hc(xt),r.hc(r.v),r.hc(l))},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var Dt=n("wQXg");let Mt=(()=>{class e extends Dt.b{constructor(e){super(e),this.angulartics2_=e}eventTrack(e,t){t&&t.category||((t=t||{}).category="Event",t.label="default",t.value="default"),"undefined"!=typeof _hmt&&_hmt&&_hmt.push(["_trackEvent",t.category,e,t.label,t.value])}track(e){this.eventTrack(e.action.toString(),{category:e.category,label:e.label,value:e.value,noninteraction:e.noninteraction,hitCallback:e.callback,page:e.page}),"function"==typeof e.callback&&window.setTimeout(()=>{e.callback()},50)}setUsername(e){console.error("Should not call 'setUsername', use 'setUserInfo' instead.")}setUserProperties(e){_hmt.push(["_setCustomVar",3,"userprop",JSON.stringify(e)])}setUserInfo(e,t){_hmt.push(["_setCustomVar",1,"identity",e]),null!=t&&_hmt.push(["_setCustomVar",2,"client",t])}}return e.\u0275fac=function(t){return new(t||e)(r.hc(Dt.a))},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac}),e})();var It=n("mrSG");let At=(()=>{class e{constructor(){}startTracking(){}track(e){const{action:t,label:n,category:i,value:r,callback:o}=e,s=Object(It.d)(e,["action","label","category","value","callback"]);gtag("event",t,Object.assign({event_label:n,event_category:i,value:r,event_callback:o},s))}setUserInfo(e,t,n,i){gtag("config",document.GoogleAnalytics4ID,{user_id:e,user_properties:{client_id:t,client_type:n,is_test:i}})}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac}),e})(),Rt=(()=>{class e{constructor(e,t,n,i,r){this.angulartics2=e,this.googleAnalytics4=t,this.baiduAnalyticsProvider=n,this.router=i,this.location=r,this.currentPage="",this.googleAnalytics4.startTracking(),this.baiduAnalyticsProvider.startTracking(),i.events.pipe(Object(Ot.a)(e=>e instanceof se.c),Object(Ot.a)(()=>!this.angulartics2.settings.developerMode)).subscribe(e=>{const t=this.getPagePath(e.urlAfterRedirects);this.currentPage=this.angulartics2.settings.pageTracking.basePath.length?this.angulartics2.settings.pageTracking.basePath+t:this.location.prepareExternalUrl(t)})}initUserSession(e,t,n,i){try{this.googleAnalytics4.setUserInfo(e,t,n,i),this.baiduAnalyticsProvider.setUserInfo(e,t),localStorage.setItem("UserProperties",[e,t,n,Number(i)].join("|"))}catch(r){console.error("init user session failed.",r)}}trackEvent(e){try{null==e.page&&(e.page=this.currentPage),this.googleAnalytics4.track(e),this.baiduAnalyticsProvider.track(e)}catch(t){console.error("track event failed.",t)}}getPagePath(e){return this.angulartics2.settings.pageTracking.clearIds||this.angulartics2.settings.pageTracking.clearQueryParams?e.split("/").map(e=>this.angulartics2.settings.pageTracking.clearQueryParams?e.split("?")[0]:e).filter(e=>!this.angulartics2.settings.pageTracking.clearIds||!e.match(this.angulartics2.settings.pageTracking.idsRegExp)).join("/"):e}}return e.\u0275fac=function(t){return new(t||e)(r.hc(Dt.a),r.hc(At),r.hc(Mt),r.hc(se.g),r.hc(ae.k))},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),jt=0;const Vt=new r.r("DIDA_AUTH_MODAL_TRIGGER");let Lt=(()=>{class e{constructor(e,t,n,i,r){this.router=e,this.bmService=t,this.appService=n,this.locale=i,this.authModalTrigger=r}canActivateChild(e,t){return this.canActivate(e,t)}canActivate(e,t){const n=t.url,{redirectInWechat:i=null,redirectInMobile:r=null,condition:o=null}=e.data||{};return ne.a.create(i=>{this.appService.isContextValid?this.handle(this.appService.context,e.data,n,i):this.handleAuthorizeInfo(i,e,t)})}canLoad(e){const t=e.path;return ne.a.create(n=>{this.appService.isContextValid?this.handle(this.appService.context,e.data,t,n):this.handleAuthorizeInfo(n,null,null,e)})}handleAuthorizeInfo(e,t,n,i){const r=null!=i?i.path:n.url,o=null!=i?i.data:t.data;this.appService.reloadContext().subscribe({next:t=>{if(Z.userIdentityInfo.isAuthenticated){const e=Z.clientInfo;let t=null,n=null,i=null;e&&(t=e.ClientID,n=e.IsTestAccount,i=W.e.ClientGroupDomainEnum[Z.clientInfo.ClientGroupDomainID]),this.bmService.initUserSession(Z.userProfile.UserName,t,i,n)}this.handle(t,o,r,e)},error:t=>{Z.set(null),t.networkErr?jt++:jt=0,jt>3?this.router.navigateByUrl("/error"):this.postProcess(oe.NotLogin,e,r)}})}handle(e,t,n,i){const{condition:r=null,ignoreAccountLocked:o=!1,experimentCtrl:s=null,langRestriction:a=null}=t||{};let c=this.checkCondition(r,e,o);if(c===oe.None&&e&&e.userIdentityInfo&&e.userIdentityInfo.securityInfo){const{pwd_sl:t}=e.userIdentityInfo.securityInfo;if((t===B.a.FIRST_TIME_RESET_REQUIRED||t===B.a.RESET_REQUIRED)&&!(n.endsWith("/account/manage?action=reset-password")||n.startsWith("/account/reset-password")||n.startsWith("/account/email-confirm")||n.startsWith("/account/find-password")))return void(window.top.location.href=window.top.location.origin+"/account/manage?action=reset-password")}if(c===oe.None&&this.appService.context){if(this.locale!==e.lang)return void(window.top.location.href=n);if(!ie.ignoreBuildNumber&&null!=e.fe_version&&null!=re.buildNumber&&re.buildNumber!==e.fe_version&&(console.warn(`[version] version is not match. cur: ${re.buildNumber}, live: ${e.fe_version}.`),!e.fe_deploying&&e.fe_reload))return console.warn("[version] reloading for live version."),void(window.top.location.href=n)}c===oe.None&&s&&!H.b.isAllowControl(s,Z)&&(c=oe.PermissionDenied),c===oe.None&&a&&!this.checkLanguages(a,e)&&(c=oe.LanguageNotSupported),this.postProcess(c,i,n)}checkCondition(e,t,n){var i;if(null==e)return oe.None;const{profile:o,clientInfo:s,isAuthenticated:a,authInfo:c}=t.userIdentityInfo,l=(null===(i=e.permissions)||void 0===i?void 0:i.length)>0;if(e.needAuth||l){if(!a)return oe.NotLogin;if(!n){if(s&&s.Status===$.Locked)return oe.AccountLocked;if(o.Status===Q.Locked)return oe.AccountLocked}if(!c.ied&&l){const t=this.appService.storage.iamInfo;if(!t)return oe.PermissionDenied;if(0===e.permissions.filter(e=>t.privileges.has(e)).length)return oe.PermissionDenied}}if(e.devOnly){if(!Object(r.X)())return oe.RestrictedDevModeOnly;if(e.devClients&&-1===e.devClients.indexOf(s.ClientID))return oe.RestrictedDevModeOnly}return!e.needClientInfo||s&&s.Status===$.Active?!e.needConfirmedEmail||o&&o.EmailConfirmed?!e.mainAccountOnly||o&&"string"!=typeof o.ParentUserID?oe.None:oe.PermissionDenied:o.Status===Q.ClientInfoProcessing?oe.ClientRegistering:oe.EmailUnconfirmed:oe.ClientRegistering}checkLanguages(e,t){return e.indexOf(t.lang)>-1}postProcess(e,t,n){const i=this.getReturnUrl();switch(t.next(e===oe.None),t.complete(),e){case oe.NotLogin:return this.detectShowLoginModal(n,oe.NotLogin)?void 0:void(window.location.href=i);case oe.ClientRegistering:return this.detectShowLoginModal(n,oe.ClientRegistering)?void 0:this.router.navigateByUrl("/account/register");case oe.AccountLocked:return this.detectShowLoginModal(n,oe.AccountLocked)?void 0:this.router.navigateByUrl("/account/manage");case oe.EmailUnconfirmed:return this.router.navigateByUrl("/account/email-confirm");case oe.PermissionDenied:return this.router.navigateByUrl("/error/403");case oe.LanguageNotSupported:return this.router.navigateByUrl("/error/404",{replaceUrl:!0});case oe.RestrictedDevModeOnly:return this.router.navigateByUrl("/home",{replaceUrl:!0})}}detectShowLoginModal(e,t){return!(!ie.enableLoginModal||!this.authModalTrigger||(this.appService.expireApplicationContextValidTimeForRoute(),this.authModalTrigger(e,t),0))}getReturnUrl(){const e=location.search,t=e.indexOf("returnUrl=");let n=null;return t>=0&&(n=decodeURIComponent(e.substring(t).split("&")[0].replace("returnUrl=",""))),`/account/login?returnUrl=${encodeURIComponent(n||location.href)}`}redirect(e,t,n){return e.next(!1),e.complete(),this.router.navigate([t],{queryParams:n})}}return e.\u0275fac=function(t){return new(t||e)(r.hc(se.g),r.hc(Rt),r.hc(Et),r.hc(r.v),r.hc(Vt,8))},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac}),e})(),Nt=(()=>{class e{canDeactivate(e,t){return!e.canDeactivate||e.canDeactivate()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Ft=(()=>{class e{constructor(e){if(e)throw new Error("NgxDidaGuardsModule has already been loaded. Import NgxDidaGuardsModule in the AppModule only,")}}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)(r.hc(e,12))},providers:[Lt,Nt],imports:[[]]}),e})();const Bt=new class extends o.a{constructor(){super("AliyunLoggerService")}sendLog(e){try{this.httpClientWrapper.post("/LoggerApi/Add",e).touch()}catch(t){}}};var Wt=function(e){return e[e.trace=0]="trace",e[e.debug=1]="debug",e[e.info=2]="info",e[e.warn=3]="warn",e[e.error=4]="error",e[e.fatal=5]="fatal",e}({});class Ht{static buildClientSiteLog(e,t,n,i=null){var r,o;let s={};if(null===(r=null==i?void 0:i.userIdentityInfo)||void 0===r?void 0:r.isAuthenticated){const e=i.userIdentityInfo;s={userInfo:{clientId:null===(o=e.clientInfo)||void 0===o?void 0:o.ClientID,userId:e.profile.UserID,userName:e.profile.UserName},userAgent:navigator.userAgent}}return{message:e,level:t,url:location.href,time:W.f.format(new Date,W.f.DEFAULT_DATE_TIME_FORMAT),stack:"",version:n,context:s}}}let Ut=(()=>{class e{constructor(e){this.appService=e,this.logs=new Map}handleError(e){try{const t=[location.href,e.message],n=Ht.buildClientSiteLog(e.message,Wt.error,re.buildNumber,this.appService.context);if(n.stack=e.stack,e.hasOwnProperty("ngDebugContext")){const i=e.ngDebugContext,r={source:i.component.constructor.name,view:i.view.component.constructor.name};t.push(r.source),n.context.component=r}const i=t.join(":");this.logs.has(i)||(this.logs.set(i,n),n.message.startsWith("[@ant-design/icons-angular]")&&n.message.endsWith("not exist or is not registered.")&&(n.level=Wt.warn),n.message.endsWith("401 Unauthorized")&&(n.level=Wt.warn),Bt.sendLog(n)),console.error(e)}catch(t){}}}return e.\u0275fac=function(t){return new(t||e)(r.hc(Et))},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var $t=n("2Vo4");let Qt=(()=>{class e{constructor(){this.contactSettingSubject=new $t.a(null),this.onlineSettingSubject=new $t.a(null),this.gsaCustomSettingSubject=new $t.a(null),this.salesRepresentativeInfoSubject=new $t.a(null),this.featureSwitchSubject=new $t.a(null),this.navbarNavLitSubject=new $t.a(null),this.loadSetting()}loadSetting(){be(U.GetCustomerServiceInfo(ie.localDebug||location.host.includes("test"))).subscribe(e=>{e.CustomSetting?this.gsaCustomSettingSubject.next(e.CustomSetting):(this.contactSettingSubject.next(e.DataEntity.EntityValue.CustomerService),this.onlineSettingSubject.next(e.DataEntity.EntityValue.CustomerService.Online),this.navbarNavLitSubject.next(e.DataEntity.EntityValue.NavbarNavList),this.salesRepresentativeInfoSubject.next(e.SalesRepresentativeInfo)),this.featureSwitchSubject.next(e.DataEntity.EntityValue.FeatureSwitch),this.featureSwitches=e.DataEntity.EntityValue.FeatureSwitch})}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var Gt=n("y6qV");class Yt{constructor(e){this.RELOAD_INTERVAL_SEC=e,console.log(`[RunnableService:${this.constructor.name}] created, with interval: ${e} (secs)`)}get started(){return this._started}get running(){return this._running}start(){this._started||(this._started=!0,this._running=!0,this.execute().add(()=>{this._running=!1,this._started&&(this._timerHandle=window.setInterval(()=>{this._running||(this._running=!0,this.execute().add(()=>{this._running=!1}))},1e3*this.RELOAD_INTERVAL_SEC))}))}stop(){this._started&&this._timerHandle&&(window.clearInterval(this._timerHandle),this._timerHandle=null,this._started=!1)}}let Kt=(()=>{class e extends Yt{constructor(t,n){super(e.CACHE_RELOAD_INTERVAL_SEC),this.messageCenterEventHub=t,this.localeId=n,this.lang=n}get unreadMessageCount(){return q.getUnreadMessageCount()}get lastCacheTime(){return q.getCacheTime()}execute(){return this.loadUnreadMessages()}isCacheValidBy(t){return t<=W.f.addSeconds(this.lastCacheTime,e.MAX_CACHE_VALID_SEC)}readMessagesById(e){return be(Gt.b.readById(e)).subscribe({next:t=>{t&&q.removeUnreadMessages(e).hasUpdated&&this.messageCenterEventHub.broadcast(new N(null,"[MessageCenterService::readMessagesById]",new Date))}})}readAllMessages(e){return be(Gt.b.readAllByCategory(e)).subscribe({next:t=>{let n=q.getUnreadMessages();if(e&&(n=n.filter(t=>t.Category===e)),n.length>0){const e=n.map(e=>e.MessageID);q.removeUnreadMessages(e).hasUpdated&&this.messageCenterEventHub.broadcast(new N(null,"[MessageCenterService::readAllMessages]",new Date))}}})}deleteMessagesById(e){return be(Gt.b.deleteListById(e)).subscribe({next:t=>{t&&q.removeUnreadMessages(e).hasUpdated&&this.messageCenterEventHub.broadcast(new N(null,"[MessageCenterService::deleteMessagesById]",new Date))}})}loadUnreadMessages(e=!1){const t=new Date;if(!e&&this.isCacheValidBy(t)){const e=new $t.a(!0);return e.next(!0),e.complete(),e.subscribe()}return be(Gt.b.getUnreadMessages(this.lang)).subscribe({next:e=>{q.setUnreadMessages(e,t).hasUpdated&&this.messageCenterEventHub.broadcast(new N(null,"[MessageCenterService::loadUnreadMessages]",new Date))}})}getUnreadMessages(){return q.getUnreadMessages()}}return e.MAX_CACHE_VALID_SEC=15,e.CACHE_RELOAD_INTERVAL_SEC=60,e.\u0275fac=function(t){return new(t||e)(r.hc(g),r.hc(r.v))},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var Xt=n("rc96");let qt=(()=>{class e extends Yt{constructor(t){super(e.CACHE_RELOAD_INTERVAL_SEC),this.campaignEventHub=t}get activeCouponCount(){return te.activeCount}get lastCacheTime(){return te.cacheTime}execute(){return this.loadUserCoupons()}isCacheValidBy(t){return t<=W.f.addSeconds(this.lastCacheTime,e.MAX_CACHE_VALID_SEC)}loadUserCoupons(e=!1){const t=new Date;if(!e&&this.isCacheValidBy(t)){const e=new $t.a(!0);return e.next(!0),e.complete(),e.subscribe()}return be(Xt.g.searchCouponByCache(!1)).subscribe({next:e=>{te.setActiveCoupons(e.CouponModels,t).hasUpdated&&this.campaignEventHub.broadcast(new D("[UserCouponService::loadUserCoupons]",new Date))},error(){}})}getActiveCoupons(){return te.getActiveCoupons()}}return e.MAX_CACHE_VALID_SEC=15,e.CACHE_RELOAD_INTERVAL_SEC=60,e.\u0275fac=function(t){return new(t||e)(r.hc(h))},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var Jt=n("3RF7");let Zt=(()=>{class e extends Yt{constructor(t){super(e.CACHE_RELOAD_INTERVAL_SEC),this.favoriteHotelEventHub=t}get loading(){return this._loading}get favoriteHotelCount(){return ee.getFavoriteHotelCount()}get lastCacheTime(){return ee.getCacheTime()}execute(){return this.loadUserFavoriteHotels()}isCacheValidBy(t){return t<=W.f.addSeconds(this.lastCacheTime,e.MAX_CACHE_VALID_SEC)}getUserFavoriteHotels(){return ee.getFavoriteHotels()}addFavoriteHotel(e){return be(Jt.b.addFavoriteHotel(e)).subscribe({next:e=>{this.updateCache(e,"[UserFavoriteHotelService::addFavoriteHotel]",new Date)}})}removeFavoriteHotel(e){return be(Jt.b.removeFavoriteHotel(e)).subscribe({next:e=>{this.updateCache(e,"[UserFavoriteHotelService::removeFavoriteHotel]",new Date)}})}isFavoriteHotel(e){return ee.isFavoriteHotel(e)}loadUserFavoriteHotels(e=!1){const t=new Date;if(!e&&this.isCacheValidBy(t)){const e=new $t.a(!0);return e.next(!0),e.complete(),e.subscribe()}return this._currentSubscription||(this._loading=!0,this._currentSubscription=be(Jt.b.getFavoriteHotels()).subscribe({next:e=>{this.updateCache(e,"[UserFavoriteHotelService::loadUserFavoriteHotels]",new Date),this._currentSubscription=null}}).add(()=>{this._loading=!1})),this._currentSubscription}updateCache(e,t,n){ee.setFavoriteHotels(e,n).hasUpdated&&this.favoriteHotelEventHub.broadcast(new A("[UserFavoriteHotelService::loadUserFavoriteHotels]",new Date))}}return e.MAX_CACHE_VALID_SEC=60,e.CACHE_RELOAD_INTERVAL_SEC=60,e.\u0275fac=function(t){return new(t||e)(r.hc(p))},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var en=function(e){return e[e.MessageCenterService=0]="MessageCenterService",e[e.UserFavoriteHotelService=1]="UserFavoriteHotelService",e[e.UserCouponService=2]="UserCouponService",e}({});let tn=(()=>{class e{constructor(e){if(e)throw new Error("NgxDidaMessagesModule has already been loaded. Import NgxDidaMessagesModule in the AppModule only,")}static forRoot(...t){const n=t.map(e=>{switch(e){case en.MessageCenterService:return Kt;case en.UserFavoriteHotelService:return Zt;case en.UserCouponService:return qt}});return{ngModule:e,providers:n.filter(e=>null===e)}}}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)(r.hc(e,12))},imports:[[F]]}),e})();var nn=n("jtHE");let rn=(()=>{class e{constructor(){this.onDetect=new nn.a(1)}trigger(e){console.log("FeatureGuideService",e),this.onDetect.next()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();n("LRne"),n("JIr8");const on=["roman_test","exia_test","Hikari_test","liyingtest","adam_test"];let sn=(()=>{class e{constructor(){this.subscriptions={},this.destroySignal$=new s.a,this._instanceId=e._instanceCount++,console.debug(`[AbstractComponentBase] Component Created: ${this.constructor.name}`,this)}get instanceId(){return this._instanceId}ngOnInit(){console.debug(`[ngOnInit]:${this.constructor.name}`)}ngOnDestroy(){if(console.debug(`[ngOnDestroy]:${this.constructor.name}`),this.destroySignal$.next(!0),this.subscriptions)for(const e in this.subscriptions)if(this.subscriptions.hasOwnProperty(e)){const t=this.subscriptions[e];t&&t.unsubscribe()}}}return e._instanceCount=0,e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r.Lb({type:e}),e})(),an=(()=>{class e extends sn{constructor(){super(),this.ServiceConfig=ie,this.AppVersion=re,this.ExperimentID=H.c,this.ExperimentControls=H.a,this.Permission=B.c,this.ErrorCode=W.g,this.isDev=Object(r.X)(),this.isCN=this.lang===ot.d.zh_CN,this.isLoading=!0,this.isUploading=!0}get lang(){return st.getApplicationLocale()}get langCode(){return this.lang}getExternalUrl(e){return bt.constructActualExternalUrl(e)}goToAnchor(e,t=0){let n=document.querySelector(`#${e}`);if(n){let e=-t;do{e+=n.offsetTop,n=n.offsetParent}while(n.offsetParent===document.body);document.documentElement.scrollTo({behavior:"smooth",left:0,top:e})}}getSiteLogoIcon(){let e=st.normalize(this.lang).substr(0,2);return"zh"!==e&&(e="en"),`nd:logo-${e}`}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r.Lb({type:e,features:[r.zb]}),e})(),cn=(()=>{class e extends an{constructor(e=Z){if(super(),this.ctxStorage=e,!e)throw new Error("ctxStorage is required!")}get appContext(){return this.ctxStorage.context}get userIdentity(){return this.ctxStorage.userIdentityInfo}get userProfile(){return this.ctxStorage.userProfile}get clientInfo(){return this.ctxStorage.clientInfo}get gsaInfo(){return this.ctxStorage.gsaInfo}get hasSubAgency(){var e;return(null===(e=this.ctxStorage.gsaInfo)||void 0===e?void 0:e.AgencyInfo.MaxNodeDepth)>0}get gsaFinanceAccount(){var e;return null===(e=this.ctxStorage.gsaInfo)||void 0===e?void 0:e.FinanceAccounts[0]}get currencyInfo(){return this.ctxStorage.currencyInfo}get hasUserLogin(){return this.userIdentity&&this.userIdentity.isAuthenticated}get userPointInfo(){return this.appContext&&this.appContext.userPointAccountInfo}get isDevClient(){return this.clientInfo&&on.indexOf(this.clientInfo.ClientID)>=0}isAllowControl(e){return H.b.isAllowControl(e,this.ctxStorage)}hasAnyExperiments(e){return H.b.hasAnyExperiments(e,this.ctxStorage)}isAllowAccess(e){var t;return!!(null===(t=this.ctxStorage)||void 0===t?void 0:t.iamInfo)&&B.b.isAllowAccess(e,this.ctxStorage.iamInfo)}}return e.\u0275fac=function(e){r.kc()},e.\u0275dir=r.Lb({type:e,features:[r.zb]}),e})(),ln=(()=>{class e extends cn{constructor(e,t){super(),this.router=e,this.route=t,this.initApplicationStates()}initApplicationStates(){this.routeData$=new $t.a(this.route.snapshot.data||{}),this.pageNavigated$=new $t.a(!1);let e=!1;this.subscriptions.routeDataSubscription=this.router.events.subscribe(t=>{if(t instanceof se.b&&!e){const n=mt.getComputedRouteData(t.snapshot);this.routeData$.next(n),this.pageNavigated$.next(!0),e=!0}else t instanceof se.c&&(e=!1)})}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(se.g),r.Qb(se.a))},e.\u0275dir=r.Lb({type:e,features:[r.zb]}),e})();n("3Pt+"),n("PqYM"),n("Kj3r"),n("eIep"),n("SxV6");let un=(()=>{class e{constructor(e,t){if(this.wrapper=t,e)throw new Error("NgxDidaSiteCoreModule has already been loaded. Import NgxDidaSiteCoreModule in the AppModule only.");console.log("[NgxDidaSiteCoreModule] Set the default service http client wrapper to:",t),o.a.DEFAULT_SERVICE_HTTP_CLIENT_WRAPPER=t}static forRoot(t){return{ngModule:e,providers:[...(n=t.appName,o=t.defaultPath,[{provide:xt,useValue:n},{provide:zt,useValue:o},Pt]),{provide:r.m,useClass:Ut},{provide:i.a,useClass:pt,multi:!0},{provide:i.a,useClass:ve,multi:!0}]};var n,o}}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)(r.hc(e,12),r.hc(ge))},providers:[],imports:[[],ye,F,Ft,tn]}),e})()},tdLY:function(e,t,n){var i,r,o;!function(s){if("object"==typeof e.exports){var a=s(0,t);void 0!==a&&(e.exports=a)}else r=[n,t],void 0===(o="function"==typeof(i=s)?i.apply(t,r):i)||(e.exports=o)}(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=void 0;t.default=["id",[["AM","PM"],n,n],n,[["M","S","S","R","K","J","S"],["Min","Sen","Sel","Rab","Kam","Jum","Sab"],["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"],["Min","Sen","Sel","Rab","Kam","Jum","Sab"]],n,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Agu","Sep","Okt","Nov","Des"],["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"]],n,[["SM","M"],n,["Sebelum Masehi","Masehi"]],0,[6,0],["dd/MM/yy","d MMM y","d MMMM y","EEEE, dd MMMM y"],["HH.mm","HH.mm.ss","HH.mm.ss z","HH.mm.ss zzzz"],["{1} {0}",n,n,n],[",",".",";","%","+","-","E","\xd7","\u2030","\u221e","NaN","."],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"IDR","Rp","Rupiah Indonesia",{AUD:["AU$","$"],IDR:["Rp"],INR:["Rs","\u20b9"],JPY:["JP\xa5","\xa5"],THB:["\u0e3f"],TWD:["NT$"],USD:["US$","$"],XXX:[]},"ltr",function(e){return 5}]})},te4A:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var i=n("U8d7"),r=n("fXoL"),o=n("jhN1");let s=(()=>{class e{constructor(e){this.sanitizer=e}transform(e,t){if(!t.isDisabled&&e){const n=t.tagName?t.tagName:"span",r=t.className||"nd-text-active";if(t.keyword){const o=[];i.h.getMatchs(e,t.keyword,!0).forEach(t=>{if(t.key){const e=i.n.split(t.word,t.key,!0).map(e=>e.isKey?`<${n} class="${r}">${e.str}`:e.str).join("");o.push(e)}else o.push(t.word);e=o.join(" ")})}else e=`<${n} class="${r}">${e}`}return this.sanitizer.bypassSecurityTrustHtml(e)}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(o.b))},e.\u0275pipe=r.Pb({name:"ndHighlight",type:e,pure:!0}),e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac}),e})()},"tk/3":function(e,t,n){"use strict";n.d(t,"a",function(){return k}),n.d(t,"b",function(){return d}),n.d(t,"c",function(){return z}),n.d(t,"d",function(){return B}),n.d(t,"e",function(){return g}),n.d(t,"f",function(){return _});var i=n("fXoL"),r=n("LRne"),o=n("HDdC"),s=n("bOdf"),a=n("pLZG"),c=n("lJxs"),l=n("ofXK");class u{}class d{}class h{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?()=>{this.headers=new Map,e.split("\n").forEach(e=>{const t=e.indexOf(":");if(t>0){const n=e.slice(0,t),i=n.toLowerCase(),r=e.slice(t+1).trim();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(r):this.headers.set(i,[r])}})}:()=>{this.headers=new Map,Object.keys(e).forEach(t=>{let n=e[t];const i=t.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(i,n),this.maybeSetNormalizedName(t,i))})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();const t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,t){return this.clone({name:e,value:t,op:"a"})}set(e,t){return this.clone({name:e,value:t,op:"s"})}delete(e,t){return this.clone({name:e,value:t,op:"d"})}maybeSetNormalizedName(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}init(){this.lazyInit&&(this.lazyInit instanceof h?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(t=>{this.headers.set(t,e.headers.get(t)),this.normalizedNames.set(t,e.normalizedNames.get(t))})}clone(e){const t=new h;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof h?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([e]),t}applyUpdate(e){const t=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);const i=("a"===e.op?this.headers.get(t):void 0)||[];i.push(...n),this.headers.set(t,i);break;case"d":const r=e.value;if(r){let e=this.headers.get(t);if(!e)return;e=e.filter(e=>-1===r.indexOf(e)),0===e.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,e)}else this.headers.delete(t),this.normalizedNames.delete(t)}}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>e(this.normalizedNames.get(t),this.headers.get(t)))}}class p{encodeKey(e){return f(e)}encodeValue(e){return f(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}function f(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}class g{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new p,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(e,t){const n=new Map;return e.length>0&&e.split("&").forEach(e=>{const i=e.indexOf("="),[r,o]=-1==i?[t.decodeKey(e),""]:[t.decodeKey(e.slice(0,i)),t.decodeValue(e.slice(i+1))],s=n.get(r)||[];s.push(o),n.set(r,s)}),n}(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(t=>{const n=e.fromObject[t];this.map.set(t,Array.isArray(n)?n:[n])})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();const t=this.map.get(e);return t?t[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,t){return this.clone({param:e,value:t,op:"a"})}appendAll(e){const t=[];return Object.keys(e).forEach(n=>{const i=e[n];Array.isArray(i)?i.forEach(e=>{t.push({param:n,value:e,op:"a"})}):t.push({param:n,value:i,op:"a"})}),this.clone(t)}set(e,t){return this.clone({param:e,value:t,op:"s"})}delete(e,t){return this.clone({param:e,value:t,op:"d"})}toString(){return this.init(),this.keys().map(e=>{const t=this.encoder.encodeKey(e);return this.map.get(e).map(e=>t+"="+this.encoder.encodeValue(e)).join("&")}).filter(e=>""!==e).join("&")}clone(e){const t=new g({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(e),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":const t=("a"===e.op?this.map.get(e.param):void 0)||[];t.push(e.value),this.map.set(e.param,t);break;case"d":if(void 0===e.value){this.map.delete(e.param);break}{let t=this.map.get(e.param)||[];const n=t.indexOf(e.value);-1!==n&&t.splice(n,1),t.length>0?this.map.set(e.param,t):this.map.delete(e.param)}}}),this.cloneFrom=this.updates=null)}}function b(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function m(e){return"undefined"!=typeof Blob&&e instanceof Blob}function y(e){return"undefined"!=typeof FormData&&e instanceof FormData}class v{constructor(e,t,n,i){let r;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==n?n:null,r=i):r=n,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.params&&(this.params=r.params)),this.headers||(this.headers=new h),this.params){const e=this.params.toString();if(0===e.length)this.urlWithParams=t;else{const n=t.indexOf("?");this.urlWithParams=t+(-1===n?"?":nt.set(n,e.setHeaders[n]),a)),e.setParams&&(c=Object.keys(e.setParams).reduce((t,n)=>t.set(n,e.setParams[n]),c)),new v(t,n,r,{params:c,headers:a,reportProgress:s,responseType:i,withCredentials:o})}}var C=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}({});class w{constructor(e,t=200,n="OK"){this.headers=e.headers||new h,this.status=void 0!==e.status?e.status:t,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}}class S extends w{constructor(e={}){super(e),this.type=C.ResponseHeader}clone(e={}){return new S({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class _ extends w{constructor(e={}){super(e),this.type=C.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new _({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class O extends w{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${e.url||"(unknown url)"}`:`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}}function x(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let z=(()=>{class e{constructor(e){this.handler=e}request(e,t,n={}){let i;if(e instanceof v)i=e;else{let r,o;r=n.headers instanceof h?n.headers:new h(n.headers),n.params&&(o=n.params instanceof g?n.params:new g({fromObject:n.params})),i=new v(e,t,void 0!==n.body?n.body:null,{headers:r,params:o,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const o=Object(r.a)(i).pipe(Object(s.a)(e=>this.handler.handle(e)));if(e instanceof v||"events"===n.observe)return o;const l=o.pipe(Object(a.a)(e=>e instanceof _));switch(n.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return l.pipe(Object(c.a)(e=>{if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body}));case"blob":return l.pipe(Object(c.a)(e=>{if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body}));case"text":return l.pipe(Object(c.a)(e=>{if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body}));default:return l.pipe(Object(c.a)(e=>e.body))}case"response":return l;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(e,t={}){return this.request("DELETE",e,t)}get(e,t={}){return this.request("GET",e,t)}head(e,t={}){return this.request("HEAD",e,t)}jsonp(e,t){return this.request("JSONP",e,{params:(new g).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,t={}){return this.request("OPTIONS",e,t)}patch(e,t,n={}){return this.request("PATCH",e,x(n,t))}post(e,t,n={}){return this.request("POST",e,x(n,t))}put(e,t,n={}){return this.request("PUT",e,x(n,t))}}return e.\u0275fac=function(t){return new(t||e)(i.hc(u))},e.\u0275prov=i.Mb({token:e,factory:e.\u0275fac}),e})();class T{constructor(e,t){this.next=e,this.interceptor=t}handle(e){return this.interceptor.intercept(e,this.next)}}const k=new i.r("HTTP_INTERCEPTORS");let P=(()=>{class e{intercept(e,t){return t.handle(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.Mb({token:e,factory:e.\u0275fac}),e})();const E=/^\)\]\}',?\n/;class D{}let M=(()=>{class e{constructor(){}build(){return new XMLHttpRequest}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.Mb({token:e,factory:e.\u0275fac}),e})(),I=(()=>{class e{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new o.a(t=>{const n=this.xhrFactory.build();if(n.open(e.method,e.urlWithParams),e.withCredentials&&(n.withCredentials=!0),e.headers.forEach((e,t)=>n.setRequestHeader(e,t.join(","))),e.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const t=e.detectContentTypeHeader();null!==t&&n.setRequestHeader("Content-Type",t)}if(e.responseType){const t=e.responseType.toLowerCase();n.responseType="json"!==t?t:"text"}const i=e.serializeBody();let r=null;const o=()=>{if(null!==r)return r;const t=1223===n.status?204:n.status,i=n.statusText||"OK",o=new h(n.getAllResponseHeaders()),s=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(n)||e.url;return r=new S({headers:o,status:t,statusText:i,url:s}),r},s=()=>{let{headers:i,status:r,statusText:s,url:a}=o(),c=null;204!==r&&(c=void 0===n.response?n.responseText:n.response),0===r&&(r=c?200:0);let l=r>=200&&r<300;if("json"===e.responseType&&"string"==typeof c){const e=c;c=c.replace(E,"");try{c=""!==c?JSON.parse(c):null}catch(u){c=e,l&&(l=!1,c={error:u,text:c})}}l?(t.next(new _({body:c,headers:i,status:r,statusText:s,url:a||void 0})),t.complete()):t.error(new O({error:c,headers:i,status:r,statusText:s,url:a||void 0}))},a=e=>{const{url:i}=o(),r=new O({error:e,status:n.status||0,statusText:n.statusText||"Unknown Error",url:i||void 0});t.error(r)};let c=!1;const l=i=>{c||(t.next(o()),c=!0);let r={type:C.DownloadProgress,loaded:i.loaded};i.lengthComputable&&(r.total=i.total),"text"===e.responseType&&n.responseText&&(r.partialText=n.responseText),t.next(r)},u=e=>{let n={type:C.UploadProgress,loaded:e.loaded};e.lengthComputable&&(n.total=e.total),t.next(n)};return n.addEventListener("load",s),n.addEventListener("error",a),e.reportProgress&&(n.addEventListener("progress",l),null!==i&&n.upload&&n.upload.addEventListener("progress",u)),n.send(i),t.next({type:C.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("load",s),e.reportProgress&&(n.removeEventListener("progress",l),null!==i&&n.upload&&n.upload.removeEventListener("progress",u)),n.readyState!==n.DONE&&n.abort()}})}}return e.\u0275fac=function(t){return new(t||e)(i.hc(D))},e.\u0275prov=i.Mb({token:e,factory:e.\u0275fac}),e})();const A=new i.r("XSRF_COOKIE_NAME"),R=new i.r("XSRF_HEADER_NAME");class j{}let V=(()=>{class e{constructor(e,t,n){this.doc=e,this.platform=t,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(l.G)(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return e.\u0275fac=function(t){return new(t||e)(i.hc(l.e),i.hc(i.D),i.hc(A))},e.\u0275prov=i.Mb({token:e,factory:e.\u0275fac}),e})(),L=(()=>{class e{constructor(e,t){this.tokenService=e,this.headerName=t}intercept(e,t){const n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t.handle(e);const i=this.tokenService.getToken();return null===i||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,i)})),t.handle(e)}}return e.\u0275fac=function(t){return new(t||e)(i.hc(j),i.hc(R))},e.\u0275prov=i.Mb({token:e,factory:e.\u0275fac}),e})(),N=(()=>{class e{constructor(e,t){this.backend=e,this.injector=t,this.chain=null}handle(e){if(null===this.chain){const e=this.injector.get(k,[]);this.chain=e.reduceRight((e,t)=>new T(e,t),this.backend)}return this.chain.handle(e)}}return e.\u0275fac=function(t){return new(t||e)(i.hc(d),i.hc(i.s))},e.\u0275prov=i.Mb({token:e,factory:e.\u0275fac}),e})(),F=(()=>{class e{static disable(){return{ngModule:e,providers:[{provide:L,useClass:P}]}}static withOptions(t={}){return{ngModule:e,providers:[t.cookieName?{provide:A,useValue:t.cookieName}:[],t.headerName?{provide:R,useValue:t.headerName}:[]]}}}return e.\u0275mod=i.Ob({type:e}),e.\u0275inj=i.Nb({factory:function(t){return new(t||e)},providers:[L,{provide:k,useExisting:L,multi:!0},{provide:j,useClass:V},{provide:A,useValue:"XSRF-TOKEN"},{provide:R,useValue:"X-XSRF-TOKEN"}]}),e})(),B=(()=>{class e{}return e.\u0275mod=i.Ob({type:e}),e.\u0275inj=i.Nb({factory:function(t){return new(t||e)},providers:[z,{provide:u,useClass:N},I,{provide:d,useExisting:I},M,{provide:D,useExisting:M}],imports:[[F.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e})()},tpup:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n("/Tr7"),r=n("jIYg");function o(e){Object(r.a)(1,arguments);var t=1,n=Object(i.a)(e),o=n.getUTCDay(),s=(o=2&&(n=!0),function(i){return i.lift(new w(e,t,n))}}class w{constructor(e,t,n=!1){this.accumulator=e,this.seed=t,this.hasSeed=n}call(e,t){return t.subscribe(new S(e,this.accumulator,this.seed,this.hasSeed))}}class S extends v.a{constructor(e,t,n,i){super(e),this.accumulator=t,this._seed=n,this.hasSeed=i,this.index=0}get seed(){return this._seed}set seed(e){this.hasSeed=!0,this._seed=e}_next(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)}_tryNext(e){const t=this.index++;let n;try{n=this.accumulator(this.seed,e,t)}catch(i){this.destination.error(i)}this.seed=n,this.destination.next(n)}}var _=n("pLZG"),O=n("JIr8"),x=n("bOdf"),z=n("4I5i");function T(e){return function(t){return 0===e?Object(p.b)():t.lift(new k(e))}}class k{constructor(e){if(this.total=e,this.total<0)throw new z.a}call(e,t){return t.subscribe(new P(e,this.total))}}class P extends v.a{constructor(e,t){super(e),this.total=t,this.ring=new Array,this.count=0}_next(e){const t=this.ring,n=this.total,i=this.count++;t.length0){const n=this.count>=this.total?this.total:this.count,i=this.ring;for(let r=0;re.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||i.lengthi[t]===e)}return e===t}function ce(e){return Array.prototype.concat.apply([],e)}function le(e){return e.length>0?e[e.length-1]:null}function ue(e,t){for(const n in e)e.hasOwnProperty(n)&&t(e[n],n)}function de(e){return Object(r.sb)(e)?e:Object(r.tb)(e)?Object(o.a)(Promise.resolve(e)):Object(s.a)(e)}function he(e,t,n){return n?function(e,t){return se(e,t)}(e.queryParams,t.queryParams)&&pe(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>ae(e[n],t[n]))}(e.queryParams,t.queryParams)&&fe(e.root,t.root)}function pe(e,t){if(!ve(e.segments,t.segments))return!1;if(e.numberOfChildren!==t.numberOfChildren)return!1;for(const n in t.children){if(!e.children[n])return!1;if(!pe(e.children[n],t.children[n]))return!1}return!0}function fe(e,t){return ge(e,t,t.segments)}function ge(e,t,n){if(e.segments.length>n.length)return!!ve(e.segments.slice(0,n.length),n)&&!t.hasChildren();if(e.segments.length===n.length){if(!ve(e.segments,n))return!1;for(const n in t.children){if(!e.children[n])return!1;if(!fe(e.children[n],t.children[n]))return!1}return!0}{const i=n.slice(0,e.segments.length),r=n.slice(e.segments.length);return!!ve(e.segments,i)&&!!e.children[te]&&ge(e.children[te],t,r)}}class be{constructor(e,t,n){this.root=e,this.queryParams=t,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ie(this.queryParams)),this._queryParamMap}toString(){return Se.serialize(this)}}class me{constructor(e,t){this.segments=e,this.children=t,this.parent=null,ue(t,(e,t)=>e.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return _e(this)}}class ye{constructor(e,t){this.path=e,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=ie(this.parameters)),this._parameterMap}toString(){return Ee(this)}}function ve(e,t){return e.length===t.length&&e.every((e,n)=>e.path===t[n].path)}class Ce{}class we{parse(e){const t=new Re(e);return new be(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(e){return`/${Oe(e.root,!0)}${function(e){const t=Object.keys(e).map(t=>{const n=e[t];return Array.isArray(n)?n.map(e=>`${ze(t)}=${ze(e)}`).join("&"):`${ze(t)}=${ze(n)}`});return t.length?`?${t.join("&")}`:""}(e.queryParams)}${"string"==typeof e.fragment?`#${t=e.fragment,encodeURI(t)}`:""}`;var t}}const Se=new we;function _e(e){return e.segments.map(e=>Ee(e)).join("/")}function Oe(e,t){if(!e.hasChildren())return _e(e);if(t){const t=e.children[te]?Oe(e.children[te],!1):"",n=[];return ue(e.children,(e,t)=>{t!==te&&n.push(`${t}:${Oe(e,!1)}`)}),n.length>0?`${t}(${n.join("//")})`:t}{const t=function(e,t){let n=[];return ue(e.children,(e,i)=>{i===te&&(n=n.concat(t(e,i)))}),ue(e.children,(e,i)=>{i!==te&&(n=n.concat(t(e,i)))}),n}(e,(t,n)=>n===te?[Oe(e.children[te],!1)]:[`${n}:${Oe(t,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[te]?`${_e(e)}/${t[0]}`:`${_e(e)}/(${t.join("//")})`}}function xe(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ze(e){return xe(e).replace(/%3B/gi,";")}function Te(e){return xe(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ke(e){return decodeURIComponent(e)}function Pe(e){return ke(e.replace(/\+/g,"%20"))}function Ee(e){return`${Te(e.path)}${t=e.parameters,Object.keys(t).map(e=>`;${Te(e)}=${Te(t[e])}`).join("")}`;var t}const De=/^[^\/()?;=#]+/;function Me(e){const t=e.match(De);return t?t[0]:""}const Ie=/^[^=?&#]+/,Ae=/^[^?&#]+/;class Re{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new me([],{}):new me([],this.parseChildren())}parseQueryParams(){const e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n[te]=new me(e,t)),n}parseSegment(){const e=Me(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(e),new ye(ke(e),this.parseMatrixParams())}parseMatrixParams(){const e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){const t=Me(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=Me(this.remaining);e&&(n=e,this.capture(n))}e[ke(t)]=ke(n)}parseQueryParam(e){const t=function(e){const t=e.match(Ie);return t?t[0]:""}(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=function(e){const t=e.match(Ae);return t?t[0]:""}(this.remaining);e&&(n=e,this.capture(n))}const i=Pe(t),r=Pe(n);if(e.hasOwnProperty(i)){let t=e[i];Array.isArray(t)||(t=[t],e[i]=t),t.push(r)}else e[i]=r}parseParens(e){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=Me(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error(`Cannot parse url '${this.url}'`);let r;n.indexOf(":")>-1?(r=n.substr(0,n.indexOf(":")),this.capture(r),this.capture(":")):e&&(r=te);const o=this.parseChildren();t[r]=1===Object.keys(o).length?o[te]:new me([],o),this.consumeOptional("//")}return t}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}capture(e){if(!this.consumeOptional(e))throw new Error(`Expected "${e}".`)}}class je{constructor(e){this._root=e}get root(){return this._root.value}parent(e){const t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}children(e){const t=Ve(e,this._root);return t?t.children.map(e=>e.value):[]}firstChild(e){const t=Ve(e,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(e){const t=Le(e,this._root);return t.length<2?[]:t[t.length-2].children.map(e=>e.value).filter(t=>t!==e)}pathFromRoot(e){return Le(e,this._root).map(e=>e.value)}}function Ve(e,t){if(e===t.value)return t;for(const n of t.children){const t=Ve(e,n);if(t)return t}return null}function Le(e,t){if(e===t.value)return[t];for(const n of t.children){const i=Le(e,n);if(i.length)return i.unshift(t),i}return[]}class Ne{constructor(e,t){this.value=e,this.children=t}toString(){return`TreeNode(${this.value})`}}function Fe(e){const t={};return e&&e.children.forEach(e=>t[e.value.outlet]=e),t}class Be extends je{constructor(e,t){super(e),this.snapshot=t,Ge(this,e)}toString(){return this.snapshot.toString()}}function We(e,t){const n=function(e,t){const n=new $e([],{},{},"",{},te,t,null,e.root,-1,{});return new Qe("",new Ne(n,[]))}(e,t),i=new a.a([new ye("",{})]),r=new a.a({}),o=new a.a({}),s=new a.a({}),c=new a.a(""),l=new He(i,r,s,c,o,te,t,n.root);return l.snapshot=n.root,new Be(new Ne(l,[]),n)}class He{constructor(e,t,n,i,r,o,s,a){this.url=e,this.params=t,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=o,this.component=s,this._futureSnapshot=a}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(Object(g.a)(e=>ie(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(g.a)(e=>ie(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Ue(e,t="emptyOnly"){const n=e.pathFromRoot;let i=0;if("always"!==t)for(i=n.length-1;i>=1;){const e=n[i],t=n[i-1];if(e.routeConfig&&""===e.routeConfig.path)i--;else{if(t.component)break;i--}}return function(e){return e.reduce((e,t)=>({params:Object.assign(Object.assign({},e.params),t.params),data:Object.assign(Object.assign({},e.data),t.data),resolve:Object.assign(Object.assign({},e.resolve),t._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(i))}class $e{constructor(e,t,n,i,r,o,s,a,c,l,u){this.url=e,this.params=t,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=o,this.component=s,this.routeConfig=a,this._urlSegment=c,this._lastPathIndex=l,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=ie(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ie(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(e=>e.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Qe extends je{constructor(e,t){super(t),this.url=e,Ge(this,t)}toString(){return Ye(this._root)}}function Ge(e,t){t.value._routerState=e,t.children.forEach(t=>Ge(e,t))}function Ye(e){const t=e.children.length>0?` { ${e.children.map(Ye).join(", ")} } `:"";return`${e.value}${t}`}function Ke(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,se(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),se(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(let n=0;nse(e.parameters,r[t].parameters));var i,r;return n&&!(!e.parent!=!t.parent)&&(!e.parent||Xe(e.parent,t.parent))}function qe(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const i=n.value;i._futureSnapshot=t.value;const r=function(e,t,n){return t.children.map(t=>{for(const i of n.children)if(e.shouldReuseRoute(t.value,i.value.snapshot))return qe(e,t,i);return qe(e,t)})}(e,t,n);return new Ne(i,r)}{const n=e.retrieve(t.value);if(n){const e=n.route;return Je(t,e),e}{const n=new He(new a.a((i=t.value).url),new a.a(i.params),new a.a(i.queryParams),new a.a(i.fragment),new a.a(i.data),i.outlet,i.component,i),r=t.children.map(t=>qe(e,t));return new Ne(n,r)}}var i}function Je(e,t){if(e.value.routeConfig!==t.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==t.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");t.value._futureSnapshot=e.value;for(let n=0;n{o[t]=Array.isArray(e)?e.map(e=>`${e}`):`${e}`}),new be(n.root===e?t:nt(n.root,e,t),o,r)}function nt(e,t,n){const i={};return ue(e.children,(e,r)=>{i[r]=e===t?n:nt(e,t,n)}),new me(e.segments,i)}class it{constructor(e,t,n){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=n,e&&n.length>0&&Ze(n[0]))throw new Error("Root segment cannot have matrix parameters");const i=n.find(et);if(i&&i!==le(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class rt{constructor(e,t,n){this.segmentGroup=e,this.processChildren=t,this.index=n}}function ot(e,t,n){if(e||(e=new me([],{})),0===e.segments.length&&e.hasChildren())return st(e,t,n);const i=function(e,t,n){let i=0,r=t;const o={match:!1,pathIndex:0,commandIndex:0};for(;r=n.length)return o;const t=e.segments[r],s=n[i];if(et(s))break;const a=`${s}`,c=i0&&void 0===a)break;if(a&&c&&"object"==typeof c&&void 0===c.outlets){if(!ut(a,c,t))return o;i+=2}else{if(!ut(a,{},t))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(e,t,n),r=n.slice(i.commandIndex);if(i.match&&i.pathIndex{"string"==typeof n&&(n=[n]),null!==n&&(r[i]=ot(e.children[i],t,n))}),ue(e.children,(e,t)=>{void 0===i[t]&&(r[t]=e)}),new me(e.segments,r)}}function at(e,t,n){const i=e.segments.slice(0,t);let r=0;for(;r{"string"==typeof e&&(e=[e]),null!==e&&(t[n]=at(new me([],{}),0,e))}),t}function lt(e){const t={};return ue(e,(e,n)=>t[n]=`${e}`),t}function ut(e,t,n){return e==n.path&&se(t,n.parameters)}class dt{constructor(e,t,n,i){this.routeReuseStrategy=e,this.futureState=t,this.currState=n,this.forwardEvent=i}activate(e){const t=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,n,e),Ke(this.futureState.root),this.activateChildRoutes(t,n,e)}deactivateChildRoutes(e,t,n){const i=Fe(t);e.children.forEach(e=>{const t=e.value.outlet;this.deactivateRoutes(e,i[t],n),delete i[t]}),ue(i,(e,t)=>{this.deactivateRouteAndItsChildren(e,n)})}deactivateRoutes(e,t,n){const i=e.value,r=t?t.value:null;if(i===r)if(i.component){const r=n.getContext(i.outlet);r&&this.deactivateChildRoutes(e,t,r.children)}else this.deactivateChildRoutes(e,t,n);else r&&this.deactivateRouteAndItsChildren(t,n)}deactivateRouteAndItsChildren(e,t){this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)}detachAndStoreRouteSubtree(e,t){const n=t.getContext(e.value.outlet);if(n&&n.outlet){const t=n.outlet.detach(),i=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:t,route:e,contexts:i})}}deactivateRouteAndOutlet(e,t){const n=t.getContext(e.value.outlet),i=n&&e.value.component?n.children:t,r=Fe(e);for(const o of Object.keys(r))this.deactivateRouteAndItsChildren(r[o],i);n&&n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated())}activateChildRoutes(e,t,n){const i=Fe(t);e.children.forEach(e=>{this.activateRoutes(e,i[e.value.outlet],n),this.forwardEvent(new Z(e.value.snapshot))}),e.children.length&&this.forwardEvent(new q(e.value.snapshot))}activateRoutes(e,t,n){const i=e.value,r=t?t.value:null;if(Ke(i),i===r)if(i.component){const r=n.getOrCreateContext(i.outlet);this.activateChildRoutes(e,t,r.children)}else this.activateChildRoutes(e,t,n);else if(i.component){const t=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const e=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),t.children.onOutletReAttached(e.contexts),t.attachRef=e.componentRef,t.route=e.route.value,t.outlet&&t.outlet.attach(e.componentRef,e.route.value),ht(e.route)}else{const n=function(e){for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(i.snapshot),r=n?n.module.componentFactoryResolver:null;t.attachRef=null,t.route=i,t.resolver=r,t.outlet&&t.outlet.activateWith(i,r),this.activateChildRoutes(e,null,t.children)}}else this.activateChildRoutes(e,null,n)}}function ht(e){Ke(e.value),e.children.forEach(ht)}class pt{constructor(e,t){this.routes=e,this.module=t}}function ft(e){return"function"==typeof e}function gt(e){return e instanceof be}const bt=Symbol("INITIAL_VALUE");function mt(){return Object(b.a)(e=>Object(c.a)(e.map(e=>e.pipe(Object(m.a)(1),Object(y.a)(bt)))).pipe(C((e,t)=>{let n=!1;return t.reduce((e,i,r)=>{if(e!==bt)return e;if(i===bt&&(n=!0),!n){if(!1===i)return i;if(r===t.length-1||gt(i))return i}return e},e)},bt),Object(_.a)(e=>e!==bt),Object(g.a)(e=>gt(e)?e:!0===e),Object(m.a)(1)))}let yt=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Kb({type:e,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&r.Rb(0,"router-outlet")},directives:function(){return[gn]},encapsulation:2}),e})();function vt(e,t=""){for(let n=0;n_t(e)===t);return n.push(...e.filter(e=>_t(e)!==t)),n}const xt={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function zt(e,t,n){var i;if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?Object.assign({},xt):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const r=(t.matcher||oe)(n,e,t);if(!r)return Object.assign({},xt);const o={};ue(r.posParams,(e,t)=>{o[t]=e.path});const s=r.consumed.length>0?Object.assign(Object.assign({},o),r.consumed[r.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:s,positionalParamSegments:null!==(i=r.posParams)&&void 0!==i?i:{}}}function Tt(e,t,n,i,r="corrected"){if(n.length>0&&function(e,t,n){return n.some(n=>kt(e,t,n)&&_t(n)!==te)}(e,n,i)){const r=new me(t,function(e,t,n,i){const r={};r[te]=i,i._sourceSegment=e,i._segmentIndexShift=t.length;for(const o of n)if(""===o.path&&_t(o)!==te){const n=new me([],{});n._sourceSegment=e,n._segmentIndexShift=t.length,r[_t(o)]=n}return r}(e,t,i,new me(n,e.children)));return r._sourceSegment=e,r._segmentIndexShift=t.length,{segmentGroup:r,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return n.some(n=>kt(e,t,n))}(e,n,i)){const o=new me(e.segments,function(e,t,n,i,r,o){const s={};for(const a of i)if(kt(e,n,a)&&!r[_t(a)]){const n=new me([],{});n._sourceSegment=e,n._segmentIndexShift="legacy"===o?e.segments.length:t.length,s[_t(a)]=n}return Object.assign(Object.assign({},r),s)}(e,t,n,i,e.children,r));return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:n}}const o=new me(e.segments,e.children);return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:n}}function kt(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}function Pt(e,t,n,i){return!!(_t(e)===i||i!==te&&kt(t,n,e))&&("**"===e.path||zt(t,e,n).matched)}function Et(e,t,n){return 0===t.length&&!e.children[n]}class Dt{constructor(e){this.segmentGroup=e||null}}class Mt{constructor(e){this.urlTree=e}}function It(e){return new l.a(t=>t.error(new Dt(e)))}function At(e){return new l.a(t=>t.error(new Mt(e)))}function Rt(e){return new l.a(t=>t.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${e}'`)))}class jt{constructor(e,t,n,i,o){this.configLoader=t,this.urlSerializer=n,this.urlTree=i,this.config=o,this.allowRedirects=!0,this.ngModule=e.get(r.z)}apply(){const e=Tt(this.urlTree.root,[],[],this.config).segmentGroup,t=new me(e.segments,e.children);return this.expandSegmentGroup(this.ngModule,this.config,t,te).pipe(Object(g.a)(e=>this.createUrlTree(Vt(e),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Object(O.a)(e=>{if(e instanceof Mt)return this.allowRedirects=!1,this.match(e.urlTree);if(e instanceof Dt)throw this.noMatchError(e);throw e}))}match(e){return this.expandSegmentGroup(this.ngModule,this.config,e.root,te).pipe(Object(g.a)(t=>this.createUrlTree(Vt(t),e.queryParams,e.fragment))).pipe(Object(O.a)(e=>{if(e instanceof Dt)throw this.noMatchError(e);throw e}))}noMatchError(e){return new Error(`Cannot match any routes. URL Segment: '${e.segmentGroup}'`)}createUrlTree(e,t,n){const i=e.segments.length>0?new me([],{[te]:e}):e;return new be(i,t,n)}expandSegmentGroup(e,t,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(Object(g.a)(e=>new me([],e))):this.expandSegment(e,n,t,n.segments,i,!0)}expandChildren(e,t,n){const i=[];for(const r of Object.keys(n.children))"primary"===r?i.unshift(r):i.push(r);return Object(o.a)(i).pipe(Object(x.a)(i=>{const r=n.children[i],o=Ot(t,i);return this.expandSegmentGroup(e,o,r,i).pipe(Object(g.a)(e=>({segment:e,outlet:i})))}),C((e,t)=>(e[t.outlet]=t.segment,e),{}),function(e,t){const n=arguments.length>=2;return i=>i.pipe(e?Object(_.a)((t,n)=>e(t,n,i)):M.a,T(1),n?Object(D.a)(t):Object(E.a)(()=>new u.a))}())}expandSegment(e,t,n,i,r,a){return Object(o.a)(n).pipe(Object(x.a)(o=>this.expandSegmentAgainstRoute(e,t,n,o,i,r,a).pipe(Object(O.a)(e=>{if(e instanceof Dt)return Object(s.a)(null);throw e}))),Object(I.a)(e=>!!e),Object(O.a)((e,n)=>{if(e instanceof u.a||"EmptyError"===e.name){if(Et(t,i,r))return Object(s.a)(new me([],{}));throw new Dt(t)}throw e}))}expandSegmentAgainstRoute(e,t,n,i,r,o,s){return Pt(i,t,r,o)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(e,t,i,r,o):s&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,i,r,o):It(t):It(t)}expandSegmentAgainstRouteUsingRedirect(e,t,n,i,r,o){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,i,o):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,i,r,o)}expandWildCardWithParamsAgainstRouteUsingRedirect(e,t,n,i){const r=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?At(r):this.lineralizeSegments(n,r).pipe(Object(A.a)(n=>{const r=new me(n,{});return this.expandSegment(e,r,t,n,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,i,r,o){const{matched:s,consumedSegments:a,lastChild:c,positionalParamSegments:l}=zt(t,i,r);if(!s)return It(t);const u=this.applyRedirectCommands(a,i.redirectTo,l);return i.redirectTo.startsWith("/")?At(u):this.lineralizeSegments(i,u).pipe(Object(A.a)(i=>this.expandSegment(e,t,n,i.concat(r.slice(c)),o,!1)))}matchSegmentAgainstRoute(e,t,n,i,r){if("**"===n.path)return n.loadChildren?this.configLoader.load(e.injector,n).pipe(Object(g.a)(e=>(n._loadedConfig=e,new me(i,{})))):Object(s.a)(new me(i,{}));const{matched:o,consumedSegments:a,lastChild:c}=zt(t,n,i);if(!o)return It(t);const l=i.slice(c);return this.getChildConfig(e,n,i).pipe(Object(A.a)(e=>{const i=e.module,o=e.routes,{segmentGroup:c,slicedSegments:u}=Tt(t,a,l,o),d=new me(c.segments,c.children);if(0===u.length&&d.hasChildren())return this.expandChildren(i,o,d).pipe(Object(g.a)(e=>new me(a,e)));if(0===o.length&&0===u.length)return Object(s.a)(new me(a,{}));const h=_t(n)===r;return this.expandSegment(i,d,o,u,h?te:r,!0).pipe(Object(g.a)(e=>new me(a.concat(e.segments),e.children)))}))}getChildConfig(e,t,n){return t.children?Object(s.a)(new pt(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?Object(s.a)(t._loadedConfig):this.runCanLoadGuards(e.injector,t,n).pipe(Object(A.a)(n=>n?this.configLoader.load(e.injector,t).pipe(Object(g.a)(e=>(t._loadedConfig=e,e))):function(e){return new l.a(t=>t.error(re(`Cannot load children because the guard of the route "path: '${e.path}'" returned false`)))}(t))):Object(s.a)(new pt([],e))}runCanLoadGuards(e,t,n){const i=t.canLoad;if(!i||0===i.length)return Object(s.a)(!0);const r=i.map(i=>{const r=e.get(i);let o;if(function(e){return e&&ft(e.canLoad)}(r))o=r.canLoad(t,n);else{if(!ft(r))throw new Error("Invalid CanLoad guard");o=r(t,n)}return de(o)});return Object(s.a)(r).pipe(mt(),Object(R.a)(e=>{if(!gt(e))return;const t=re(`Redirecting to "${this.urlSerializer.serialize(e)}"`);throw t.url=e,t}),Object(g.a)(e=>!0===e))}lineralizeSegments(e,t){let n=[],i=t.root;for(;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return Object(s.a)(n);if(i.numberOfChildren>1||!i.children[te])return Rt(e.redirectTo);i=i.children[te]}}applyRedirectCommands(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)}applyRedirectCreatreUrlTree(e,t,n,i){const r=this.createSegmentGroup(e,t.root,n,i);return new be(r,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(e,t){const n={};return ue(e,(e,i)=>{if("string"==typeof e&&e.startsWith(":")){const r=e.substring(1);n[i]=t[r]}else n[i]=e}),n}createSegmentGroup(e,t,n,i){const r=this.createSegments(e,t.segments,n,i);let o={};return ue(t.children,(t,r)=>{o[r]=this.createSegmentGroup(e,t,n,i)}),new me(r,o)}createSegments(e,t,n,i){return t.map(t=>t.path.startsWith(":")?this.findPosParam(e,t,i):this.findOrReturn(t,n))}findPosParam(e,t,n){const i=n[t.path.substring(1)];if(!i)throw new Error(`Cannot redirect to '${e}'. Cannot find '${t.path}'.`);return i}findOrReturn(e,t){let n=0;for(const i of t){if(i.path===e.path)return t.splice(n),i;n++}return e}}function Vt(e){const t={};for(const n of Object.keys(e.children)){const i=Vt(e.children[n]);(i.segments.length>0||i.hasChildren())&&(t[n]=i)}return function(e){if(1===e.numberOfChildren&&e.children[te]){const t=e.children[te];return new me(e.segments.concat(t.segments),t.children)}return e}(new me(e.segments,t))}class Lt{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}}class Nt{constructor(e,t){this.component=e,this.route=t}}function Ft(e,t,n){const i=e._root;return Wt(i,t?t._root:null,n,[i.value])}function Bt(e,t,n){const i=function(e){if(!e)return null;for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(t);return(i?i.module.injector:n).get(e)}function Wt(e,t,n,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=Fe(t);return e.children.forEach(e=>{!function(e,t,n,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const c=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!ve(e.url,t.url);case"pathParamsOrQueryParamsChange":return!ve(e.url,t.url)||!se(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Xe(e,t)||!se(e.queryParams,t.queryParams);default:return!Xe(e,t)}}(s,o,o.routeConfig.runGuardsAndResolvers);c?r.canActivateChecks.push(new Lt(i)):(o.data=s.data,o._resolvedData=s._resolvedData),Wt(e,t,o.component?a?a.children:null:n,i,r),c&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new Nt(a.outlet.component,s))}else s&&Ht(t,a,r),r.canActivateChecks.push(new Lt(i)),Wt(e,null,o.component?a?a.children:null:n,i,r)}(e,o[e.value.outlet],n,i.concat([e.value]),r),delete o[e.value.outlet]}),ue(o,(e,t)=>Ht(e,n.getContext(t),r)),r}function Ht(e,t,n){const i=Fe(e),r=e.value;ue(i,(e,i)=>{Ht(e,r.component?t?t.children.getContext(i):null:t,n)}),n.canDeactivateChecks.push(new Nt(r.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,r))}class Ut{}function $t(e){return new l.a(t=>t.error(e))}class Qt{constructor(e,t,n,i,r,o){this.rootComponentType=e,this.config=t,this.urlTree=n,this.url=i,this.paramsInheritanceStrategy=r,this.relativeLinkResolution=o}recognize(){const e=Tt(this.urlTree.root,[],[],this.config.filter(e=>void 0===e.redirectTo),this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,te);if(null===t)return null;const n=new $e([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},te,this.rootComponentType,null,this.urlTree.root,-1,{}),i=new Ne(n,t),r=new Qe(this.url,i);return this.inheritParamsAndData(r._root),r}inheritParamsAndData(e){const t=e.value,n=Ue(t,this.paramsInheritanceStrategy);t.params=Object.freeze(n.params),t.data=Object.freeze(n.data),e.children.forEach(e=>this.inheritParamsAndData(e))}processSegmentGroup(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)}processChildren(e,t){const n=[];for(const r of Object.keys(t.children)){const i=t.children[r],o=Ot(e,r),s=this.processSegmentGroup(o,i,r);if(null===s)return null;n.push(...s)}const i=function(e){const t=[];for(const n of e){if(!Gt(n)){t.push(n);continue}const e=t.find(e=>n.value.routeConfig===e.value.routeConfig);void 0!==e?e.children.push(...n.children):t.push(n)}return t}(n);return i.sort((e,t)=>e.value.outlet===te?-1:t.value.outlet===te?1:e.value.outlet.localeCompare(t.value.outlet)),i}processSegment(e,t,n,i){for(const r of e){const e=this.processSegmentAgainstRoute(r,t,n,i);if(null!==e)return e}return Et(t,n,i)?[]:null}processSegmentAgainstRoute(e,t,n,i){if(e.redirectTo||!Pt(e,t,n,i))return null;let r,o=[],s=[];if("**"===e.path){const i=n.length>0?le(n).parameters:{};r=new $e(n,i,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Xt(e),_t(e),e.component,e,Yt(t),Kt(t)+n.length,qt(e))}else{const i=zt(t,e,n);if(!i.matched)return null;o=i.consumedSegments,s=n.slice(i.lastChild),r=new $e(o,i.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Xt(e),_t(e),e.component,e,Yt(t),Kt(t)+o.length,qt(e))}const a=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),{segmentGroup:c,slicedSegments:l}=Tt(t,o,s,a.filter(e=>void 0===e.redirectTo),this.relativeLinkResolution);if(0===l.length&&c.hasChildren()){const e=this.processChildren(a,c);return null===e?null:[new Ne(r,e)]}if(0===a.length&&0===l.length)return[new Ne(r,[])];const u=_t(e)===i,d=this.processSegment(a,c,l,u?te:i);return null===d?null:[new Ne(r,d)]}}function Gt(e){const t=e.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}function Yt(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function Kt(e){let t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;for(;t._sourceSegment;)t=t._sourceSegment,n+=t._segmentIndexShift?t._segmentIndexShift:0;return n-1}function Xt(e){return e.data||{}}function qt(e){return e.resolve||{}}function Jt(e){return Object(b.a)(t=>{const n=e(t);return n?Object(o.a)(n).pipe(Object(g.a)(()=>t)):Object(s.a)(t)})}class Zt{shouldDetach(e){return!1}store(e,t){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,t){return e.routeConfig===t.routeConfig}}class en extends Zt{}const tn=new r.r("ROUTES");class nn{constructor(e,t,n,i){this.loader=e,this.compiler=t,this.onLoadStartListener=n,this.onLoadEndListener=i}load(e,t){return this.onLoadStartListener&&this.onLoadStartListener(t),this.loadModuleFactory(t.loadChildren).pipe(Object(g.a)(n=>{this.onLoadEndListener&&this.onLoadEndListener(t);const i=n.create(e);return new pt(ce(i.injector.get(tn,void 0,r.q.Self|r.q.Optional)).map(St),i)}))}loadModuleFactory(e){return"string"==typeof e?Object(o.a)(this.loader.load(e)):de(e()).pipe(Object(A.a)(e=>e instanceof r.x?Object(s.a)(e):Object(o.a)(this.compiler.compileModuleAsync(e))))}}class rn{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new on,this.attachRef=null}}class on{constructor(){this.contexts=new Map}onChildOutletCreated(e,t){const n=this.getOrCreateContext(e);n.outlet=t,this.contexts.set(e,n)}onChildOutletDestroyed(e){const t=this.getContext(e);t&&(t.outlet=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let t=this.getContext(e);return t||(t=new rn,this.contexts.set(e,t)),t}getContext(e){return this.contexts.get(e)||null}}class sn{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,t){return e}}function an(e){throw e}function cn(e,t,n){return t.parse("/")}function ln(e,t){return Object(s.a)(null)}let un=(()=>{class e{constructor(e,t,n,i,o,s,c,l){this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=n,this.location=i,this.config=l,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new f.a,this.errorHandler=an,this.malformedUriErrorHandler=cn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:ln,afterPreactivation:ln},this.urlHandlingStrategy=new sn,this.routeReuseStrategy=new en,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.ngModule=o.get(r.z),this.console=o.get(r.ab);const u=o.get(r.B);this.isNgZoneEnabled=u instanceof r.B&&r.B.isInAngularZone(),this.resetConfig(l),this.currentUrlTree=new be(new me([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new nn(s,c,e=>this.triggerEvent(new Y(e)),e=>this.triggerEvent(new K(e))),this.routerState=We(this.currentUrlTree,this.rootComponentType),this.transitions=new a.a({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}setupNavigations(e){const t=this.events;return e.pipe(Object(_.a)(e=>0!==e.id),Object(g.a)(e=>Object.assign(Object.assign({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl)})),Object(b.a)(e=>{let n=!1,i=!1;return Object(s.a)(e).pipe(Object(R.a)(e=>{this.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),Object(b.a)(e=>{const n=!this.navigated||e.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return Object(s.a)(e).pipe(Object(b.a)(e=>{const n=this.transitions.getValue();return t.next(new N(e.id,this.serializeUrl(e.extractedUrl),e.source,e.restoredState)),n!==this.transitions.getValue()?p.a:Promise.resolve(e)}),(i=this.ngModule.injector,r=this.configLoader,o=this.urlSerializer,a=this.config,Object(b.a)(e=>function(e,t,n,i,r){return new jt(e,t,n,i,r).apply()}(i,r,o,e.extractedUrl,a).pipe(Object(g.a)(t=>Object.assign(Object.assign({},e),{urlAfterRedirects:t}))))),Object(R.a)(e=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:e.urlAfterRedirects})}),function(e,t,n,i,r){return Object(A.a)(o=>function(e,t,n,i,r="emptyOnly",o="legacy"){try{const a=new Qt(e,t,n,i,r,o).recognize();return null===a?$t(new Ut):Object(s.a)(a)}catch(a){return $t(a)}}(e,t,o.urlAfterRedirects,n(o.urlAfterRedirects),i,r).pipe(Object(g.a)(e=>Object.assign(Object.assign({},o),{targetSnapshot:e}))))}(this.rootComponentType,this.config,e=>this.serializeUrl(e),this.paramsInheritanceStrategy,this.relativeLinkResolution),Object(R.a)(e=>{"eager"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects);const n=new H(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.next(n)}));var i,r,o,a;if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:i,source:r,restoredState:o,extras:a}=e,c=new N(n,this.serializeUrl(i),r,o);t.next(c);const l=We(i,this.rootComponentType).snapshot;return Object(s.a)(Object.assign(Object.assign({},e),{targetSnapshot:l,urlAfterRedirects:i,extras:Object.assign(Object.assign({},a),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=e.rawUrl,this.browserUrlTree=e.urlAfterRedirects,e.resolve(null),p.a}),Jt(e=>{const{targetSnapshot:t,id:n,extractedUrl:i,rawUrl:r,extras:{skipLocationChange:o,replaceUrl:s}}=e;return this.hooks.beforePreactivation(t,{navigationId:n,appliedUrlTree:i,rawUrlTree:r,skipLocationChange:!!o,replaceUrl:!!s})}),Object(R.a)(e=>{const t=new U(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),Object(g.a)(e=>Object.assign(Object.assign({},e),{guards:Ft(e.targetSnapshot,e.currentSnapshot,this.rootContexts)})),function(e,t){return Object(A.a)(n=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:a,canDeactivateChecks:c}}=n;return 0===c.length&&0===a.length?Object(s.a)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(e,t,n,i){return Object(o.a)(e).pipe(Object(A.a)(e=>function(e,t,n,i,r){const o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!o||0===o.length)return Object(s.a)(!0);const a=o.map(o=>{const s=Bt(o,t,r);let a;if(function(e){return e&&ft(e.canDeactivate)}(s))a=de(s.canDeactivate(e,t,n,i));else{if(!ft(s))throw new Error("Invalid CanDeactivate guard");a=de(s(e,t,n,i))}return a.pipe(Object(I.a)())});return Object(s.a)(a).pipe(mt())}(e.component,e.route,n,t,i)),Object(I.a)(e=>!0!==e,!0))}(c,i,r,e).pipe(Object(A.a)(n=>n&&"boolean"==typeof n?function(e,t,n,i){return Object(o.a)(t).pipe(Object(x.a)(t=>Object(d.a)(function(e,t){return null!==e&&t&&t(new X(e)),Object(s.a)(!0)}(t.route.parent,i),function(e,t){return null!==e&&t&&t(new J(e)),Object(s.a)(!0)}(t.route,i),function(e,t,n){const i=t[t.length-1],r=t.slice(0,t.length-1).reverse().map(e=>function(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(e)).filter(e=>null!==e).map(t=>Object(h.a)(()=>{const r=t.guards.map(r=>{const o=Bt(r,t.node,n);let s;if(function(e){return e&&ft(e.canActivateChild)}(o))s=de(o.canActivateChild(i,e));else{if(!ft(o))throw new Error("Invalid CanActivateChild guard");s=de(o(i,e))}return s.pipe(Object(I.a)())});return Object(s.a)(r).pipe(mt())}));return Object(s.a)(r).pipe(mt())}(e,t.path,n),function(e,t,n){const i=t.routeConfig?t.routeConfig.canActivate:null;if(!i||0===i.length)return Object(s.a)(!0);const r=i.map(i=>Object(h.a)(()=>{const r=Bt(i,t,n);let o;if(function(e){return e&&ft(e.canActivate)}(r))o=de(r.canActivate(t,e));else{if(!ft(r))throw new Error("Invalid CanActivate guard");o=de(r(t,e))}return o.pipe(Object(I.a)())}));return Object(s.a)(r).pipe(mt())}(e,t.route,n))),Object(I.a)(e=>!0!==e,!0))}(i,a,e,t):Object(s.a)(n)),Object(g.a)(e=>Object.assign(Object.assign({},n),{guardsResult:e})))})}(this.ngModule.injector,e=>this.triggerEvent(e)),Object(R.a)(e=>{if(gt(e.guardsResult)){const t=re(`Redirecting to "${this.serializeUrl(e.guardsResult)}"`);throw t.url=e.guardsResult,t}const t=new $(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);this.triggerEvent(t)}),Object(_.a)(e=>{if(!e.guardsResult){this.resetUrlToCurrentUrlTree();const n=new B(e.id,this.serializeUrl(e.extractedUrl),"");return t.next(n),e.resolve(!1),!1}return!0}),Jt(e=>{if(e.guards.canActivateChecks.length)return Object(s.a)(e).pipe(Object(R.a)(e=>{const t=new Q(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),Object(b.a)(e=>{let n=!1;return Object(s.a)(e).pipe((i=this.paramsInheritanceStrategy,r=this.ngModule.injector,Object(A.a)(e=>{const{targetSnapshot:t,guards:{canActivateChecks:n}}=e;if(!n.length)return Object(s.a)(e);let a=0;return Object(o.a)(n).pipe(Object(x.a)(e=>function(e,t,n,i){return function(e,t,n,i){const r=Object.keys(e);if(0===r.length)return Object(s.a)({});const a={};return Object(o.a)(r).pipe(Object(A.a)(r=>function(e,t,n,i){const r=Bt(e,t,i);return de(r.resolve?r.resolve(t,n):r(t,n))}(e[r],t,n,i).pipe(Object(R.a)(e=>{a[r]=e}))),T(1),Object(A.a)(()=>Object.keys(a).length===r.length?Object(s.a)(a):p.a))}(e._resolve,e,t,i).pipe(Object(g.a)(t=>(e._resolvedData=t,e.data=Object.assign(Object.assign({},e.data),Ue(e,n).resolve),null)))}(e.route,t,i,r)),Object(R.a)(()=>a++),T(1),Object(A.a)(t=>a===n.length?Object(s.a)(e):p.a))})),Object(R.a)({next:()=>n=!0,complete:()=>{if(!n){const n=new B(e.id,this.serializeUrl(e.extractedUrl),"At least one route resolver didn't emit any value.");t.next(n),e.resolve(!1)}}}));var i,r}),Object(R.a)(e=>{const t=new G(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}))}),Jt(e=>{const{targetSnapshot:t,id:n,extractedUrl:i,rawUrl:r,extras:{skipLocationChange:o,replaceUrl:s}}=e;return this.hooks.afterPreactivation(t,{navigationId:n,appliedUrlTree:i,rawUrlTree:r,skipLocationChange:!!o,replaceUrl:!!s})}),Object(g.a)(e=>{const t=function(e,t,n){const i=qe(e,t._root,n?n._root:void 0);return new Be(i,t)}(this.routeReuseStrategy,e.targetSnapshot,e.currentRouterState);return Object.assign(Object.assign({},e),{targetRouterState:t})}),Object(R.a)(e=>{this.currentUrlTree=e.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl),this.routerState=e.targetRouterState,"deferred"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects)}),(r=this.rootContexts,a=this.routeReuseStrategy,c=e=>this.triggerEvent(e),Object(g.a)(e=>(new dt(a,e.targetRouterState,e.currentRouterState,c).activate(r),e))),Object(R.a)({next(){n=!0},complete(){n=!0}}),Object(j.a)(()=>{if(!n&&!i){this.resetUrlToCurrentUrlTree();const n=new B(e.id,this.serializeUrl(e.extractedUrl),`Navigation ID ${e.id} is not equal to the current navigation id ${this.navigationId}`);t.next(n),e.resolve(!1)}this.currentNavigation=null}),Object(O.a)(n=>{if(i=!0,(r=n)&&r.ngNavigationCancelingError){const i=gt(n.url);i||(this.navigated=!0,this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));const r=new B(e.id,this.serializeUrl(e.extractedUrl),n.message);t.next(r),i?setTimeout(()=>{const t=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree);this.scheduleNavigation(t,"imperative",null,{skipLocationChange:e.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy},{resolve:e.resolve,reject:e.reject,promise:e.promise})},0):e.resolve(!1)}else{this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);const i=new W(e.id,this.serializeUrl(e.extractedUrl),n);t.next(i);try{e.resolve(this.errorHandler(n))}catch(o){e.reject(o)}}var r;return p.a}));var r,a,c}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}getTransition(){const e=this.transitions.value;return e.urlAfterRedirects=this.browserUrlTree,e}setTransition(e){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),e))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const t=this.extractLocationChangeInfoFromEvent(e);this.shouldScheduleNavigation(this.lastLocationChangeInfo,t)&&setTimeout(()=>{const{source:e,state:n,urlTree:i}=t,r={replaceUrl:!0};if(n){const e=Object.assign({},n);delete e.navigationId,0!==Object.keys(e).length&&(r.state=e)}this.scheduleNavigation(i,e,n,r)},0),this.lastLocationChangeInfo=t}))}extractLocationChangeInfoFromEvent(e){var t;return{source:"popstate"===e.type?"popstate":"hashchange",urlTree:this.parseUrl(e.url),state:(null===(t=e.state)||void 0===t?void 0:t.navigationId)?e.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(e,t){if(!e)return!0;const n=t.urlTree.toString()===e.urlTree.toString();return!(t.transitionId===e.transitionId&&n&&("hashchange"===t.source&&"popstate"===e.source||"popstate"===t.source&&"hashchange"===e.source))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){vt(e),this.config=e.map(St),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(e,t={}){const{relativeTo:n,queryParams:i,fragment:r,queryParamsHandling:o,preserveFragment:s}=t,a=n||this.routerState.root,c=s?this.currentUrlTree.fragment:r;let l=null;switch(o){case"merge":l=Object.assign(Object.assign({},this.currentUrlTree.queryParams),i);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=i||null}return null!==l&&(l=this.removeEmptyProps(l)),function(e,t,n,i,r){if(0===n.length)return tt(t.root,t.root,t,i,r);const o=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new it(!0,0,e);let t=0,n=!1;const i=e.reduce((e,i,r)=>{if("object"==typeof i&&null!=i){if(i.outlets){const t={};return ue(i.outlets,(e,n)=>{t[n]="string"==typeof e?e.split("/"):e}),[...e,{outlets:t}]}if(i.segmentPath)return[...e,i.segmentPath]}return"string"!=typeof i?[...e,i]:0===r?(i.split("/").forEach((i,r)=>{0==r&&"."===i||(0==r&&""===i?n=!0:".."===i?t++:""!=i&&e.push(i))}),e):[...e,i]},[]);return new it(n,t,i)}(n);if(o.toRoot())return tt(t.root,new me([],{}),t,i,r);const s=function(e,t,n){if(e.isAbsolute)return new rt(t.root,!0,0);if(-1===n.snapshot._lastPathIndex){const e=n.snapshot._urlSegment;return new rt(e,e===t.root,0)}const i=Ze(e.commands[0])?0:1;return function(e,t,n){let i=e,r=t,o=n;for(;o>r;){if(o-=r,i=i.parent,!i)throw new Error("Invalid number of '../'");r=i.segments.length}return new rt(i,!1,r-o)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+i,e.numberOfDoubleDots)}(o,t,e),a=s.processChildren?st(s.segmentGroup,s.index,o.commands):ot(s.segmentGroup,s.index,o.commands);return tt(s.segmentGroup,a,t,i,r)}(a,this.currentUrlTree,e,l,c)}navigateByUrl(e,t={skipLocationChange:!1}){const n=gt(e)?e:this.parseUrl(e),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(i,"imperative",null,t)}navigate(e,t={skipLocationChange:!1}){return function(e){for(let t=0;t{const i=e[n];return null!=i&&(t[n]=i),t},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.events.next(new F(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.currentNavigation=null,e.resolve(!0)},e=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(e,t,n,i,r){if(this.disposed)return Promise.resolve(!1);const o=this.getTransition(),s="imperative"!==t&&"imperative"===(null==o?void 0:o.source),a=(this.lastSuccessfulId===o.id||this.currentNavigation?o.rawUrl:o.urlAfterRedirects).toString()===e.toString();if(s&&a)return Promise.resolve(!0);let c,l,u;r?(c=r.resolve,l=r.reject,u=r.promise):u=new Promise((e,t)=>{c=e,l=t});const d=++this.navigationId;return this.setTransition({id:d,source:t,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:i,resolve:c,reject:l,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(e=>Promise.reject(e))}setBrowserUrl(e,t,n,i){const r=this.urlSerializer.serialize(e);i=i||{},this.location.isCurrentPathEqualTo(r)||t?this.location.replaceState(r,"",Object.assign(Object.assign({},i),{navigationId:n})):this.location.go(r,"",Object.assign(Object.assign({},i),{navigationId:n}))}resetStateAndUrl(e,t,n){this.routerState=e,this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}return e.\u0275fac=function(t){return new(t||e)(r.hc(r.P),r.hc(Ce),r.hc(on),r.hc(i.k),r.hc(r.s),r.hc(r.y),r.hc(r.i),r.hc(void 0))},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac}),e})(),dn=(()=>{class e{constructor(e,t,n,i,r){this.router=e,this.route=t,this.commands=[],this.onChanges=new f.a,null==n&&i.setAttribute(r.nativeElement,"tabindex","0")}ngOnChanges(e){this.onChanges.next(this)}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}onClick(){const e={skipLocationChange:pn(this.skipLocationChange),replaceUrl:pn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,e),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:pn(this.preserveFragment)})}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(un),r.Qb(He),r.ic("tabindex"),r.Qb(r.G),r.Qb(r.l))},e.\u0275dir=r.Lb({type:e,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,t){1&e&&r.lc("click",function(){return t.onClick()})},inputs:{routerLink:"routerLink",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[r.Ab]}),e})(),hn=(()=>{class e{constructor(e,t,n){this.router=e,this.route=t,this.locationStrategy=n,this.commands=[],this.onChanges=new f.a,this.subscription=e.events.subscribe(e=>{e instanceof F&&this.updateTargetUrlAndHref()})}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}ngOnChanges(e){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(e,t,n,i,r){if(0!==e||t||n||i||r)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const o={skipLocationChange:pn(this.skipLocationChange),replaceUrl:pn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,o),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:pn(this.preserveFragment)})}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(un),r.Qb(He),r.Qb(i.l))},e.\u0275dir=r.Lb({type:e,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,t){1&e&&r.lc("click",function(e){return t.onClick(e.button,e.ctrlKey,e.shiftKey,e.altKey,e.metaKey)}),2&e&&(r.Zb("href",t.href,r.Kc),r.Db("target",t.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[r.Ab]}),e})();function pn(e){return""===e||!!e}let fn=(()=>{class e{constructor(e,t,n,i,r,o){this.router=e,this.element=t,this.renderer=n,this.cdr=i,this.link=r,this.linkWithHref=o,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.routerEventsSubscription=e.events.subscribe(e=>{e instanceof F&&this.update()})}ngAfterContentInit(){Object(s.a)(this.links.changes,this.linksWithHrefs.changes,Object(s.a)(null)).pipe(Object(V.a)()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var e;null===(e=this.linkInputChangesSubscription)||void 0===e||e.unsubscribe();const t=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(e=>!!e).map(e=>e.onChanges);this.linkInputChangesSubscription=Object(o.a)(t).pipe(Object(V.a)()).subscribe(e=>{this.isActive!==this.isLinkActive(this.router)(e)&&this.update()})}set routerLinkActive(e){const t=Array.isArray(e)?e:e.split(" ");this.classes=t.filter(e=>!!e)}ngOnChanges(e){this.update()}ngOnDestroy(){var e;this.routerEventsSubscription.unsubscribe(),null===(e=this.linkInputChangesSubscription)||void 0===e||e.unsubscribe()}update(){this.links&&this.linksWithHrefs&&this.router.navigated&&Promise.resolve().then(()=>{const e=this.hasActiveLinks();this.isActive!==e&&(this.isActive=e,this.cdr.markForCheck(),this.classes.forEach(t=>{e?this.renderer.addClass(this.element.nativeElement,t):this.renderer.removeClass(this.element.nativeElement,t)}))})}isLinkActive(e){return t=>e.isActive(t.urlTree,this.routerLinkActiveOptions.exact)}hasActiveLinks(){const e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.linkWithHref&&e(this.linkWithHref)||this.links.some(e)||this.linksWithHrefs.some(e)}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(un),r.Qb(r.l),r.Qb(r.G),r.Qb(r.h),r.Qb(dn,8),r.Qb(hn,8))},e.\u0275dir=r.Lb({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(e,t,n){if(1&e&&(r.Jb(n,dn,1),r.Jb(n,hn,1)),2&e){let e;r.Dc(e=r.mc())&&(t.links=e),r.Dc(e=r.mc())&&(t.linksWithHrefs=e)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},exportAs:["routerLinkActive"],features:[r.Ab]}),e})(),gn=(()=>{class e{constructor(e,t,n,i,o){this.parentContexts=e,this.location=t,this.resolver=n,this.changeDetector=o,this.activated=null,this._activatedRoute=null,this.activateEvents=new r.n,this.deactivateEvents=new r.n,this.name=i||te,e.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,e}attach(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;const n=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),i=this.parentContexts.getOrCreateContext(this.name).children,r=new bn(e,i,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,r),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(on),r.Qb(r.R),r.Qb(r.j),r.ic("name"),r.Qb(r.h))},e.\u0275dir=r.Lb({type:e,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),e})();class bn{constructor(e,t,n){this.route=e,this.childContexts=t,this.parent=n}get(e,t){return e===He?this.route:e===on?this.childContexts:this.parent.get(e,t)}}class mn{}class yn{preload(e,t){return Object(s.a)(null)}}let vn=(()=>{class e{constructor(e,t,n,i,r){this.router=e,this.injector=i,this.preloadingStrategy=r,this.loader=new nn(t,n,t=>e.triggerEvent(new Y(t)),t=>e.triggerEvent(new K(t)))}setUpPreloading(){this.subscription=this.router.events.pipe(Object(_.a)(e=>e instanceof F),Object(x.a)(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get(r.z);return this.processRoutes(e,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,t){const n=[];for(const i of t)if(i.loadChildren&&!i.canLoad&&i._loadedConfig){const e=i._loadedConfig;n.push(this.processRoutes(e.module,e.routes))}else i.loadChildren&&!i.canLoad?n.push(this.preloadConfig(e,i)):i.children&&n.push(this.processRoutes(e,i.children));return Object(o.a)(n).pipe(Object(V.a)(),Object(g.a)(e=>{}))}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>this.loader.load(e.injector,t).pipe(Object(A.a)(e=>(t._loadedConfig=e,this.processRoutes(e.module,e.routes)))))}}return e.\u0275fac=function(t){return new(t||e)(r.hc(un),r.hc(r.y),r.hc(r.i),r.hc(r.s),r.hc(mn))},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac}),e})(),Cn=(()=>{class e{constructor(e,t,n={}){this.router=e,this.viewportScroller=t,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(e=>{e instanceof N?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof F&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof ee&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,t){this.router.triggerEvent(new ee(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(r.hc(un),r.hc(i.x),r.hc(void 0))},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac}),e})();const wn=new r.r("ROUTER_CONFIGURATION"),Sn=new r.r("ROUTER_FORROOT_GUARD"),_n=[i.k,{provide:Ce,useClass:we},{provide:un,useFactory:function(e,t,n,r,o,s,a,c={},l,u){const d=new un(null,e,t,n,r,o,s,ce(a));if(l&&(d.urlHandlingStrategy=l),u&&(d.routeReuseStrategy=u),function(e,t){e.errorHandler&&(t.errorHandler=e.errorHandler),e.malformedUriErrorHandler&&(t.malformedUriErrorHandler=e.malformedUriErrorHandler),e.onSameUrlNavigation&&(t.onSameUrlNavigation=e.onSameUrlNavigation),e.paramsInheritanceStrategy&&(t.paramsInheritanceStrategy=e.paramsInheritanceStrategy),e.relativeLinkResolution&&(t.relativeLinkResolution=e.relativeLinkResolution),e.urlUpdateStrategy&&(t.urlUpdateStrategy=e.urlUpdateStrategy)}(c,d),c.enableTracing){const e=Object(i.F)();d.events.subscribe(t=>{e.logGroup(`Router Event: ${t.constructor.name}`),e.log(t.toString()),e.log(t),e.logGroupEnd()})}return d},deps:[Ce,on,i.k,r.s,r.y,r.i,tn,wn,[class{},new r.C],[class{},new r.C]]},on,{provide:He,useFactory:function(e){return e.routerState.root},deps:[un]},{provide:r.y,useClass:r.M},vn,yn,class{preload(e,t){return t().pipe(Object(O.a)(()=>Object(s.a)(null)))}},{provide:wn,useValue:{enableTracing:!1}}];function On(){return new r.A("Router",un)}let xn=(()=>{class e{constructor(e,t){}static forRoot(t,n){return{ngModule:e,providers:[_n,Pn(t),{provide:Sn,useFactory:kn,deps:[[un,new r.C,new r.L]]},{provide:wn,useValue:n||{}},{provide:i.l,useFactory:Tn,deps:[i.v,[new r.p(i.a),new r.C],wn]},{provide:Cn,useFactory:zn,deps:[un,i.x,wn]},{provide:mn,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:yn},{provide:r.A,multi:!0,useFactory:On},[En,{provide:r.d,multi:!0,useFactory:Dn,deps:[En]},{provide:In,useFactory:Mn,deps:[En]},{provide:r.b,multi:!0,useExisting:In}]]}}static forChild(t){return{ngModule:e,providers:[Pn(t)]}}}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)(r.hc(Sn,8),r.hc(un,8))}}),e})();function zn(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new Cn(e,t,n)}function Tn(e,t,n={}){return n.useHash?new i.i(e,t):new i.u(e,t)}function kn(e){return"guarded"}function Pn(e){return[{provide:r.a,multi:!0,useValue:e},{provide:tn,multi:!0,useValue:e}]}let En=(()=>{class e{constructor(e){this.injector=e,this.initNavigation=!1,this.resultOfPreactivationDone=new f.a}appInitializer(){return this.injector.get(i.j,Promise.resolve(null)).then(()=>{let e=null;const t=new Promise(t=>e=t),n=this.injector.get(un),i=this.injector.get(wn);return"disabled"===i.initialNavigation?(n.setUpLocationChangeListener(),e(!0)):"enabled"===i.initialNavigation||"enabledBlocking"===i.initialNavigation?(n.hooks.afterPreactivation=()=>this.initNavigation?Object(s.a)(null):(this.initNavigation=!0,e(!0),this.resultOfPreactivationDone),n.initialNavigation()):e(!0),t})}bootstrapListener(e){const t=this.injector.get(wn),n=this.injector.get(vn),i=this.injector.get(Cn),o=this.injector.get(un),s=this.injector.get(r.g);e===s.components[0]&&("enabledNonBlocking"!==t.initialNavigation&&void 0!==t.initialNavigation||o.initialNavigation(),n.setUpPreloading(),i.init(),o.resetRootComponentType(s.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}}return e.\u0275fac=function(t){return new(t||e)(r.hc(r.s))},e.\u0275prov=r.Mb({token:e,factory:e.\u0275fac}),e})();function Dn(e){return e.appInitializer.bind(e)}function Mn(e){return e.bootstrapListener.bind(e)}const In=new r.r("Router Initializer")},u0cC:function(e,t,n){"use strict";n.d(t,"a",function(){return i});class i{static exchangeCNY2Currency(e,t){const n=Math.pow(10,t.CurrentDecimalPlaces);return Math.ceil(e/t.ratio*n)/n}static exchangePrice2CNY(e,t){const n=100*Math.pow(10,t.CurrentDecimalPlaces);return Math.floor(e*t.ratio*n)/n}static exchangePrice(e,t,n,i){if(!e)return e;const r=Object.assign({roundingMethod:"ceil",divide:!1},i),o=Math.pow(10,n);return Math[r.roundingMethod]((r.divide?e*t:e/t)*o)/o}static exchangeFilterPrice(e,t,n=!1){return this.exchangePrice(e,t,0,{divide:n,roundingMethod:"round"})}static multiPrice(e,t,n=0){return this.toFixed(e*t,n)}static toFixed(e,t=0){if("number"!=typeof e||Number.isInteger(e))return e;if(e.toString().split(".").pop().length<=t)return e;const n=Math.pow(10,t);return Math.round(e*n)/n}static safeAdd(e,...t){const n=this.getMaxFractionLen(e,...t),i=t.reduce((e,t)=>e+t,e);return this.toFixed(i,n)}static safeTimes(e,...t){const n=this.getMaxFractionLen(e,...t),i=t.reduce((e,t)=>e*t,e);return this.toFixed(i,n)}static getMaxFractionLen(...e){return Math.max(...e.map(e=>{var t;return(null===(t=null==e?void 0:e.toString().split(".").pop())||void 0===t?void 0:t.length)||0}))}}},u47x:function(e,t,n){"use strict";n.d(t,"a",function(){return O}),n.d(t,"b",function(){return y}),n.d(t,"c",function(){return g});var i=n("ofXK"),r=n("fXoL"),o=n("XNiG"),s=(n("quSY"),n("LRne")),a=(n("FtGj"),n("vkgz"),n("Kj3r"),n("pLZG"),n("lJxs"),n("IzEk")),c=n("8LU1"),l=n("nLfN"),u=n("GU7r");let d=(()=>{class e{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function(e){return!!(e.offsetWidth||e.offsetHeight||"function"==typeof e.getClientRects&&e.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const t=function(e){try{return e.frameElement}catch(t){return null}}((n=e).ownerDocument&&n.ownerDocument.defaultView||window);var n;if(t){if(-1===p(t))return!1;if(!this.isVisible(t))return!1}let i=e.nodeName.toLowerCase(),r=p(e);return e.hasAttribute("contenteditable")?-1!==r:"iframe"!==i&&"object"!==i&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(e){let t=e.nodeName.toLowerCase(),n="input"===t&&e.type;return"text"===n||"password"===n||"select"===t||"textarea"===t}(e))&&("audio"===i?!!e.hasAttribute("controls")&&-1!==r:"video"===i?-1!==r&&(null!==r||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,t){return function(e){return!function(e){return function(e){return"input"==e.nodeName.toLowerCase()}(e)&&"hidden"==e.type}(e)&&(function(e){let t=e.nodeName.toLowerCase();return"input"===t||"select"===t||"button"===t||"textarea"===t}(e)||function(e){return function(e){return"a"==e.nodeName.toLowerCase()}(e)&&e.hasAttribute("href")}(e)||e.hasAttribute("contenteditable")||h(e))}(e)&&!this.isDisabled(e)&&((null==t?void 0:t.ignoreVisibility)||this.isVisible(e))}}return e.\u0275fac=function(t){return new(t||e)(r.hc(l.a))},e.\u0275prov=Object(r.Mb)({factory:function(){return new e(Object(r.hc)(l.a))},token:e,providedIn:"root"}),e})();function h(e){if(!e.hasAttribute("tabindex")||void 0===e.tabIndex)return!1;let t=e.getAttribute("tabindex");return"-32768"!=t&&!(!t||isNaN(parseInt(t,10)))}function p(e){if(!h(e))return null;const t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}class f{constructor(e,t,n,i,r=!1){this._element=e,this._checker=t,this._ngZone=n,this._document=i,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,r||this.attachAnchors()}get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}destroy(){const e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),t&&(t.removeEventListener("focus",this.endAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement()))})}focusFirstTabbableElementWhenReady(){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement()))})}focusLastTabbableElementWhenReady(){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement()))})}_getRegionBoundary(e){let t=this._element.querySelectorAll(`[cdk-focus-region-${e}], [cdkFocusRegion${e}], [cdk-focus-${e}]`);for(let n=0;n=0;n--){let e=t[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[n]):null;if(e)return e}return null}_createAnchor(){const e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}_toggleAnchorTabIndex(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._ngZone.isStable?e():this._ngZone.onStable.pipe(Object(a.a)(1)).subscribe(e)}}let g=(()=>{class e{constructor(e,t,n){this._checker=e,this._ngZone=t,this._document=n}create(e,t=!1){return new f(e,this._checker,this._ngZone,this._document,t)}}return e.\u0275fac=function(t){return new(t||e)(r.hc(d),r.hc(r.B),r.hc(i.e))},e.\u0275prov=Object(r.Mb)({factory:function(){return new e(Object(r.hc)(d),Object(r.hc)(r.B),Object(r.hc)(i.e))},token:e,providedIn:"root"}),e})();"undefined"!=typeof Element&∈const b=new r.r("cdk-focus-monitor-default-options"),m=Object(l.e)({passive:!0,capture:!0});let y=(()=>{class e{constructor(e,t,n,i){this._ngZone=e,this._platform=t,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._documentKeydownListener=()=>{this._lastTouchTarget=null,this._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=e=>{if(!this._lastTouchTarget){const t=function(e){return 0===e.buttons}(e)?"keyboard":"mouse";this._setOriginForCurrentEventQueue(t)}},this._documentTouchstartListener=e=>{null!=this._touchTimeoutId&&clearTimeout(this._touchTimeoutId),this._lastTouchTarget=v(e),this._touchTimeoutId=setTimeout(()=>this._lastTouchTarget=null,650)},this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)},this._rootNodeFocusAndBlurListener=e=>{const t=v(e),n="focus"===e.type?this._onFocus:this._onBlur;for(let i=t;i;i=i.parentElement)n.call(this,e,i)},this._document=n,this._detectionMode=(null==i?void 0:i.detectionMode)||0}monitor(e,t=!1){const n=Object(c.e)(e);if(!this._platform.isBrowser||1!==n.nodeType)return Object(s.a)(null);const i=Object(l.c)(n)||this._getDocument(),r=this._elementInfo.get(n);if(r)return t&&(r.checkChildren=!0),r.subject;const a={checkChildren:t,subject:new o.a,rootNode:i};return this._elementInfo.set(n,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){const t=Object(c.e)(e),n=this._elementInfo.get(t);n&&(n.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(n))}focusVia(e,t,n){const i=Object(c.e)(e);i===this._getDocument().activeElement?this._getClosestElementsInfo(i).forEach(([e,n])=>this._originChanged(e,t,n)):(this._setOriginForCurrentEventQueue(t),"function"==typeof i.focus&&i.focus(n))}ngOnDestroy(){this._elementInfo.forEach((e,t)=>this.stopMonitoring(t))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_toggleClass(e,t,n){n?e.classList.add(t):e.classList.remove(t)}_getFocusOrigin(e){return this._origin?this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(e)?"touch":"program"}_setClasses(e,t){this._toggleClass(e,"cdk-focused",!!t),this._toggleClass(e,"cdk-touch-focused","touch"===t),this._toggleClass(e,"cdk-keyboard-focused","keyboard"===t),this._toggleClass(e,"cdk-mouse-focused","mouse"===t),this._toggleClass(e,"cdk-program-focused","program"===t)}_setOriginForCurrentEventQueue(e){this._ngZone.runOutsideAngular(()=>{this._origin=e,0===this._detectionMode&&(this._originTimeoutId=setTimeout(()=>this._origin=null,1))})}_wasCausedByTouch(e){const t=v(e);return this._lastTouchTarget instanceof Node&&t instanceof Node&&(t===this._lastTouchTarget||t.contains(this._lastTouchTarget))}_onFocus(e,t){const n=this._elementInfo.get(t);n&&(n.checkChildren||t===v(e))&&this._originChanged(t,this._getFocusOrigin(e),n)}_onBlur(e,t){const n=this._elementInfo.get(t);!n||n.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(n.subject,null))}_emitOrigin(e,t){this._ngZone.run(()=>e.next(t))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const t=e.rootNode,n=this._rootNodeFocusListenerCount.get(t)||0;n||this._ngZone.runOutsideAngular(()=>{t.addEventListener("focus",this._rootNodeFocusAndBlurListener,m),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,m)}),this._rootNodeFocusListenerCount.set(t,n+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular(()=>{const e=this._getDocument(),t=this._getWindow();e.addEventListener("keydown",this._documentKeydownListener,m),e.addEventListener("mousedown",this._documentMousedownListener,m),e.addEventListener("touchstart",this._documentTouchstartListener,m),t.addEventListener("focus",this._windowFocusListener)})}_removeGlobalListeners(e){const t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){const e=this._rootNodeFocusListenerCount.get(t);e>1?this._rootNodeFocusListenerCount.set(t,e-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,m),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,m),this._rootNodeFocusListenerCount.delete(t))}if(!--this._monitoredElementCount){const e=this._getDocument(),t=this._getWindow();e.removeEventListener("keydown",this._documentKeydownListener,m),e.removeEventListener("mousedown",this._documentMousedownListener,m),e.removeEventListener("touchstart",this._documentTouchstartListener,m),t.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}_originChanged(e,t,n){this._setClasses(e,t),this._emitOrigin(n.subject,t),this._lastFocusOrigin=t}_getClosestElementsInfo(e){const t=[];return this._elementInfo.forEach((n,i)=>{(i===e||n.checkChildren&&i.contains(e))&&t.push([i,n])}),t}}return e.\u0275fac=function(t){return new(t||e)(r.hc(r.B),r.hc(l.a),r.hc(i.e,8),r.hc(b,8))},e.\u0275prov=Object(r.Mb)({factory:function(){return new e(Object(r.hc)(r.B),Object(r.hc)(l.a),Object(r.hc)(i.e,8),Object(r.hc)(b,8))},token:e,providedIn:"root"}),e})();function v(e){return e.composedPath?e.composedPath()[0]:e.target}const C="cdk-high-contrast-black-on-white",w="cdk-high-contrast-white-on-black",S="cdk-high-contrast-active";let _=(()=>{class e{constructor(e,t){this._platform=e,this._document=t}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const t=this._document.defaultView||window,n=t&&t.getComputedStyle?t.getComputedStyle(e):null,i=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(e),i){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(S),e.remove(C),e.remove(w);const t=this.getHighContrastMode();1===t?(e.add(S),e.add(C)):2===t&&(e.add(S),e.add(w))}}}return e.\u0275fac=function(t){return new(t||e)(r.hc(l.a),r.hc(i.e))},e.\u0275prov=Object(r.Mb)({factory:function(){return new e(Object(r.hc)(l.a),Object(r.hc)(i.e))},token:e,providedIn:"root"}),e})(),O=(()=>{class e{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)(r.hc(_))},imports:[[l.b,u.b]]}),e})()},uGsb:function(e,t,n){var i,r,o,s,a,c,l,u;e.exports=(u=n("Ib8C"),n("MlIO"),n("1uat"),o=(r=(i=u).x64).Word,s=r.WordArray,l=(a=i.algo).SHA384=(c=a.SHA512).extend({_doReset:function(){this._hash=new s.init([new o.init(3418070365,3238371032),new o.init(1654270250,914150663),new o.init(2438529370,812702999),new o.init(355462360,4144912697),new o.init(1731405415,4290775857),new o.init(2394180231,1750603025),new o.init(3675008525,1694076839),new o.init(1203062813,3204075428)])},_doFinalize:function(){var e=c._doFinalize.call(this);return e.sigBytes-=16,e}}),i.SHA384=c._createHelper(l),i.HmacSHA384=c._createHmacHelper(l),u.SHA384)},uGxW:function(e,t,n){var i;e.exports=(i=n("Ib8C"),n("OLod"),i.pad.NoPadding={pad:function(){},unpad:function(){}},i.pad.NoPadding)},vRX4:function(e,t,n){"use strict";function i(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=t.match(e.matchPattern);if(!i)return null;var r=i[0],o=t.match(e.parsePattern);if(!o)return null;var s=e.valueCallback?e.valueCallback(o[0]):o[0];s=n.valueCallback?n.valueCallback(s):s;var a=t.slice(r.length);return{value:s,rest:a}}}n.d(t,"a",function(){return i})},vT00:function(e,t,n){var i,r,o;!function(s){if("object"==typeof e.exports){var a=s(0,t);void 0!==a&&(e.exports=a)}else r=[n,t],void 0===(o="function"==typeof(i=s)?i.apply(t,r):i)||(e.exports=o)}(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=void 0;t.default=["pt",[["AM","PM"],n,n],n,[["D","S","T","Q","Q","S","S"],["dom.","seg.","ter.","qua.","qui.","sex.","s\xe1b."],["domingo","segunda-feira","ter\xe7a-feira","quarta-feira","quinta-feira","sexta-feira","s\xe1bado"],["dom.","seg.","ter.","qua.","qui.","sex.","s\xe1b."]],n,[["J","F","M","A","M","J","J","A","S","O","N","D"],["jan.","fev.","mar.","abr.","mai.","jun.","jul.","ago.","set.","out.","nov.","dez."],["janeiro","fevereiro","mar\xe7o","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"]],n,[["a.C.","d.C."],n,["antes de Cristo","depois de Cristo"]],0,[6,0],["dd/MM/y","d 'de' MMM 'de' y","d 'de' MMMM 'de' y","EEEE, d 'de' MMMM 'de' y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}",n,n,n],[",",".",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4\xa0#,##0.00","#E0"],"BRL","R$","Real brasileiro",{AUD:["AU$","$"],JPY:["JP\xa5","\xa5"],PTE:["Esc."],RON:[n,"L"],SYP:[n,"S\xa3"],THB:["\u0e3f"],TWD:["NT$"],USD:["US$","$"]},"ltr",function(e){var t=Math.floor(Math.abs(e));return t===Math.floor(t)&&t>=0&&t<=1?1:5}]})},vkgz:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var i=n("7o/Q");function r(){}var o=n("n6bG");function s(e,t,n){return function(i){return i.lift(new a(e,t,n))}}class a{constructor(e,t,n){this.nextOrObserver=e,this.error=t,this.complete=n}call(e,t){return t.subscribe(new c(e,this.nextOrObserver,this.error,this.complete))}}class c extends i.a{constructor(e,t,n,i){super(e),this._tapNext=r,this._tapError=r,this._tapComplete=r,this._tapError=n||r,this._tapComplete=i||r,Object(o.a)(t)?(this._context=this,this._tapNext=t):t&&(this._context=t,this._tapNext=t.next||r,this._tapError=t.error||r,this._tapComplete=t.complete||r)}_next(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)}_error(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)}_complete(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}},vq9N:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i={};function r(){return i}},vxfF:function(e,t,n){"use strict";n.d(t,"a",function(){return Q}),n.d(t,"b",function(){return Z}),n.d(t,"c",function(){return q}),n.d(t,"d",function(){return G}),n.d(t,"e",function(){return te}),n.d(t,"f",function(){return K});var i=n("8LU1"),r=n("fXoL"),o=n("XNiG"),s=n("LRne"),a=n("HDdC"),c=n("xgIS"),l=n("3N8a");class u extends l.a{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,n=0){return null!==n&&n>0?super.requestAsyncId(e,t,n):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame(()=>e.flush(null))))}recycleAsyncId(e,t,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(e,t,n);0===e.actions.length&&(cancelAnimationFrame(t),e.scheduled=void 0)}}var d=n("IjjT");class h extends d.a{flush(e){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let n,i=-1,r=t.length;e=e||t.shift();do{if(n=e.execute(e.state,e.delay))break}while(++iPromise.resolve())(),b={};function m(e){return e in b&&(delete b[e],!0)}const y={setImmediate(e){const t=f++;return b[t]=!0,g.then(()=>m(t)&&e()),t},clearImmediate(e){m(e)}};class v extends l.a{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,n=0){return null!==n&&n>0?super.requestAsyncId(e,t,n):(e.actions.push(this),e.scheduled||(e.scheduled=y.setImmediate(e.flush.bind(e,null))))}recycleAsyncId(e,t,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(e,t,n);0===e.actions.length&&(y.clearImmediate(t),e.scheduled=void 0)}}class C extends d.a{flush(e){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let n,i=-1,r=t.length;e=e||t.shift();do{if(n=e.execute(e.state,e.delay))break}while(++i{let a,c;null==e.previousIndex?(a=this._insertView(()=>n(e,o,s),s,t,i(e)),c=a?1:0):null==s?(this._detachAndCacheView(o,t),c=3):(a=this._moveView(o,s,t,i(e)),c=2),r&&r({context:null==a?void 0:a.context,operation:c,record:e})})}detach(){for(const e of this._viewCache)e.destroy();this._viewCache=[]}_insertView(e,t,n,i){const r=this._insertViewFromCache(t,n);if(r)return void(r.context.$implicit=i);const o=e();return n.createEmbeddedView(o.templateRef,o.context,o.index)}_detachAndCacheView(e,t){const n=t.detach(e);this._maybeCacheView(n,t)}_moveView(e,t,n,i){const r=n.get(e);return n.move(r,t),r.context.$implicit=i,r}_maybeCacheView(e,t){if(this._viewCache.length0?r/this._itemSize:0;if(t.end>i){const e=Math.ceil(n/this._itemSize),s=Math.max(0,Math.min(o,i-e));o!=s&&(o=s,r=s*this._itemSize,t.start=Math.floor(o)),t.end=Math.max(0,Math.min(i,t.start+e))}const s=r-t.start*this._itemSize;if(s0&&(t.end=Math.min(i,t.end+n),t.start=Math.max(0,Math.floor(o-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(t),this._viewport.setRenderedContentOffset(this._itemSize*t.start),this._scrolledIndexChange.next(Math.floor(o))}}function $(e){return e._scrollStrategy}let Q=(()=>{class e{constructor(){this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new U(this.itemSize,this.minBufferPx,this.maxBufferPx)}get itemSize(){return this._itemSize}set itemSize(e){this._itemSize=Object(i.f)(e)}get minBufferPx(){return this._minBufferPx}set minBufferPx(e){this._minBufferPx=Object(i.f)(e)}get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(e){this._maxBufferPx=Object(i.f)(e)}ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r.Lb({type:e,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[r.Bb([{provide:H,useFactory:$,deps:[Object(r.V)(()=>e)]}]),r.Ab]}),e})(),G=(()=>{class e{constructor(e,t,n){this._ngZone=e,this._platform=t,this._scrolled=new o.a,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=n}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new a.a(t=>{this._globalSubscription||this._addGlobalListener();const n=e>0?this._scrolled.pipe(Object(x.a)(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Object(s.a)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,t)=>this.deregister(t)),this._scrolled.complete()}ancestorScrolled(e,t){const n=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(Object(z.a)(e=>!e||n.indexOf(e)>-1))}getAncestorScrollContainers(e){const t=[];return this.scrollContainers.forEach((n,i)=>{this._scrollableContainsElement(i,e)&&t.push(i)}),t}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,t){let n=Object(i.e)(t),r=e.getElementRef().nativeElement;do{if(n==r)return!0}while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const e=this._getWindow();return Object(c.a)(e.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return e.\u0275fac=function(t){return new(t||e)(r.hc(r.B),r.hc(A.a),r.hc(R.e,8))},e.\u0275prov=Object(r.Mb)({factory:function(){return new e(Object(r.hc)(r.B),Object(r.hc)(A.a),Object(r.hc)(R.e,8))},token:e,providedIn:"root"}),e})(),Y=(()=>{class e{constructor(e,t,n,i){this.elementRef=e,this.scrollDispatcher=t,this.ngZone=n,this.dir=i,this._destroyed=new o.a,this._elementScrolled=new a.a(e=>this.ngZone.runOutsideAngular(()=>Object(c.a)(this.elementRef.nativeElement,"scroll").pipe(Object(T.a)(this._destroyed)).subscribe(e)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){const t=this.elementRef.nativeElement,n=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=n?e.end:e.start),null==e.right&&(e.right=n?e.start:e.end),null!=e.bottom&&(e.top=t.scrollHeight-t.clientHeight-e.bottom),n&&0!=Object(A.d)()?(null!=e.left&&(e.right=t.scrollWidth-t.clientWidth-e.left),2==Object(A.d)()?e.left=e.right:1==Object(A.d)()&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=t.scrollWidth-t.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){const t=this.elementRef.nativeElement;Object(A.f)()?t.scrollTo(e):(null!=e.top&&(t.scrollTop=e.top),null!=e.left&&(t.scrollLeft=e.left))}measureScrollOffset(e){const t="left",n="right",i=this.elementRef.nativeElement;if("top"==e)return i.scrollTop;if("bottom"==e)return i.scrollHeight-i.clientHeight-i.scrollTop;const r=this.dir&&"rtl"==this.dir.value;return"start"==e?e=r?n:t:"end"==e&&(e=r?t:n),r&&2==Object(A.d)()?e==t?i.scrollWidth-i.clientWidth-i.scrollLeft:i.scrollLeft:r&&1==Object(A.d)()?e==t?i.scrollLeft+i.scrollWidth-i.clientWidth:-i.scrollLeft:e==t?i.scrollLeft:i.scrollWidth-i.clientWidth-i.scrollLeft}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.l),r.Qb(G),r.Qb(r.B),r.Qb(j.c,8))},e.\u0275dir=r.Lb({type:e,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),e})(),K=(()=>{class e{constructor(e,t,n){this._platform=e,this._change=new o.a,this._changeListener=e=>{this._change.next(e)},this._document=n,t.runOutsideAngular(()=>{if(e.isBrowser){const e=this._getWindow();e.addEventListener("resize",this._changeListener),e.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._updateViewportSize())})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:t,height:n}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+n,right:e.left+t,height:n,width:t}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,t=this._getWindow(),n=e.documentElement,i=n.getBoundingClientRect();return{top:-i.top||e.body.scrollTop||t.scrollY||n.scrollTop||0,left:-i.left||e.body.scrollLeft||t.scrollX||n.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(Object(x.a)(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return e.\u0275fac=function(t){return new(t||e)(r.hc(A.a),r.hc(r.B),r.hc(R.e,8))},e.\u0275prov=Object(r.Mb)({factory:function(){return new e(Object(r.hc)(A.a),Object(r.hc)(r.B),Object(r.hc)(R.e,8))},token:e,providedIn:"root"}),e})();const X="undefined"!=typeof requestAnimationFrame?p:w;let q=(()=>{class e extends Y{constructor(e,t,n,i,r,s,c){super(e,s,n,r),this.elementRef=e,this._changeDetectorRef=t,this._scrollStrategy=i,this._detachedSubject=new o.a,this._renderedRangeSubject=new o.a,this._orientation="vertical",this.scrolledIndexChange=new a.a(e=>this._scrollStrategy.scrolledIndexChange.subscribe(t=>Promise.resolve().then(()=>this.ngZone.run(()=>e.next(t))))),this.renderedRangeStream=this._renderedRangeSubject,this._totalContentSize=0,this._totalContentWidth="",this._totalContentHeight="",this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],this._viewportChanges=S.a.EMPTY,this._viewportChanges=c.change().subscribe(()=>{this.checkViewportSize()})}get orientation(){return this._orientation}set orientation(e){this._orientation!==e&&(this._orientation=e,this._calculateSpacerSize())}ngOnInit(){super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.elementScrolled().pipe(Object(k.a)(null),Object(x.a)(0,X)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()}))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(e){this.ngZone.runOutsideAngular(()=>{this._forOf=e,this._forOf.dataStream.pipe(Object(T.a)(this._detachedSubject)).subscribe(e=>{const t=e.length;t!==this._dataLength&&(this._dataLength=t,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}setTotalContentSize(e){this._totalContentSize!==e&&(this._totalContentSize=e,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(e){var t,n;((t=this._renderedRange).start!=(n=e).start||t.end!=n.end)&&(this._renderedRangeSubject.next(this._renderedRange=e),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(e,t="to-start"){const n="horizontal"==this.orientation,i=n?"X":"Y";let r=`translate${i}(${Number((n&&this.dir&&"rtl"==this.dir.value?-1:1)*e)}px)`;this._renderedContentOffset=e,"to-end"===t&&(r+=` translate${i}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=r&&(this._renderedContentTransform=r,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(e,t="auto"){const n={behavior:t};"horizontal"===this.orientation?n.start=e:n.top=e,this.scrollTo(n)}scrollToIndex(e,t="auto"){this._scrollStrategy.scrollToIndex(e,t)}measureScrollOffset(e){return super.measureScrollOffset(e||("horizontal"===this.orientation?"start":"top"))}measureRenderedContentSize(){const e=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?e.offsetWidth:e.offsetHeight}measureRangeSize(e){return this._forOf?this._forOf.measureRangeSize(e,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){const e=this.elementRef.nativeElement;this._viewportSize="horizontal"===this.orientation?e.clientWidth:e.clientHeight}_markChangeDetectionNeeded(e){e&&this._runAfterChangeDetection.push(e),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._doChangeDetection()})))}_doChangeDetection(){this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run(()=>this._changeDetectorRef.markForCheck());const e=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const t of e)t()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.l),r.Qb(r.h),r.Qb(r.B),r.Qb(H,8),r.Qb(j.c,8),r.Qb(G),r.Qb(K))},e.\u0275cmp=r.Kb({type:e,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(e,t){if(1&e&&r.Xc(B,3),2&e){let e;r.Dc(e=r.mc())&&(t._contentWrapper=e.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(e,t){2&e&&r.Ib("cdk-virtual-scroll-orientation-horizontal","horizontal"===t.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==t.orientation)},inputs:{orientation:"orientation"},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[r.Bb([{provide:Y,useExisting:e}]),r.zb],ngContentSelectors:W,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(e,t){1&e&&(r.vc(),r.Wb(0,"div",0,1),r.uc(2),r.Vb(),r.Rb(3,"div",2)),2&e&&(r.Cb(3),r.Nc("width",t._totalContentWidth)("height",t._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;overflow:auto;contain:strict;transform:translateZ(0);will-change:scroll-position;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{position:absolute;top:0;left:0;height:1px;width:1px;transform-origin:0 0}[dir=rtl] .cdk-virtual-scroll-spacer{right:0;left:auto;transform-origin:100% 0}\n"],encapsulation:2,changeDetection:0}),e})();function J(e,t,n){if(!n.getBoundingClientRect)return 0;const i=n.getBoundingClientRect();return"horizontal"===e?"start"===t?i.left:i.right:"start"===t?i.top:i.bottom}let Z=(()=>{class e{constructor(e,t,n,i,r,s){this._viewContainerRef=e,this._template=t,this._differs=n,this._viewRepeater=i,this._viewport=r,this.viewChange=new o.a,this._dataSourceChanges=new o.a,this.dataStream=this._dataSourceChanges.pipe(Object(k.a)(null),e=>e.lift(new E),Object(M.a)(([e,t])=>this._changeDataSource(e,t)),function(e,t,n){let i;return i={bufferSize:1,windowTime:void 0,refCount:!1,scheduler:void 0},e=>e.lift(function({bufferSize:e=Number.POSITIVE_INFINITY,windowTime:t=Number.POSITIVE_INFINITY,refCount:n,scheduler:i}){let r,o,s=0,a=!1,c=!1;return function(l){s++,r&&!a||(a=!1,r=new I.a(e,t,i),o=l.subscribe({next(e){r.next(e)},error(e){a=!0,r.error(e)},complete(){c=!0,o=void 0,r.complete()}}));const u=r.subscribe(this);this.add(()=>{s--,u.unsubscribe(),o&&!c&&n&&0===s&&(o.unsubscribe(),o=void 0,r=void 0)})}}(i))}()),this._differ=null,this._needsUpdate=!1,this._destroyed=new o.a,this.dataStream.subscribe(e=>{this._data=e,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe(Object(T.a)(this._destroyed)).subscribe(e=>{this._renderedRange=e,s.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(e){this._cdkVirtualForOf=e,function(e){return e&&"function"==typeof e.connect}(e)?this._dataSourceChanges.next(e):this._dataSourceChanges.next(new L(Object(_.a)(e)?e:Array.from(e||[])))}get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(e){this._needsUpdate=!0,this._cdkVirtualForTrackBy=e?(t,n)=>e(t+(this._renderedRange?this._renderedRange.start:0),n):void 0}set cdkVirtualForTemplate(e){e&&(this._needsUpdate=!0,this._template=e)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(e){this._viewRepeater.viewCacheSize=Object(i.f)(e)}measureRangeSize(e,t){if(e.start>=e.end)return 0;const n=e.start-this._renderedRange.start,i=e.end-e.start;let r,o;for(let s=0;s-1;s--){const e=this._viewContainerRef.get(s+n);if(e&&e.rootNodes.length){o=e.rootNodes[e.rootNodes.length-1];break}}return r&&o?J(t,"end",o)-J(t,"start",r):0}ngDoCheck(){if(this._differ&&this._needsUpdate){const e=this._differ.diff(this._renderedItems);e?this._applyChanges(e):this._updateContext(),this._needsUpdate=!1}}ngOnDestroy(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach()}_onRenderedDataChange(){this._renderedRange&&(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create((e,t)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(e,t):t)),this._needsUpdate=!0)}_changeDataSource(e,t){return e&&e.disconnect(this),this._needsUpdate=!0,t?t.connect(this):Object(s.a)()}_updateContext(){const e=this._data.length;let t=this._viewContainerRef.length;for(;t--;){const n=this._viewContainerRef.get(t);n.context.index=this._renderedRange.start+t,n.context.count=e,this._updateComputedContextProperties(n.context),n.detectChanges()}}_applyChanges(e){this._viewRepeater.applyChanges(e,this._viewContainerRef,(e,t,n)=>this._getEmbeddedViewArgs(e,n),e=>e.item),e.forEachIdentityChange(e=>{this._viewContainerRef.get(e.currentIndex).context.$implicit=e.item});const t=this._data.length;let n=this._viewContainerRef.length;for(;n--;){const e=this._viewContainerRef.get(n);e.context.index=this._renderedRange.start+n,e.context.count=t,this._updateComputedContextProperties(e.context)}}_updateComputedContextProperties(e){e.first=0===e.index,e.last=e.index===e.count-1,e.even=e.index%2==0,e.odd=!e.even}_getEmbeddedViewArgs(e,t){return{templateRef:this._template,context:{$implicit:e.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:t}}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.R),r.Qb(r.N),r.Qb(r.t),r.Qb(F),r.Qb(q,4),r.Qb(r.B))},e.\u0275dir=r.Lb({type:e,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"},features:[r.Bb([{provide:F,useClass:N}])]}),e})(),ee=(()=>{class e{}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)}}),e})(),te=(()=>{class e{}return e.\u0275mod=r.Ob({type:e}),e.\u0275inj=r.Nb({factory:function(t){return new(t||e)},imports:[[j.a,A.b,ee],j.a,ee]}),e})()},w1tV:function(e,t,n){"use strict";n.d(t,"a",function(){return f});var i=n("XNiG"),r=n("HDdC"),o=n("7o/Q"),s=n("quSY");function a(){return function(e){return e.lift(new c(e))}}class c{constructor(e){this.connectable=e}call(e,t){const{connectable:n}=this;n._refCount++;const i=new l(e,n),r=t.subscribe(i);return i.closed||(i.connection=n.connect()),r}}class l extends o.a{constructor(e,t){super(e),this.connectable=t}_unsubscribe(){const{connectable:e}=this;if(!e)return void(this.connection=null);this.connectable=null;const t=e._refCount;if(t<=0)return void(this.connection=null);if(e._refCount=t-1,t>1)return void(this.connection=null);const{connection:n}=this,i=e._connection;this.connection=null,!i||n&&i!==n||i.unsubscribe()}}class u extends r.a{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._refCount=0,this._isComplete=!1}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let e=this._connection;return e||(this._isComplete=!1,e=this._connection=new s.a,e.add(this.source.subscribe(new h(this.getSubject(),this))),e.closed&&(this._connection=null,e=s.a.EMPTY)),e}refCount(){return a()(this)}}const d=(()=>{const e=u.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}})();class h extends i.b{constructor(e,t){super(e),this.connectable=t}_error(e){this._unsubscribe(),super._error(e)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const e=this.connectable;if(e){this.connectable=null;const t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}function p(){return new i.a}function f(){return e=>{return a()((t=p,function(e){let n;n="function"==typeof t?t:function(){return t};const i=Object.create(e,d);return i.source=e,i.subjectFactory=n,i})(e));var t}}},w3qX:function(e,t,n){"use strict";n.d(t,"b",function(){return i}),n.d(t,"a",function(){return r}),n.d(t,"c",function(){return o}),Math.pow(10,8);var i=6e4,r=36e5,o=1e3},w7YG:function(e,t,n){var i;e.exports=(i=n("Ib8C"),n("ETIr"),n("cv67"),n("K3mO"),n("OLod"),function(){var e=i,t=e.lib.StreamCipher,n=e.algo,r=n.RC4=t.extend({_doReset:function(){for(var e=this._key,t=e.words,n=e.sigBytes,i=this._S=[],r=0;r<256;r++)i[r]=r;r=0;for(var o=0;r<256;r++){var s=r%n,a=i[r];i[r]=i[o=(o+i[r]+(t[s>>>2]>>>24-s%4*8&255))%256],i[o]=a}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=o.call(this)},keySize:8,ivSize:0});function o(){for(var e=this._S,t=this._i,n=this._j,i=0,r=0;r<4;r++){var o=e[t=(t+1)%256];e[t]=e[n=(n+e[t])%256],e[n]=o,i|=e[(e[t]+e[n])%256]<<24-8*r}return this._i=t,this._j=n,i}e.RC4=t._createHelper(r);var s=n.RC4Drop=r.extend({cfg:r.cfg.extend({drop:192}),_doReset:function(){r._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)o.call(this)}});e.RC4Drop=t._createHelper(s)}(),i.RC4)},wH4j:function(e){e.exports=JSON.parse('[{"code":"AD","nationality":"Andorra","prefix":"376","name":"Andorra","name_cn":"\u5b89\u9053\u5c14","currency":"EUR"},{"code":"AE","nationality":"Emirati","prefix":"971","name":"United Arab Emirates","name_cn":"\u963f\u8054\u914b","currency":"AED"},{"code":"AF","nationality":"Afghan","prefix":"93","name":"Afghanistan","name_cn":"\u963f\u5bcc\u6c57"},{"code":"AG","nationality":"Antigua and barbuda","prefix":"1268","name":"Antigua & Barbuda","name_cn":"\u5b89\u63d0\u74dc\u548c\u5df4\u5e03\u8fbe"},{"code":"AI","nationality":"Anguilla","prefix":"1264","name":"Anguilla","name_cn":"\u5b89\u572d\u62c9"},{"code":"AL","nationality":"Albanian","prefix":"355","name":"Albania","name_cn":"\u963f\u5c14\u5df4\u5c3c\u4e9a"},{"code":"AM","nationality":"Armenian","prefix":"374","name":"Armenia","name_cn":"\u4e9a\u7f8e\u5c3c\u4e9a"},{"code":"AN","nationality":"Of the Netherlands Antilles","prefix":"599","name":"Netherlands Antilles","name_cn":"\u8377\u5c5e\u5b89\u7684\u5217\u65af\u7fa4\u5c9b"},{"code":"AO","nationality":"Angolan","prefix":"244","name":"Angola","name_cn":"\u5b89\u54e5\u62c9"},{"code":"AR","nationality":"Argentine","prefix":"54","name":"Argentina","name_cn":"\u963f\u6839\u5ef7"},{"code":"AS","nationality":"American Samoan","prefix":"1684","name":"American Samoa","name_cn":"\u7f8e\u5c5e\u8428\u6469\u4e9a"},{"code":"AT","nationality":"Austrian","prefix":"43","name":"Austria","name_cn":"\u5965\u5730\u5229","currency":"EUR"},{"code":"AU","nationality":"Australian","prefix":"61","name":"Australia","name_cn":"\u6fb3\u5927\u5229\u4e9a","currency":"AUD"},{"code":"AW","nationality":"Aruba","prefix":"297","name":"Aruba","name_cn":"\u963f\u9c81\u5df4"},{"code":"AZ","nationality":"azerbaijani","prefix":"994","name":"Azerbaijan","name_cn":"\u963f\u585e\u62dc\u7586"},{"code":"BA","nationality":"Bosnia and herzegovina","prefix":"387","name":"Bosnia and Herzegovina","name_cn":"\u6ce2\u65af\u5c3c\u4e9a\u548c\u9ed1\u585e\u54e5\u7ef4\u90a3"},{"code":"BB","nationality":"Barbadosian","prefix":"1246","name":"Barbados","name_cn":"\u5df4\u5df4\u591a\u65af"},{"code":"BD","nationality":"bangladeshi","prefix":"880","name":"Bangladesh","name_cn":"\u5b5f\u52a0\u62c9\u56fd"},{"code":"BE","nationality":"Belgian","prefix":"32","name":"Belgium","name_cn":"\u6bd4\u5229\u65f6","currency":"EUR"},{"code":"BF","nationality":"Burkina faso","prefix":"226","name":"Burkina Faso","name_cn":"\u5e03\u57fa\u7eb3\u6cd5\u7d22"},{"code":"BG","nationality":"Bulgarian","prefix":"359","name":"Bulgaria","name_cn":"\u4fdd\u52a0\u5229\u4e9a"},{"code":"BH","nationality":"The people of bahrain","prefix":"973","name":"Bahrain","name_cn":"\u5df4\u6797","currency":"BHD"},{"code":"BI","nationality":"burundian","prefix":"257","name":"Burundi","name_cn":"\u5e03\u9686\u8fea"},{"code":"BJ","nationality":"Benin people","prefix":"229","name":"Benin","name_cn":"\u8d1d\u5b81"},{"code":"BN","nationality":"The brunei people","prefix":"673","name":"Brunei","name_cn":"\u6587\u83b1","currency":"BND"},{"code":"BO","nationality":"Bolivian","prefix":"591","name":"Bolivia","name_cn":"\u73bb\u5229\u7ef4\u4e9a"},{"code":"BQ","nationality":"Dutch Caribbean","prefix":"599","name":"Bonaire St. Eustatius and Saba","name_cn":"\u8377\u5170\u52a0\u52d2\u6bd4\u533a","currency":"EUR"},{"code":"BR","nationality":"Brazilian","prefix":"55","name":"Brazil","name_cn":"\u5df4\u897f","currency":"BRL"},{"code":"BS","nationality":"bahamian","prefix":"1242","name":"Bahamas","name_cn":"\u5df4\u54c8\u9a6c"},{"code":"BT","nationality":"bhutanese","prefix":"975","name":"Bhutan","name_cn":"\u4e0d\u4e39"},{"code":"BW","nationality":"Botswana","prefix":"267","name":"Botswana","name_cn":"\u535a\u8328\u74e6\u7eb3"},{"code":"BY","nationality":"byelorussian","prefix":"375","name":"Belarus","name_cn":"\u767d\u4fc4\u7f57\u65af"},{"code":"BZ","nationality":"belizean","prefix":"501","name":"Belize","name_cn":"\u4f2f\u5229\u5179"},{"code":"CA","nationality":"Canadian","prefix":"1","name":"Canada","name_cn":"\u52a0\u62ff\u5927","currency":"CAD"},{"code":"CC","nationality":"The cocos islands","prefix":"61","name":"Cocos (K) I.","name_cn":"\u79d1\u79d1\u65af\u7fa4\u5c9b"},{"code":"CD","nationality":"The democratic republic of Congo","prefix":"243","name":"Democratic Republic of the Congo","name_cn":"\u521a\u679c\uff08\u91d1\uff09"},{"code":"CF","nationality":"Of the central African republic","prefix":"236","name":"Central Africa Republic","name_cn":"\u4e2d\u975e\u5171\u548c\u56fd"},{"code":"CG","nationality":"The people of the republic of Congo","prefix":"242","name":"Congo","name_cn":"\u521a\u679c\uff08\u5e03\uff09"},{"code":"CH","nationality":"Swiss","prefix":"41","name":"Switzerland","name_cn":"\u745e\u58eb","currency":"CHF"},{"code":"CI","nationality":"ivorian","prefix":"225","name":"Ivory Coast","name_cn":"\u79d1\u7279\u8fea\u74e6"},{"code":"CK","nationality":"Cook islands","prefix":"682","name":"Cook Islands","name_cn":"\u5e93\u514b\u7fa4\u5c9b"},{"code":"CL","nationality":"Chilean","prefix":"56","name":"Chile","name_cn":"\u667a\u5229"},{"code":"CM","nationality":"cameroonian","prefix":"237","name":"Cameroon","name_cn":"\u5580\u9ea6\u9686"},{"code":"CN","nationality":"Chinese (Mainland)","prefix":"86","name":"China","name_cn":"\u4e2d\u56fd\u5927\u9646","currency":"CNY"},{"code":"CO","nationality":"Colombian","prefix":"57","name":"Colombia","name_cn":"\u54e5\u4f26\u6bd4\u4e9a"},{"code":"CR","nationality":"Costa ricans","prefix":"506","name":"Costa Rica","name_cn":"\u54e5\u65af\u8fbe\u9ece\u52a0"},{"code":"CU","nationality":"Cuban","prefix":"53","name":"Cuba","name_cn":"\u53e4\u5df4"},{"code":"CV","nationality":"The cape verdeans","prefix":"238","name":"Cape Verde","name_cn":"\u4f5b\u5f97\u89d2"},{"code":"CW","nationality":"Curacao","prefix":"599","name":"Cura\xe7ao","name_cn":"\u5e93\u62c9\u7d22"},{"code":"CY","nationality":"Cypriot","prefix":"357","name":"Cyprus","name_cn":"\u585e\u6d66\u8def\u65af","currency":"EUR"},{"code":"CZ","nationality":"Czech","prefix":"420","name":"Czech Republic","name_cn":"\u6377\u514b"},{"code":"DE","nationality":"German","prefix":"49","name":"Germany","name_cn":"\u5fb7\u56fd","currency":"EUR"},{"code":"DJ","nationality":"Djibouti","prefix":"253","name":"Djibouti","name_cn":"\u5409\u5e03\u63d0"},{"code":"DK","nationality":"Danish","prefix":"45","name":"Denmark","name_cn":"\u4e39\u9ea6","currency":"DKK"},{"code":"DO","nationality":"dominicans","prefix":"1849","name":"Dominican Republic","name_cn":"\u591a\u7c73\u5c3c\u52a0"},{"code":"DZ","nationality":"Algerian","prefix":"213","name":"Algeria","name_cn":"\u963f\u5c14\u53ca\u5229\u4e9a"},{"code":"EC","nationality":"Ecuadorian","prefix":"593","name":"Ecuador","name_cn":"\u5384\u74dc\u591a\u5c14"},{"code":"EE","nationality":"esthonian","prefix":"372","name":"Estonia","name_cn":"\u7231\u6c99\u5c3c\u4e9a","currency":"EUR"},{"code":"EG","nationality":"Egyptian","prefix":"20","name":"Egypt","name_cn":"\u57c3\u53ca","currency":"EGP"},{"code":"EH","nationality":"Western Saharans","prefix":"212","name":"Western Sahara","name_cn":"\u897f\u6492\u54c8\u62c9"},{"code":"ER","nationality":"Eritrean","prefix":"291","name":"Eritrea","name_cn":"\u5384\u7acb\u7279\u91cc\u4e9a"},{"code":"ES","nationality":"Spanish","prefix":"34","name":"Spain","name_cn":"\u897f\u73ed\u7259","currency":"EUR"},{"code":"ET","nationality":"Ethiopian","prefix":"251","name":"Ethiopia","name_cn":"\u57c3\u585e\u4fc4\u6bd4\u4e9a"},{"code":"FI","nationality":"Finnish","prefix":"358","name":"Finland","name_cn":"\u82ac\u5170","currency":"EUR"},{"code":"FJ","nationality":"Fijian","prefix":"679","name":"Fiji","name_cn":"\u6590\u6d4e"},{"code":"FK","nationality":"Falklands","prefix":"500","name":"Falkland Islands (Malvinas)","name_cn":"\u798f\u514b\u5170\u7fa4\u5c9b"},{"code":"FM","nationality":"Micronesian","prefix":"691","name":"Micronesia","name_cn":"\u5bc6\u514b\u7f57\u5c3c\u897f\u4e9a"},{"code":"FO","nationality":"Faroese","prefix":"298","name":"Faroe Islands","name_cn":"\u6cd5\u7f57\u7fa4\u5c9b"},{"code":"FR","nationality":"French","prefix":"33","name":"France","name_cn":"\u6cd5\u56fd","currency":"EUR"},{"code":"FW","nationality":"French west Indies","name":"French Antilles","name_cn":"\u6cd5\u5c5e\u5b89\u7684\u5217\u65af\u7fa4\u5c9b","currency":"EUR"},{"code":"GA","nationality":"The gabonese","prefix":"241","name":"Gabon","name_cn":"\u52a0\u84ec"},{"code":"GB","nationality":"British","prefix":"44","name":"United Kingdom","name_cn":"\u82f1\u56fd","currency":"GBP"},{"code":"GD","nationality":"Grenada","prefix":"1473","name":"Grenada","name_cn":"\u683c\u6797\u7eb3\u8fbe"},{"code":"GE","nationality":"Georgian","prefix":"995","name":"Georgia","name_cn":"\u683c\u9c81\u5409\u4e9a"},{"code":"GF","nationality":"French Guiana","prefix":"594","name":"French Guiana","name_cn":"\u6cd5\u5c5e\u572d\u4e9a\u90a3"},{"code":"GG","nationality":"Guernsey","prefix":"44","name":"Guernsey","name_cn":"\u683c\u6069\u897f\u5c9b"},{"code":"GH","nationality":"The ghanaian","prefix":"233","name":"Ghana","name_cn":"\u52a0\u7eb3"},{"code":"GI","nationality":"Gibraltarian","prefix":"350","name":"Gibraltar","name_cn":"\u76f4\u5e03\u7f57\u9640"},{"code":"GL","nationality":"greenlandic","prefix":"299","name":"Greenland","name_cn":"\u683c\u9675\u5170"},{"code":"GM","nationality":"gambian","prefix":"220","name":"Gambia","name_cn":"\u5188\u6bd4\u4e9a"},{"code":"GN","nationality":"guinean","prefix":"224","name":"Guinea","name_cn":"\u51e0\u5185\u4e9a"},{"code":"GP","nationality":"Guadeloupe","prefix":"590","name":"Guadeloupe","name_cn":"\u74dc\u5fb7\u7f57\u666e\u5c9b"},{"code":"GQ","nationality":"Equatorial guinean","prefix":"240","name":"Equatorial Guinea","name_cn":"\u8d64\u9053\u51e0\u5185\u4e9a"},{"code":"GR","nationality":"Greek","prefix":"30","name":"Greece","name_cn":"\u5e0c\u814a","currency":"EUR"},{"code":"GS","nationality":"South Georgia","prefix":"500","name":"South Georgia and the South Sandwi\u2026","name_cn":"\u5357\u4e54\u6cbb\u4e9a\u5c9b"},{"code":"GT","nationality":"Guatemalan","prefix":"502","name":"Guatemala","name_cn":"\u5371\u5730\u9a6c\u62c9"},{"code":"GU","nationality":"People of Guam","prefix":"1671","name":"Guam","name_cn":"\u5173\u5c9b"},{"code":"GW","nationality":"Guinea-bissau","prefix":"245","name":"Guinea-Bissau","name_cn":"\u51e0\u5185\u4e9a\u6bd4\u7ecd"},{"code":"GY","nationality":"Guyanese","prefix":"592","name":"Guyana","name_cn":"\u572d\u4e9a\u90a3"},{"code":"HK","nationality":"Chinese (Hong Kong)","prefix":"852","name":"Hong Kong (China)","name_cn":"\u4e2d\u56fd\u9999\u6e2f","currency":"HKD"},{"code":"HM","nationality":"The people of hurd and MacDonald","prefix":"692","name":"Heard and McDonald Islands","name_cn":"\u8d6b\u5fb7\u5c9b\u548c\u9ea6\u514b\u5510\u7eb3\u7fa4\u5c9b"},{"code":"HN","nationality":"honduran","prefix":"504","name":"Honduras","name_cn":"\u6d2a\u90fd\u62c9\u65af"},{"code":"HR","nationality":"Croatian","prefix":"385","name":"Croatia","name_cn":"\u514b\u7f57\u5730\u4e9a"},{"code":"HT","nationality":"Haitian","prefix":"509","name":"Haiti","name_cn":"\u6d77\u5730"},{"code":"HU","nationality":"Hungarian","prefix":"36","name":"Hungary","name_cn":"\u5308\u7259\u5229"},{"code":"ID","nationality":"Indonesian","prefix":"62","name":"Indonesia","name_cn":"\u5370\u5ea6\u5c3c\u897f\u4e9a","currency":"IDR"},{"code":"IE","nationality":"Irish","prefix":"353","name":"Ireland","name_cn":"\u7231\u5c14\u5170","currency":"EUR"},{"code":"IL","nationality":"Israeli","prefix":"972","name":"Israel","name_cn":"\u4ee5\u8272\u5217"},{"code":"IN","nationality":"Indian","prefix":"91","name":"India","name_cn":"\u5370\u5ea6","currency":"INR"},{"code":"IO","nationality":"British Indian Ocean territory","prefix":"246","name":"British Indian Ocean Territory","name_cn":"\u82f1\u5c5e\u5370\u5ea6\u6d0b\u9886\u5730"},{"code":"IQ","nationality":"Iraqi","prefix":"964","name":"Iraq","name_cn":"\u4f0a\u62c9\u514b"},{"code":"IR","nationality":"Iranian","prefix":"98","name":"Iran","name_cn":"\u4f0a\u6717"},{"code":"IS","nationality":"Icelanders","prefix":"354","name":"Iceland","name_cn":"\u51b0\u5c9b"},{"code":"IT","nationality":"Italian","prefix":"39","name":"Italy","name_cn":"\u610f\u5927\u5229","currency":"EUR"},{"code":"JE","nationality":"jersey","prefix":"44","name":"Jersey","name_cn":"\u6cfd\u897f\u5c9b"},{"code":"JM","nationality":"Jamaican","prefix":"1876","name":"Jamaica","name_cn":"\u7259\u4e70\u52a0"},{"code":"JO","nationality":"The Jordanian","prefix":"962","name":"Jordan","name_cn":"\u7ea6\u65e6"},{"code":"JP","nationality":"Japanese","prefix":"81","name":"Japan","name_cn":"\u65e5\u672c","currency":"JPY"},{"code":"KE","nationality":"Kenyan","prefix":"254","name":"Kenya","name_cn":"\u80af\u5c3c\u4e9a","currency":"KES"},{"code":"KG","nationality":"Kyrgyz","prefix":"996","name":"Kyrgyzstan","name_cn":"\u5409\u5c14\u5409\u65af\u65af\u5766"},{"code":"KH","nationality":"Cambodian","prefix":"855","name":"Cambodia","name_cn":"\u67ec\u57d4\u5be8"},{"code":"KI","nationality":"Kiribati","prefix":"686","name":"Kiribati","name_cn":"\u57fa\u91cc\u5df4\u65af"},{"code":"KM","nationality":"The comoros","prefix":"269","name":"Comoros","name_cn":"\u79d1\u6469\u7f57"},{"code":"KN","nationality":"Saint kitts and nevis","prefix":"1869","name":"Saint Kitts and Nevis","name_cn":"\u5723\u57fa\u8328\u548c\u5c3c\u7ef4\u65af"},{"code":"KP","nationality":"The north koreans","prefix":"850","name":"North Korea","name_cn":"\u671d\u9c9c"},{"code":"KR","nationality":"Korean","prefix":"82","name":"South Korea","name_cn":"\u97e9\u56fd","currency":"KRW"},{"code":"XK","nationality":"kosovar","prefix":"383","name":"Kosovo","name_cn":"\u79d1\u7d22\u6c83","currency":"EUR"},{"code":"KW","nationality":"Kuwaiti","prefix":"965","name":"Kuwait","name_cn":"\u79d1\u5a01\u7279","currency":"KWD"},{"code":"KY","nationality":"The cayman islands","prefix":"1345","name":"Cayman Islands","name_cn":"\u5f00\u66fc\u7fa4\u5c9b"},{"code":"KZ","nationality":"Kazakhs","prefix":"7","name":"Kazakhstan","name_cn":"\u54c8\u8428\u514b\u65af\u5766"},{"code":"LA","nationality":"Lao","prefix":"856","name":"Laos","name_cn":"\u8001\u631d"},{"code":"LB","nationality":"Lebanese","prefix":"961","name":"Lebanon","name_cn":"\u9ece\u5df4\u5ae9"},{"code":"LC","nationality":"Saint Lucia","prefix":"1758","name":"Saint Lucia","name_cn":"\u5723\u5362\u897f\u4e9a\u5c9b"},{"code":"LI","nationality":"Liechtenstein","prefix":"423","name":"Liechtenstein","name_cn":"\u5217\u652f\u6566\u58eb\u767b"},{"code":"LK","nationality":"Sri Lankan","prefix":"94","name":"Sri Lanka","name_cn":"\u65af\u91cc\u5170\u5361"},{"code":"LR","nationality":"liberian","prefix":"231","name":"Liberia","name_cn":"\u5229\u6bd4\u91cc\u4e9a"},{"code":"LS","nationality":"Lesotho","prefix":"266","name":"Lesotho","name_cn":"\u83b1\u7d22\u6258"},{"code":"LT","nationality":"Lithuanian","prefix":"370","name":"Lithuania","name_cn":"\u7acb\u9676\u5b9b","currency":"EUR"},{"code":"LU","nationality":"luxemburger","prefix":"352","name":"Luxembourg","name_cn":"\u5362\u68ee\u5821","currency":"EUR"},{"code":"LV","nationality":"latvian","prefix":"371","name":"Latvia","name_cn":"\u62c9\u8131\u7ef4\u4e9a","currency":"EUR"},{"code":"LY","nationality":"Libyan","prefix":"218","name":"Libya","name_cn":"\u5229\u6bd4\u4e9a"},{"code":"MA","nationality":"Moroccan","prefix":"212","name":"Morocco","name_cn":"\u6469\u6d1b\u54e5","currency":"MAD"},{"code":"MC","nationality":"monacan","prefix":"377","name":"Monaco","name_cn":"\u6469\u7eb3\u54e5","currency":"EUR"},{"code":"MD","nationality":"moldovan","prefix":"373","name":"Moldova","name_cn":"\u6469\u5c14\u591a\u74e6"},{"code":"ME","nationality":"The negroes of the gate","prefix":"382","name":"Montenegro","name_cn":"\u95e8\u7684\u5185\u54e5\u7f57"},{"code":"MF","nationality":"Of the French saint Martin","prefix":"590","name":"Saint Martin","name_cn":"\u6cd5\u5c5e\u5723\u9a6c\u4e01"},{"code":"MG","nationality":"Malagasy","prefix":"261","name":"Madagascar","name_cn":"\u9a6c\u8fbe\u52a0\u65af\u52a0\u5c9b"},{"code":"MH","nationality":"Of the Marshall islands","prefix":"692","name":"Marshall Islands","name_cn":"\u9a6c\u7ecd\u5c14\u7fa4\u5c9b"},{"code":"MK","nationality":"macedonic","prefix":"389","name":"North Macedonia","name_cn":"\u9a6c\u5176\u987f"},{"code":"ML","nationality":"malian","prefix":"223","name":"Mali","name_cn":"\u9a6c\u91cc"},{"code":"MM","nationality":"Myanmar","prefix":"95","name":"Myanmar","name_cn":"\u7f05\u7538"},{"code":"MN","nationality":"The mongols","prefix":"976","name":"Mongolia","name_cn":"\u8499\u53e4"},{"code":"MO","nationality":"Chinese (Macao)","prefix":"853","name":"Macau (China)","name_cn":"\u4e2d\u56fd\u6fb3\u95e8","currency":"MOP"},{"code":"MP","nationality":"Northern mariana islands","prefix":"1670","name":"Northern Mariana Islands","name_cn":"\u5317\u9a6c\u91cc\u4e9a\u7eb3\u7fa4\u5c9b"},{"code":"MQ","nationality":"Martinique","prefix":"596","name":"Martinique","name_cn":"\u9a6c\u63d0\u5c3c\u514b\u5c9b"},{"code":"MR","nationality":"Mauritanian","prefix":"222","name":"Mauritania","name_cn":"\u6bdb\u5229\u5854\u5c3c\u4e9a"},{"code":"MS","nationality":"Montserrat","prefix":"1664","name":"Montserrat","name_cn":"\u8499\u7279\u585e\u62c9\u7279"},{"code":"MT","nationality":"Maltese","prefix":"356","name":"Malta","name_cn":"\u9a6c\u8033\u4ed6","currency":"EUR"},{"code":"MU","nationality":"Mauritius","prefix":"230","name":"Mauritius","name_cn":"\u6bdb\u91cc\u6c42\u65af"},{"code":"MV","nationality":"maldivian","prefix":"960","name":"Maldives","name_cn":"\u9a6c\u5c14\u4ee3\u592b"},{"code":"MW","nationality":"malawian","prefix":"265","name":"Malawi","name_cn":"\u9a6c\u62c9\u7ef4"},{"code":"MX","nationality":"Mexican","prefix":"52","name":"Mexico","name_cn":"\u58a8\u897f\u54e5"},{"code":"MY","nationality":"Malaysian","prefix":"60","name":"Malaysia","name_cn":"\u9a6c\u6765\u897f\u4e9a","currency":"MYR"},{"code":"MZ","nationality":"mozambican","prefix":"258","name":"Mozambique","name_cn":"\u83ab\u6851\u6bd4\u514b"},{"code":"NA","nationality":"namibian","prefix":"264","name":"Namibia","name_cn":"\u7eb3\u7c73\u6bd4\u4e9a"},{"code":"NC","nationality":"New caledonian","prefix":"687","name":"New Caledonia","name_cn":"\u65b0\u5580\u91cc\u591a\u5c3c\u4e9a"},{"code":"NE","nationality":"nigerien","prefix":"227","name":"Niger","name_cn":"\u5c3c\u65e5\u5c14"},{"code":"NF","nationality":"Norfolk","prefix":"672","name":"Norfolk Island","name_cn":"\u8bfa\u798f\u514b\u5c9b"},{"code":"NG","nationality":"Nigerian","prefix":"234","name":"Nigeria","name_cn":"\u5c3c\u65e5\u5229\u4e9a","currency":"NGN"},{"code":"NI","nationality":"nicaraguan","prefix":"505","name":"Nicaragua","name_cn":"\u5c3c\u52a0\u62c9\u74dc"},{"code":"NL","nationality":"Dutch","prefix":"31","name":"Netherlands","name_cn":"\u8377\u5170","currency":"EUR"},{"code":"NO","nationality":"Norse","prefix":"47","name":"Norway","name_cn":"\u632a\u5a01","currency":"NOK"},{"code":"NP","nationality":"nepalese","prefix":"977","name":"Nepal","name_cn":"\u5c3c\u6cca\u5c14"},{"code":"NR","nationality":"Nauru people","prefix":"674","name":"Nauru","name_cn":"\u7459\u9c81"},{"code":"NU","nationality":"niue","prefix":"683","name":"Niue","name_cn":"\u7ebd\u57c3\u5c9b"},{"code":"NZ","nationality":"New Zealand","prefix":"64","name":"New Zealand","name_cn":"\u65b0\u897f\u5170","currency":"NZD"},{"code":"OM","nationality":"The people of Oman","prefix":"968","name":"Oman","name_cn":"\u963f\u66fc","currency":"OMR"},{"code":"PA","nationality":"Panamanian","prefix":"507","name":"Panama","name_cn":"\u5df4\u62ff\u9a6c"},{"code":"PE","nationality":"Peruvian","prefix":"51","name":"Peru","name_cn":"\u79d8\u9c81"},{"code":"PF","nationality":"French polynesians","prefix":"689","name":"French Polynesia","name_cn":"\u6cd5\u5c5e\u6ce2\u5229\u5c3c\u897f\u4e9a"},{"code":"PG","nationality":"Papua New Guinea","prefix":"675","name":"Papua New Guinea","name_cn":"\u5df4\u5e03\u4e9a\u65b0\u51e0\u5185\u4e9a"},{"code":"PH","nationality":"Philippine","prefix":"63","name":"Philippines","name_cn":"\u83f2\u5f8b\u5bbe","currency":"PHP"},{"code":"PK","nationality":"Pakistani","prefix":"92","name":"Pakistan","name_cn":"\u5df4\u57fa\u65af\u5766"},{"code":"PL","nationality":"Polish","prefix":"48","name":"Poland","name_cn":"\u6ce2\u5170"},{"code":"PM","nationality":"Saint Pierre and the secret clone","prefix":"508","name":"St. Pierre and Miquelon","name_cn":"\u5723\u76ae\u57c3\u5c14\u5c9b\u548c\u5bc6\u514b\u9686"},{"code":"PN","nationality":"Pitcairn","prefix":"872","name":"Pitcairn","name_cn":"\u76ae\u7279\u51ef\u6069"},{"code":"PR","nationality":"Puerto Rican","prefix":"1939","name":"Puerto Rico","name_cn":"\u6ce2\u591a\u9ece\u5404"},{"code":"PS","nationality":"The State of Palestine","prefix":"970","name":"Palestinian Territory","name_cn":"\u5df4\u52d2\u65af\u5766"},{"code":"PT","nationality":"Portuguese","prefix":"351","name":"Portugal","name_cn":"\u8461\u8404\u7259","currency":"EUR"},{"code":"PW","nationality":"Palau people","prefix":"680","name":"Palau","name_cn":"\u5e15\u52b3"},{"code":"PY","nationality":"Paraguayan","prefix":"595","name":"Paraguay","name_cn":"\u5df4\u62c9\u572d"},{"code":"QA","nationality":"qatari","prefix":"974","name":"Qatar","name_cn":"\u5361\u5854\u5c14","currency":"QAR"},{"code":"RE","nationality":"reunion","prefix":"262","name":"Reunion","name_cn":"\u7559\u5c3c\u6c6a"},{"code":"RO","nationality":"Romanian","prefix":"40","name":"Romania","name_cn":"\u7f57\u9a6c\u5c3c\u4e9a"},{"code":"RS","nationality":"serb","prefix":"381","name":"Serbia","name_cn":"\u585e\u5c14\u7ef4\u4e9a"},{"code":"RU","nationality":"Russian","prefix":"7","name":"Russia","name_cn":"\u4fc4\u7f57\u65af","currency":"RUB"},{"code":"RW","nationality":"rwandese","prefix":"250","name":"Rwanda","name_cn":"\u5362\u65fa\u8fbe"},{"code":"SA","nationality":"Saudi Arabian","prefix":"966","name":"Saudi Arabia","name_cn":"\u6c99\u7279\u963f\u62c9\u4f2f","currency":"SAR"},{"code":"SB","nationality":"The Solomon islands","prefix":"677","name":"Solomon Islands","name_cn":"\u6240\u7f57\u95e8\u7fa4\u5c9b"},{"code":"SC","nationality":"The seychelles","prefix":"248","name":"Seychelles","name_cn":"\u585e\u820c\u5c14","currency":"SCR"},{"code":"SD","nationality":"The Sudanese","prefix":"249","name":"Sudan","name_cn":"\u82cf\u4e39"},{"code":"SE","nationality":"Swedish","prefix":"46","name":"Sweden","name_cn":"\u745e\u5178","currency":"SEK"},{"code":"SG","nationality":"Singaporean","prefix":"65","name":"Singapore","name_cn":"\u65b0\u52a0\u5761","currency":"SGD"},{"code":"SI","nationality":"Slovenia","prefix":"386","name":"Slovenia","name_cn":"\u65af\u6d1b\u6587\u5c3c\u4e9a","currency":"EUR"},{"code":"SJ","nationality":"Svalbard","prefix":"47","name":"Svalbard & Jan Mayen","name_cn":"\u65af\u74e6\u5c14\u5df4\u7279\u7fa4\u5c9b"},{"code":"SK","nationality":"slovakian","prefix":"421","name":"Slovakia","name_cn":"\u65af\u6d1b\u4f10\u514b","currency":"EUR"},{"code":"SL","nationality":"Sierra leonean","prefix":"232","name":"Sierra Leone","name_cn":"\u585e\u62c9\u5229\u6602"},{"code":"SM","nationality":"SAN marino","prefix":"378","name":"San Marino","name_cn":"\u5723\u9a6c\u529b\u8bfa"},{"code":"SN","nationality":"senegalese","prefix":"221","name":"Senegal","name_cn":"\u585e\u5185\u52a0\u5c14"},{"code":"SO","nationality":"Somali","prefix":"252","name":"Somalia","name_cn":"\u7d22\u9a6c\u91cc"},{"code":"SS","nationality":"South Sudanese","prefix":"211","name":"South Sudan","name_cn":"\u5357\u82cf\u4e39"},{"code":"ST","nationality":"SAO tome and principe","prefix":"239","name":"S\xe3o Tom\xe9 and Pr\xedncipe","name_cn":"\u5723\u591a\u7f8e\u548c\u666e\u6797\u897f\u6bd4"},{"code":"SV","nationality":"Salvadoran","prefix":"503","name":"El Salvador","name_cn":"\u8428\u5c14\u74e6\u591a"},{"code":"SX","nationality":"The Dutch saint Martin","prefix":"1721","name":"St. Maarten","name_cn":"\u8377\u5c5e\u5723\u9a6c\u4e01"},{"code":"SY","nationality":"Syrian","prefix":"963","name":"Syria","name_cn":"\u53d9\u5229\u4e9a"},{"code":"SZ","nationality":"Swaziland","prefix":"268","name":"Swaziland","name_cn":"\u65af\u5a01\u58eb\u5170"},{"code":"TC","nationality":"Turks and caicos","prefix":"1649","name":"Turks & Caicos Islands","name_cn":"\u7279\u514b\u65af\u548c\u51ef\u79d1\u65af\u7fa4\u5c9b"},{"code":"TD","nationality":"chadian","prefix":"235","name":"Chad","name_cn":"\u4e4d\u5f97"},{"code":"TG","nationality":"togolese","prefix":"228","name":"Togo","name_cn":"\u591a\u54e5"},{"code":"TH","nationality":"Thai","prefix":"66","name":"Thailand","name_cn":"\u6cf0\u56fd","currency":"THB"},{"code":"TJ","nationality":"Tajik","prefix":"992","name":"Tajikistan","name_cn":"\u5854\u5409\u514b\u65af\u5766"},{"code":"TK","nationality":"Tokelau","prefix":"690","name":"Tokelau","name_cn":"\u6258\u514b\u52b3\u7fa4\u5c9b"},{"code":"TL","nationality":"timorese","prefix":"670","name":"East Timor","name_cn":"\u4e1c\u5e1d\u6c76"},{"code":"TM","nationality":"Turkmen","prefix":"993","name":"Turkmenistan","name_cn":"\u571f\u5e93\u66fc\u65af\u5766"},{"code":"TN","nationality":"Tunisian","prefix":"216","name":"Tunisia","name_cn":"\u7a81\u5c3c\u65af"},{"code":"TO","nationality":"tongan","prefix":"676","name":"Tonga","name_cn":"\u6c64\u52a0"},{"code":"TR","nationality":"Turkish","prefix":"90","name":"Turkey","name_cn":"\u571f\u8033\u5176","currency":"TRY"},{"code":"TT","nationality":"The people of Trinidad and Tobago","prefix":"1868","name":"Trinidad and Tobago","name_cn":"\u7279\u7acb\u5c3c\u8fbe\u548c\u591a\u5df4\u54e5"},{"code":"TV","nationality":"Tuvalu","prefix":"688","name":"Tuvalu","name_cn":"\u56fe\u74e6\u5362"},{"code":"TW","nationality":"Chinese (Taiwan)","prefix":"886","name":"Taiwan (China)","name_cn":"\u4e2d\u56fd\u53f0\u6e7e","currency":"TWD"},{"code":"TZ","nationality":"tanzanian","prefix":"255","name":"Tanzania","name_cn":"\u5766\u6851\u5c3c\u4e9a"},{"code":"UA","nationality":"Ukrainian","prefix":"380","name":"Ukraine","name_cn":"\u4e4c\u514b\u5170"},{"code":"UG","nationality":"ugandan","prefix":"256","name":"Uganda","name_cn":"\u4e4c\u5e72\u8fbe"},{"code":"UM","nationality":"Small island native American","prefix":"1","name":"United States Minor Outlying Island","name_cn":"\u7f8e\u56fd\u672c\u571f\u5916\u5c0f\u5c9b\u5c7f"},{"code":"US","nationality":"American","prefix":"1","name":"United States of America","name_cn":"\u7f8e\u56fd","currency":"USD"},{"code":"UY","nationality":"Uruguayan","prefix":"598","name":"Uruguay","name_cn":"\u4e4c\u62c9\u572d"},{"code":"UZ","nationality":"Uzbek","prefix":"998","name":"Uzbekistan","name_cn":"\u4e4c\u5179\u522b\u514b\u65af\u5766"},{"code":"VA","nationality":"Vatican","prefix":"379","name":"Vatican City","name_cn":"\u68b5\u8482\u5188","currency":"EUR"},{"code":"VC","nationality":"Saint Vincent and the grenadines","prefix":"1784","name":"Saint Vincent & Grenadines","name_cn":"\u5723\u6587\u68ee\u7279\u548c\u683c\u6797\u7eb3\u4e01\u65af"},{"code":"VE","nationality":"Venezuelan","prefix":"58","name":"Venezuela","name_cn":"\u59d4\u5185\u745e\u62c9"},{"code":"VG","nationality":"British virgin islands","prefix":"1284","name":"British Virgin Islands","name_cn":"\u82f1\u5c5e\u7ef4\u5c14\u4eac\u7fa4\u5c9b","currency":"GBP"},{"code":"VI","nationality":"The virgin islands","prefix":"1340","name":"U.S. Virgin Islands","name_cn":"\u7ef4\u5c14\u4eac\u7fa4\u5c9b"},{"code":"VN","nationality":"Vietnamese","prefix":"84","name":"Vietnam","name_cn":"\u8d8a\u5357","currency":"VND"},{"code":"VU","nationality":"Vanuatu","prefix":"678","name":"Vanuatu","name_cn":"\u74e6\u52aa\u963f\u56fe"},{"code":"WF","nationality":"Wallis and futuna","prefix":"681","name":"Wallis and Futuna","name_cn":"\u74e6\u5229\u65af\u7fa4\u5c9b\u548c\u5bcc\u56fe\u7eb3\u7fa4\u5c9b"},{"code":"WS","nationality":"Samoan","prefix":"685","name":"Samoa","name_cn":"\u8428\u6469\u4e9a"},{"code":"YE","nationality":"yemeni","prefix":"967","name":"Yemen","name_cn":"\u4e5f\u95e8"},{"code":"YT","nationality":"Mayotte","prefix":"269","name":"Mayotte","name_cn":"\u9a6c\u7ea6\u7279"},{"code":"ZA","nationality":"South African","prefix":"27","name":"South Africa","name_cn":"\u5357\u975e","currency":"ZAR"},{"code":"ZM","nationality":"zambian","prefix":"260","name":"Zambia","name_cn":"\u8d5e\u6bd4\u4e9a"},{"code":"ZW","nationality":"zimbabwean","prefix":"263","name":"Zimbabwe","name_cn":"\u6d25\u5df4\u5e03\u97e6"}]')},wQXg:function(e,t,n){"use strict";n.d(t,"a",function(){return f}),n.d(t,"b",function(){return y}),n.d(t,"c",function(){return C}),n.d(t,"d",function(){return m});var i=n("fXoL"),r=n("2Vo4"),o=n("jtHE"),s=n("pLZG"),a=n("lJxs"),c=n("3E0/"),l=n("ofXK"),u=n("tyNb");n("jhN1");class d{constructor(){this.pageTracking={autoTrackVirtualPages:!0,basePath:"",excludedRoutes:[],clearIds:!1,clearHash:!1,clearQueryParams:!1,idsRegExp:/^\d+$|^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/},this.developerMode=!1,this.ga={},this.appInsights={},this.gtm={},this.gst={}}}const h=new i.r("ANGULARTICS2");class p{trackLocation(e){return new r.a({url:"/"})}prepareExternalUrl(e){return e}}let f=(()=>{class e{constructor(e,t){this.tracker=e,this.pageTrack=new o.a(10),this.eventTrack=new o.a(10),this.exceptionTrack=new o.a(10),this.setAlias=new o.a(10),this.setUsername=new o.a(10),this.setUserProperties=new o.a(10),this.setUserPropertiesOnce=new o.a(10),this.setSuperProperties=new o.a(10),this.setSuperPropertiesOnce=new o.a(10),this.userTimings=new o.a(10);const n=new d;this.settings=Object.assign(Object.assign({},n),t.settings),this.settings.pageTracking=Object.assign(Object.assign({},n.pageTracking),t.settings.pageTracking),this.tracker.trackLocation(this.settings).subscribe(e=>this.trackUrlChange(e.url))}filterDeveloperMode(){return Object(s.a)((e,t)=>!this.settings.developerMode)}trackUrlChange(e){if(this.settings.pageTracking.autoTrackVirtualPages&&!this.matchesExcludedRoute(e)){const t=this.clearUrl(e);let n;n=this.settings.pageTracking.basePath.length?this.settings.pageTracking.basePath+t:this.tracker.prepareExternalUrl(t),this.pageTrack.next({path:n})}}matchesExcludedRoute(e){for(const t of this.settings.pageTracking.excludedRoutes)if(t instanceof RegExp&&t.test(e)||-1!==e.indexOf(t))return!0;return!1}clearUrl(e){return this.settings.pageTracking.clearIds||this.settings.pageTracking.clearQueryParams||this.settings.pageTracking.clearHash?e.split("/").map(e=>this.settings.pageTracking.clearQueryParams?e.split("?")[0]:e).map(e=>this.settings.pageTracking.clearHash?e.split("#")[0]:e).filter(e=>!this.settings.pageTracking.clearIds||!e.match(this.settings.pageTracking.idsRegExp)).join("/"):e}}return e.\u0275fac=function(t){return new(t||e)(i.hc(p),i.hc(h))},e.\u0275prov=i.Mb({factory:function(){return new e(i.hc(p),i.hc(h))},token:e,providedIn:"root"}),e})(),g=(()=>{class e{constructor(e,t){this.router=e,this.location=t}trackLocation(e){return this.router.events.pipe(Object(s.a)(e=>e instanceof u.c),Object(s.a)(()=>!e.developerMode),Object(a.a)(e=>({url:e.urlAfterRedirects})),Object(c.a)(0))}prepareExternalUrl(e){return this.location.prepareExternalUrl(e)}}return e.\u0275fac=function(t){return new(t||e)(i.hc(u.g),i.hc(l.k))},e.\u0275prov=i.Mb({factory:function(){return new e(i.hc(u.g),i.hc(l.k))},token:e,providedIn:"root"}),e})(),b=(()=>{class e{}return e.\u0275mod=i.Ob({type:e}),e.\u0275inj=i.Nb({factory:function(t){return new(t||e)}}),e})(),m=(()=>{class e{static forRoot(t={}){return{ngModule:e,providers:[{provide:h,useValue:{settings:t}},{provide:p,useClass:g},f]}}}return e.\u0275mod=i.Ob({type:e}),e.\u0275inj=i.Nb({factory:function(t){return new(t||e)},imports:[[b]]}),e})(),y=(()=>{class e{constructor(e){this.angulartics2=e,"undefined"==typeof _hmt?_hmt=[]:_hmt.push(["_setAutoPageview",!1]),this.angulartics2.setUsername.subscribe(e=>this.setUsername(e)),this.angulartics2.setUserProperties.subscribe(e=>this.setUserProperties(e))}startTracking(){this.angulartics2.pageTrack.pipe(this.angulartics2.filterDeveloperMode()).subscribe(e=>this.pageTrack(e.path)),this.angulartics2.eventTrack.pipe(this.angulartics2.filterDeveloperMode()).subscribe(e=>this.eventTrack(e.action,e.properties))}pageTrack(e){"undefined"!=typeof _hmt&&_hmt&&_hmt.push(["_trackPageview",e])}eventTrack(e,t){t&&t.category||((t=t||{}).category="Event",t.opt_label="default",t.opt_value="default"),"undefined"!=typeof _hmt&&_hmt&&_hmt.push(["_trackEvent",t.category,e,t.opt_label,t.opt_value])}setUsername(e){_hmt.push(["_setCustomVar",1,"identity",e])}setUserProperties(e){_hmt.push(["_setCustomVar",2,"user",JSON.stringify(e)])}}return e.\u0275fac=function(t){return new(t||e)(i.hc(f))},e.\u0275prov=i.Mb({factory:function(){return new e(i.hc(f))},token:e,providedIn:"root"}),e})();class v{constructor(){this.additionalAccountNames=[],this.userId=null,this.transport="",this.anonymizeIp=!1}}let C=(()=>{class e{constructor(e){this.angulartics2=e,this.dimensionsAndMetrics=[];const t=new v;this.angulartics2.settings.ga=Object.assign(Object.assign({},t),this.angulartics2.settings.ga),this.settings=this.angulartics2.settings.ga,this.angulartics2.setUsername.subscribe(e=>this.setUsername(e)),this.angulartics2.setUserProperties.subscribe(e=>this.setUserProperties(e))}startTracking(){this.angulartics2.pageTrack.pipe(this.angulartics2.filterDeveloperMode()).subscribe(e=>this.pageTrack(e.path)),this.angulartics2.eventTrack.pipe(this.angulartics2.filterDeveloperMode()).subscribe(e=>this.eventTrack(e.action,e.properties)),this.angulartics2.exceptionTrack.pipe(this.angulartics2.filterDeveloperMode()).subscribe(e=>this.exceptionTrack(e)),this.angulartics2.userTimings.pipe(this.angulartics2.filterDeveloperMode()).subscribe(e=>this.userTimings(e))}pageTrack(e){if("undefined"!=typeof _gaq&&_gaq){_gaq.push(["_trackPageview",e]);for(const t of this.angulartics2.settings.ga.additionalAccountNames)_gaq.push([t+"._trackPageview",e])}if("undefined"!=typeof ga&&ga){if(this.angulartics2.settings.ga.userId){ga("set","&uid",this.angulartics2.settings.ga.userId);for(const e of this.angulartics2.settings.ga.additionalAccountNames)ga(e+".set","&uid",this.angulartics2.settings.ga.userId)}if(this.angulartics2.settings.ga.anonymizeIp){ga("set","anonymizeIp",!0);for(const e of this.angulartics2.settings.ga.additionalAccountNames)ga(e+".set","anonymizeIp",!0)}ga("send","pageview",e);for(const t of this.angulartics2.settings.ga.additionalAccountNames)ga(t+".send","pageview",e)}}eventTrack(e,t){if(t&&t.category||((t=t||{}).category="Event"),t.value){const e=parseInt(t.value,10);t.value=isNaN(e)?0:e}if("undefined"!=typeof ga){const n=Object.assign({eventCategory:t.category,eventAction:e,eventLabel:t.label,eventValue:t.value,nonInteraction:t.noninteraction,page:t.page||location.hash.substring(1)||location.pathname,userId:this.angulartics2.settings.ga.userId,hitCallback:t.hitCallback},this.angulartics2.settings.ga.transport&&{transport:this.angulartics2.settings.ga.transport});this.setDimensionsAndMetrics(t),ga("send","event",n);for(const e of this.angulartics2.settings.ga.additionalAccountNames)ga(e+".send","event",n)}else"undefined"!=typeof _gaq&&_gaq.push(["_trackEvent",t.category,e,t.label,t.value,t.noninteraction])}exceptionTrack(e){void 0===e.fatal&&(console.log('No "fatal" provided, sending with fatal=true'),e.fatal=!0),e.exDescription=e.description;const t={exFatal:e.fatal,exDescription:e.description};ga("send","exception",t);for(const n of this.angulartics2.settings.ga.additionalAccountNames)ga(n+".send","exception",t)}userTimings(e){if(e&&e.timingCategory&&e.timingVar&&e.timingValue){if("undefined"!=typeof ga){ga("send","timing",e);for(const t of this.angulartics2.settings.ga.additionalAccountNames)ga(t+".send","timing",e)}}else console.error("Properties timingCategory, timingVar, and timingValue are required to be set.")}setUsername(e){this.angulartics2.settings.ga.userId=e,"undefined"!=typeof ga&&ga("set","userId",e)}setUserProperties(e){this.setDimensionsAndMetrics(e)}setDimensionsAndMetrics(e){"undefined"!=typeof ga&&(this.dimensionsAndMetrics.forEach(t=>{e.hasOwnProperty(t)||(ga("set",t,void 0),this.angulartics2.settings.ga.additionalAccountNames.forEach(e=>{ga(`${e}.set`,t,void 0)}))}),this.dimensionsAndMetrics=[],Object.keys(e).forEach(t=>{0!==t.lastIndexOf("dimension",0)&&0!==t.lastIndexOf("metric",0)||(ga("set",t,e[t]),this.angulartics2.settings.ga.additionalAccountNames.forEach(n=>{ga(`${n}.set`,t,e[t])}),this.dimensionsAndMetrics.push(t))}))}}return e.\u0275fac=function(t){return new(t||e)(i.hc(f))},e.\u0275prov=i.Mb({factory:function(){return new e(i.hc(f))},token:e,providedIn:"root"}),e})()},wZgz:function(e,t,n){var i;e.exports=(i=n("Ib8C"),n("ETIr"),n("cv67"),n("K3mO"),n("OLod"),function(){var e=i,t=e.lib.BlockCipher,n=e.algo,r=[],o=[],s=[],a=[],c=[],l=[],u=[],d=[],h=[],p=[];!function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var n=0,i=0;for(t=0;t<256;t++){var f=i^i<<1^i<<2^i<<3^i<<4;r[n]=f=f>>>8^255&f^99,o[f]=n;var g,b=e[n],m=e[b],y=e[m];s[n]=(g=257*e[f]^16843008*f)<<24|g>>>8,a[n]=g<<16|g>>>16,c[n]=g<<8|g>>>24,l[n]=g,u[f]=(g=16843009*y^65537*m^257*b^16843008*n)<<24|g>>>8,d[f]=g<<16|g>>>16,h[f]=g<<8|g>>>24,p[f]=g,n?(n=b^e[e[e[y^b]]],i^=e[e[i]]):n=i=1}}();var f=[0,1,2,4,8,16,32,64,128,27,54],g=n.AES=t.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,n=e.sigBytes/4,i=4*((this._nRounds=n+6)+1),o=this._keySchedule=[],s=0;s6&&s%n==4&&(a=r[a>>>24]<<24|r[a>>>16&255]<<16|r[a>>>8&255]<<8|r[255&a]):(a=r[(a=a<<8|a>>>24)>>>24]<<24|r[a>>>16&255]<<16|r[a>>>8&255]<<8|r[255&a],a^=f[s/n|0]<<24),o[s]=o[s-n]^a}for(var c=this._invKeySchedule=[],l=0;l>>24]]^d[r[a>>>16&255]]^h[r[a>>>8&255]]^p[r[255&a]]}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,s,a,c,l,r)},decryptBlock:function(e,t){var n=e[t+1];e[t+1]=e[t+3],e[t+3]=n,this._doCryptBlock(e,t,this._invKeySchedule,u,d,h,p,o),n=e[t+1],e[t+1]=e[t+3],e[t+3]=n},_doCryptBlock:function(e,t,n,i,r,o,s,a){for(var c=this._nRounds,l=e[t]^n[0],u=e[t+1]^n[1],d=e[t+2]^n[2],h=e[t+3]^n[3],p=4,f=1;f>>24]^r[u>>>16&255]^o[d>>>8&255]^s[255&h]^n[p++],b=i[u>>>24]^r[d>>>16&255]^o[h>>>8&255]^s[255&l]^n[p++],m=i[d>>>24]^r[h>>>16&255]^o[l>>>8&255]^s[255&u]^n[p++],y=i[h>>>24]^r[l>>>16&255]^o[u>>>8&255]^s[255&d]^n[p++];l=g,u=b,d=m,h=y}g=(a[l>>>24]<<24|a[u>>>16&255]<<16|a[d>>>8&255]<<8|a[255&h])^n[p++],b=(a[u>>>24]<<24|a[d>>>16&255]<<16|a[h>>>8&255]<<8|a[255&l])^n[p++],m=(a[d>>>24]<<24|a[h>>>16&255]<<16|a[l>>>8&255]<<8|a[255&u])^n[p++],y=(a[h>>>24]<<24|a[l>>>16&255]<<16|a[u>>>8&255]<<8|a[255&d])^n[p++],e[t]=g,e[t+1]=b,e[t+2]=m,e[t+3]=y},keySize:8});e.AES=t._createHelper(g)}(),i.AES)},wfDa:function(e,t,n){"use strict";n.d(t,"a",function(){return i});const i=n("wH4j");var r=n("B7ZD"),o=n("mFai");class s extends o.c{constructor(e,t,n=!1,i=-1,o=r.d.en_US){super(e,t,i,o),this.highPriority=n}addLangSetting(e,t){return super.addLangSetting(e,t),this}clone(){return super.clone()}plain(){return{code:this.code,name:this.name,name_cn:this.name_cn,name_en:this.name_en,highPriority:this.highPriority,order:this.order}}constructSelf(){return new s(this.code,this.name,this.highPriority,this.order)}}const a=[new s("CN","Chinese (Mainland)",!0).addLangSetting(r.d.zh_CN,"\u4e2d\u56fd\u5927\u9646"),new s("HK","Chinese (Hong Kong)",!0).addLangSetting(r.d.zh_CN,"\u4e2d\u56fd\u9999\u6e2f"),new s("TW","Chinese (Taiwan)",!0).addLangSetting(r.d.zh_CN,"\u4e2d\u56fd\u53f0\u6e7e"),new s("MO","Chinese (Macao)",!0).addLangSetting(r.d.zh_CN,"\u4e2d\u56fd\u6fb3\u95e8"),new s("US","American",!0).addLangSetting(r.d.zh_CN,"\u7f8e\u56fd"),new s("ES","Spanish",!0).addLangSetting(r.d.zh_CN,"\u897f\u73ed\u7259"),new s("GB","British",!0).addLangSetting(r.d.zh_CN,"\u82f1\u56fd"),new s("AU","Australian",!0).addLangSetting(r.d.zh_CN,"\u6fb3\u5927\u5229\u4e9a"),new s("JP","Japanese",!0).addLangSetting(r.d.zh_CN,"\u65e5\u672c"),new s("KR","Korean",!0).addLangSetting(r.d.zh_CN,"\u97e9\u56fd"),new s("AE","Emirati",!1).addLangSetting(r.d.zh_CN,"\u963f\u8054\u914b"),new s("AO","Angolan",!1).addLangSetting(r.d.zh_CN,"\u5b89\u54e5\u62c9"),new s("AR","Argentine",!1).addLangSetting(r.d.zh_CN,"\u963f\u6839\u5ef7"),new s("AT","Austrian",!1).addLangSetting(r.d.zh_CN,"\u5965\u5730\u5229"),new s("BB","Barbadosian",!1).addLangSetting(r.d.zh_CN,"\u5df4\u5df4\u591a\u65af"),new s("BE","Belgian",!1).addLangSetting(r.d.zh_CN,"\u6bd4\u5229\u65f6"),new s("BR","Brazilian",!1).addLangSetting(r.d.zh_CN,"\u5df4\u897f"),new s("CA","Canadian",!1).addLangSetting(r.d.zh_CN,"\u52a0\u62ff\u5927"),new s("CH","Swiss",!1).addLangSetting(r.d.zh_CN,"\u745e\u58eb"),new s("CL","Chilean",!1).addLangSetting(r.d.zh_CN,"\u667a\u5229"),new s("CU","Cuban",!1).addLangSetting(r.d.zh_CN,"\u53e4\u5df4"),new s("CZ","Czech",!1).addLangSetting(r.d.zh_CN,"\u6377\u514b"),new s("DE","German",!1).addLangSetting(r.d.zh_CN,"\u5fb7\u56fd"),new s("DK","Danish",!1).addLangSetting(r.d.zh_CN,"\u4e39\u9ea6"),new s("EG","Egyptian",!1).addLangSetting(r.d.zh_CN,"\u57c3\u53ca"),new s("FI","Finnish",!1).addLangSetting(r.d.zh_CN,"\u82ac\u5170"),new s("FR","French",!1).addLangSetting(r.d.zh_CN,"\u6cd5\u56fd"),new s("GR","Greek",!1).addLangSetting(r.d.zh_CN,"\u5e0c\u814a"),new s("HU","Hungarian",!1).addLangSetting(r.d.zh_CN,"\u5308\u7259\u5229"),new s("ID","Indonesian",!1).addLangSetting(r.d.zh_CN,"\u5370\u5ea6\u5c3c\u897f\u4e9a"),new s("IE","Irish",!1).addLangSetting(r.d.zh_CN,"\u7231\u5c14\u5170"),new s("IL","Israeli",!1).addLangSetting(r.d.zh_CN,"\u4ee5\u8272\u5217"),new s("IN","Indian",!1).addLangSetting(r.d.zh_CN,"\u5370\u5ea6"),new s("IQ","Iraqi",!1).addLangSetting(r.d.zh_CN,"\u4f0a\u62c9\u514b"),new s("IR","Iranian",!1).addLangSetting(r.d.zh_CN,"\u4f0a\u6717"),new s("IT","Italian",!1).addLangSetting(r.d.zh_CN,"\u610f\u5927\u5229"),new s("KH","Cambodian",!1).addLangSetting(r.d.zh_CN,"\u67ec\u57d4\u5be8"),new s("LK","Sri Lankan",!1).addLangSetting(r.d.zh_CN,"\u65af\u91cc\u5170\u5361"),new s("MM","Myanmar",!1).addLangSetting(r.d.zh_CN,"\u7f05\u7538"),new s("MU","Mauritius",!1).addLangSetting(r.d.zh_CN,"\u6bdb\u91cc\u6c42\u65af"),new s("MX","Mexican",!1).addLangSetting(r.d.zh_CN,"\u58a8\u897f\u54e5"),new s("MY","Malaysian",!1).addLangSetting(r.d.zh_CN,"\u9a6c\u6765\u897f\u4e9a"),new s("NL","Dutch",!1).addLangSetting(r.d.zh_CN,"\u8377\u5170"),new s("NZ","New Zealand",!1).addLangSetting(r.d.zh_CN,"\u65b0\u897f\u5170"),new s("PH","Philippine",!1).addLangSetting(r.d.zh_CN,"\u83f2\u5f8b\u5bbe"),new s("PK","Pakistani",!1).addLangSetting(r.d.zh_CN,"\u5df4\u57fa\u65af\u5766"),new s("PL","Polish",!1).addLangSetting(r.d.zh_CN,"\u6ce2\u5170"),new s("PT","Portuguese",!1).addLangSetting(r.d.zh_CN,"\u8461\u8404\u7259"),new s("RO","Romanian",!1).addLangSetting(r.d.zh_CN,"\u7f57\u9a6c\u5c3c\u4e9a"),new s("RU","Russian",!1).addLangSetting(r.d.zh_CN,"\u4fc4\u7f57\u65af"),new s("SA","Saudi Arabian",!1).addLangSetting(r.d.zh_CN,"\u6c99\u7279\u963f\u62c9\u4f2f"),new s("SE","Swedish",!1).addLangSetting(r.d.zh_CN,"\u745e\u5178"),new s("SG","Singaporean",!1).addLangSetting(r.d.zh_CN,"\u65b0\u52a0\u5761"),new s("SI","Slovenia",!1).addLangSetting(r.d.zh_CN,"\u65af\u6d1b\u6587\u5c3c\u4e9a"),new s("TH","Thai",!1).addLangSetting(r.d.zh_CN,"\u6cf0\u56fd"),new s("TR","Turkish",!1).addLangSetting(r.d.zh_CN,"\u571f\u8033\u5176"),new s("UA","Ukrainian",!1).addLangSetting(r.d.zh_CN,"\u4e4c\u514b\u5170"),new s("VN","Vietnamese",!1).addLangSetting(r.d.zh_CN,"\u8d8a\u5357"),new s("ZA","South African",!1).addLangSetting(r.d.zh_CN,"\u5357\u975e"),new s("NO","Norse",!1).addLangSetting(r.d.zh_CN,"\u632a\u5a01"),new s("AD","Andorra",!1).addLangSetting(r.d.zh_CN,"\u5b89\u9053\u5c14"),new s("AF","Afghan",!1).addLangSetting(r.d.zh_CN,"\u963f\u5bcc\u6c57"),new s("AG","Antigua and barbuda",!1).addLangSetting(r.d.zh_CN,"\u5b89\u63d0\u74dc\u548c\u5df4\u5e03\u8fbe"),new s("AI","Anguilla",!1).addLangSetting(r.d.zh_CN,"\u5b89\u572d\u62c9"),new s("AL","Albanian",!1).addLangSetting(r.d.zh_CN,"\u963f\u5c14\u5df4\u5c3c\u4e9a"),new s("AM","Armenian",!1).addLangSetting(r.d.zh_CN,"\u4e9a\u7f8e\u5c3c\u4e9a"),new s("AN","Of the Netherlands Antilles",!1).addLangSetting(r.d.zh_CN,"\u8377\u5c5e\u5b89\u7684\u5217\u65af\u7fa4\u5c9b"),new s("AS","American Samoan",!1).addLangSetting(r.d.zh_CN,"\u7f8e\u5c5e\u8428\u6469\u4e9a"),new s("AW","Aruba",!1).addLangSetting(r.d.zh_CN,"\u963f\u9c81\u5df4"),new s("AZ","azerbaijani",!1).addLangSetting(r.d.zh_CN,"\u963f\u585e\u62dc\u7586"),new s("BA","Bosnia and herzegovina",!1).addLangSetting(r.d.zh_CN,"\u6ce2\u65af\u5c3c\u4e9a\u548c\u9ed1\u585e\u54e5\u7ef4\u90a3"),new s("BD","bangladeshi",!1).addLangSetting(r.d.zh_CN,"\u5b5f\u52a0\u62c9\u56fd"),new s("BF","Burkina faso",!1).addLangSetting(r.d.zh_CN,"\u5e03\u57fa\u7eb3\u6cd5\u7d22"),new s("BG","Bulgarian",!1).addLangSetting(r.d.zh_CN,"\u4fdd\u52a0\u5229\u4e9a"),new s("BH","The people of bahrain",!1).addLangSetting(r.d.zh_CN,"\u5df4\u6797"),new s("BI","burundian",!1).addLangSetting(r.d.zh_CN,"\u5e03\u9686\u8fea"),new s("BJ","Benin people",!1).addLangSetting(r.d.zh_CN,"\u8d1d\u5b81"),new s("BN","The brunei people",!1).addLangSetting(r.d.zh_CN,"\u6587\u83b1"),new s("BO","Bolivian",!1).addLangSetting(r.d.zh_CN,"\u73bb\u5229\u7ef4\u4e9a"),new s("BQ","Dutch Caribbean",!1).addLangSetting(r.d.zh_CN,"\u8377\u5170\u52a0\u52d2\u6bd4\u533a"),new s("BS","bahamian",!1).addLangSetting(r.d.zh_CN,"\u5df4\u54c8\u9a6c"),new s("BT","bhutanese",!1).addLangSetting(r.d.zh_CN,"\u4e0d\u4e39"),new s("BW","Botswana",!1).addLangSetting(r.d.zh_CN,"\u535a\u8328\u74e6\u7eb3"),new s("BY","byelorussian",!1).addLangSetting(r.d.zh_CN,"\u767d\u4fc4\u7f57\u65af"),new s("BZ","belizean",!1).addLangSetting(r.d.zh_CN,"\u4f2f\u5229\u5179"),new s("CC","The cocos islands",!1).addLangSetting(r.d.zh_CN,"\u79d1\u79d1\u65af\u7fa4\u5c9b"),new s("CD","The democratic republic of Congo",!1).addLangSetting(r.d.zh_CN,"\u521a\u679c\uff08\u91d1\uff09"),new s("CF","Of the central African republic",!1).addLangSetting(r.d.zh_CN,"\u4e2d\u975e\u5171\u548c\u56fd"),new s("CG","The people of the republic of Congo",!1).addLangSetting(r.d.zh_CN,"\u521a\u679c\uff08\u5e03\uff09"),new s("CI","ivorian",!1).addLangSetting(r.d.zh_CN,"\u79d1\u7279\u8fea\u74e6"),new s("CK","Cook islands",!1).addLangSetting(r.d.zh_CN,"\u5e93\u514b\u7fa4\u5c9b"),new s("CM","cameroonian",!1).addLangSetting(r.d.zh_CN,"\u5580\u9ea6\u9686"),new s("CO","Colombian",!1).addLangSetting(r.d.zh_CN,"\u54e5\u4f26\u6bd4\u4e9a"),new s("CR","Costa ricans",!1).addLangSetting(r.d.zh_CN,"\u54e5\u65af\u8fbe\u9ece\u52a0"),new s("CV","The cape verdeans",!1).addLangSetting(r.d.zh_CN,"\u4f5b\u5f97\u89d2"),new s("CW","Curacao",!1).addLangSetting(r.d.zh_CN,"\u5e93\u62c9\u7d22"),new s("CY","Cypriot",!1).addLangSetting(r.d.zh_CN,"\u585e\u6d66\u8def\u65af"),new s("DJ","Djibouti",!1).addLangSetting(r.d.zh_CN,"\u5409\u5e03\u63d0"),new s("DO","dominicans",!1).addLangSetting(r.d.zh_CN,"\u591a\u7c73\u5c3c\u52a0"),new s("DZ","Algerian",!1).addLangSetting(r.d.zh_CN,"\u963f\u5c14\u53ca\u5229\u4e9a"),new s("EC","Ecuadorian",!1).addLangSetting(r.d.zh_CN,"\u5384\u74dc\u591a\u5c14"),new s("EE","esthonian",!1).addLangSetting(r.d.zh_CN,"\u7231\u6c99\u5c3c\u4e9a"),new s("EH","Western Sahara",!1).addLangSetting(r.d.zh_CN,"\u897f\u6492\u54c8\u62c9"),new s("ER","Eritrean",!1).addLangSetting(r.d.zh_CN,"\u5384\u7acb\u7279\u91cc\u4e9a"),new s("ET","Ethiopian",!1).addLangSetting(r.d.zh_CN,"\u57c3\u585e\u4fc4\u6bd4\u4e9a"),new s("FJ","Fijian",!1).addLangSetting(r.d.zh_CN,"\u6590\u6d4e"),new s("FK","Falklands",!1).addLangSetting(r.d.zh_CN,"\u798f\u514b\u5170\u7fa4\u5c9b"),new s("FM","Micronesian",!1).addLangSetting(r.d.zh_CN,"\u5bc6\u514b\u7f57\u5c3c\u897f\u4e9a"),new s("FO","Faroese",!1).addLangSetting(r.d.zh_CN,"\u6cd5\u7f57\u7fa4\u5c9b"),new s("FW","French west Indies",!1).addLangSetting(r.d.zh_CN,"\u6cd5\u5c5e\u897f\u5370\u5ea6\u7fa4\u5c9b"),new s("GA","The gabonese",!1).addLangSetting(r.d.zh_CN,"\u52a0\u84ec"),new s("GD","Grenada",!1).addLangSetting(r.d.zh_CN,"\u683c\u6797\u7eb3\u8fbe"),new s("GE","Georgian",!1).addLangSetting(r.d.zh_CN,"\u683c\u9c81\u5409\u4e9a"),new s("GF","French Guiana",!1).addLangSetting(r.d.zh_CN,"\u6cd5\u5c5e\u572d\u4e9a\u90a3"),new s("GG","Guernsey",!1).addLangSetting(r.d.zh_CN,"\u683c\u6069\u897f\u5c9b"),new s("GH","The ghanaian",!1).addLangSetting(r.d.zh_CN,"\u52a0\u7eb3"),new s("GI","Gibraltarian",!1).addLangSetting(r.d.zh_CN,"\u76f4\u5e03\u7f57\u9640"),new s("GL","greenlandic",!1).addLangSetting(r.d.zh_CN,"\u683c\u9675\u5170"),new s("GM","gambian",!1).addLangSetting(r.d.zh_CN,"\u5188\u6bd4\u4e9a"),new s("GN","guinean",!1).addLangSetting(r.d.zh_CN,"\u51e0\u5185\u4e9a"),new s("GP","Guadeloupe",!1).addLangSetting(r.d.zh_CN,"\u74dc\u5fb7\u7f57\u666e\u5c9b"),new s("GQ","Equatorial guinean",!1).addLangSetting(r.d.zh_CN,"\u8d64\u9053\u51e0\u5185\u4e9a"),new s("GS","South Georgia",!1).addLangSetting(r.d.zh_CN,"\u5357\u4e54\u6cbb\u4e9a\u5c9b"),new s("GT","Guatemalan",!1).addLangSetting(r.d.zh_CN,"\u5371\u5730\u9a6c\u62c9"),new s("GU","People of Guam",!1).addLangSetting(r.d.zh_CN,"\u5173\u5c9b"),new s("GW","Guinea-bissau",!1).addLangSetting(r.d.zh_CN,"\u51e0\u5185\u4e9a\u6bd4\u7ecd"),new s("GY","Guyanese",!1).addLangSetting(r.d.zh_CN,"\u572d\u4e9a\u90a3"),new s("HM","The people of hurd and MacDonald",!1).addLangSetting(r.d.zh_CN,"\u8d6b\u5fb7\u5c9b\u548c\u9ea6\u514b\u5510\u7eb3\u7fa4\u5c9b"),new s("HN","honduran",!1).addLangSetting(r.d.zh_CN,"\u6d2a\u90fd\u62c9\u65af"),new s("HR","Croatian",!1).addLangSetting(r.d.zh_CN,"\u514b\u7f57\u5730\u4e9a"),new s("HT","Haitian",!1).addLangSetting(r.d.zh_CN,"\u6d77\u5730"),new s("IO","British Indian Ocean territory",!1).addLangSetting(r.d.zh_CN,"\u82f1\u5c5e\u5370\u5ea6\u6d0b\u9886\u5730"),new s("IS","Icelanders",!1).addLangSetting(r.d.zh_CN,"\u51b0\u5c9b"),new s("JE","jersey",!1).addLangSetting(r.d.zh_CN,"\u6cfd\u897f\u5c9b"),new s("JM","Jamaican",!1).addLangSetting(r.d.zh_CN,"\u7259\u4e70\u52a0"),new s("JO","The Jordanian",!1).addLangSetting(r.d.zh_CN,"\u7ea6\u65e6"),new s("KE","Kenyan",!1).addLangSetting(r.d.zh_CN,"\u80af\u5c3c\u4e9a"),new s("KG","Kyrgyz",!1).addLangSetting(r.d.zh_CN,"\u5409\u5c14\u5409\u65af\u65af\u5766"),new s("KI","Kiribati",!1).addLangSetting(r.d.zh_CN,"\u57fa\u91cc\u5df4\u65af"),new s("KM","The comoros",!1).addLangSetting(r.d.zh_CN,"\u79d1\u6469\u7f57"),new s("KN","Saint kitts and nevis",!1).addLangSetting(r.d.zh_CN,"\u5723\u57fa\u8328\u548c\u5c3c\u7ef4\u65af"),new s("KP","The north koreans",!1).addLangSetting(r.d.zh_CN,"\u671d\u9c9c"),new s("KV","kosovar",!1).addLangSetting(r.d.zh_CN,"\u79d1\u7d22\u6c83"),new s("KW","Kuwaiti",!1).addLangSetting(r.d.zh_CN,"\u79d1\u5a01\u7279"),new s("KY","The cayman islands",!1).addLangSetting(r.d.zh_CN,"\u5f00\u66fc\u7fa4\u5c9b"),new s("KZ","Kazakhs",!1).addLangSetting(r.d.zh_CN,"\u54c8\u8428\u514b\u65af\u5766"),new s("LA","Lao",!1).addLangSetting(r.d.zh_CN,"\u8001\u631d"),new s("LB","Lebanese",!1).addLangSetting(r.d.zh_CN,"\u9ece\u5df4\u5ae9"),new s("LC","Saint Lucia",!1).addLangSetting(r.d.zh_CN,"\u5723\u5362\u897f\u4e9a\u5c9b"),new s("LI","Liechtenstein",!1).addLangSetting(r.d.zh_CN,"\u5217\u652f\u6566\u58eb\u767b"),new s("LR","liberian",!1).addLangSetting(r.d.zh_CN,"\u5229\u6bd4\u91cc\u4e9a"),new s("LS","Lesotho",!1).addLangSetting(r.d.zh_CN,"\u83b1\u7d22\u6258"),new s("LT","Lithuanian",!1).addLangSetting(r.d.zh_CN,"\u7acb\u9676\u5b9b"),new s("LU","luxemburger",!1).addLangSetting(r.d.zh_CN,"\u5362\u68ee\u5821"),new s("LV","latvian",!1).addLangSetting(r.d.zh_CN,"\u62c9\u8131\u7ef4\u4e9a"),new s("LY","Libyan",!1).addLangSetting(r.d.zh_CN,"\u5229\u6bd4\u4e9a"),new s("MA","Moroccan",!1).addLangSetting(r.d.zh_CN,"\u6469\u6d1b\u54e5"),new s("MC","monacan",!1).addLangSetting(r.d.zh_CN,"\u6469\u7eb3\u54e5"),new s("MD","moldovan",!1).addLangSetting(r.d.zh_CN,"\u6469\u5c14\u591a\u74e6"),new s("ME","The negroes of the gate",!1).addLangSetting(r.d.zh_CN,"\u95e8\u7684\u5185\u54e5\u7f57"),new s("MF","Of the French saint Martin",!1).addLangSetting(r.d.zh_CN,"\u6cd5\u5c5e\u5723\u9a6c\u4e01"),new s("MG","Malagasy",!1).addLangSetting(r.d.zh_CN,"\u9a6c\u8fbe\u52a0\u65af\u52a0\u5c9b"),new s("MH","Of the Marshall islands",!1).addLangSetting(r.d.zh_CN,"\u9a6c\u7ecd\u5c14\u7fa4\u5c9b"),new s("MK","macedonic",!1).addLangSetting(r.d.zh_CN,"\u9a6c\u5176\u987f"),new s("ML","malian",!1).addLangSetting(r.d.zh_CN,"\u9a6c\u91cc"),new s("MN","The mongols",!1).addLangSetting(r.d.zh_CN,"\u8499\u53e4"),new s("MP","Northern mariana islands",!1).addLangSetting(r.d.zh_CN,"\u5317\u9a6c\u91cc\u4e9a\u7eb3\u7fa4\u5c9b"),new s("MQ","Martinique",!1).addLangSetting(r.d.zh_CN,"\u9a6c\u63d0\u5c3c\u514b\u5c9b"),new s("MR","Mauritanian",!1).addLangSetting(r.d.zh_CN,"\u6bdb\u5229\u5854\u5c3c\u4e9a"),new s("MS","Montserrat",!1).addLangSetting(r.d.zh_CN,"\u8499\u7279\u585e\u62c9\u7279"),new s("MT","Maltese",!1).addLangSetting(r.d.zh_CN,"\u9a6c\u8033\u4ed6"),new s("MV","maldivian",!1).addLangSetting(r.d.zh_CN,"\u9a6c\u5c14\u4ee3\u592b"),new s("MW","malawian",!1).addLangSetting(r.d.zh_CN,"\u9a6c\u62c9\u7ef4"),new s("MZ","mozambican",!1).addLangSetting(r.d.zh_CN,"\u83ab\u6851\u6bd4\u514b"),new s("NA","namibian",!1).addLangSetting(r.d.zh_CN,"\u7eb3\u7c73\u6bd4\u4e9a"),new s("NC","New caledonian",!1).addLangSetting(r.d.zh_CN,"\u65b0\u5580\u91cc\u591a\u5c3c\u4e9a"),new s("NE","nigerien",!1).addLangSetting(r.d.zh_CN,"\u5c3c\u65e5\u5c14"),new s("NF","Norfolk",!1).addLangSetting(r.d.zh_CN,"\u8bfa\u798f\u514b\u5c9b"),new s("NG","Nigerian",!1).addLangSetting(r.d.zh_CN,"\u5c3c\u65e5\u5229\u4e9a"),new s("NI","nicaraguan",!1).addLangSetting(r.d.zh_CN,"\u5c3c\u52a0\u62c9\u74dc"),new s("NP","nepalese",!1).addLangSetting(r.d.zh_CN,"\u5c3c\u6cca\u5c14"),new s("NR","Nauru people",!1).addLangSetting(r.d.zh_CN,"\u7459\u9c81"),new s("NU","niue",!1).addLangSetting(r.d.zh_CN,"\u7ebd\u57c3\u5c9b"),new s("OM","The people of Oman",!1).addLangSetting(r.d.zh_CN,"\u963f\u66fc"),new s("PA","Panamanian",!1).addLangSetting(r.d.zh_CN,"\u5df4\u62ff\u9a6c"),new s("PE","Peruvian",!1).addLangSetting(r.d.zh_CN,"\u79d8\u9c81"),new s("PF","French polynesians",!1).addLangSetting(r.d.zh_CN,"\u6cd5\u5c5e\u6ce2\u5229\u5c3c\u897f\u4e9a"),new s("PG","Papua New Guinea",!1).addLangSetting(r.d.zh_CN,"\u5df4\u5e03\u4e9a\u65b0\u51e0\u5185\u4e9a"),new s("PM","Saint Pierre and the secret clone",!1).addLangSetting(r.d.zh_CN,"\u5723\u76ae\u57c3\u5c14\u5c9b\u548c\u5bc6\u514b\u9686"),new s("PN","Pitcairn",!1).addLangSetting(r.d.zh_CN,"\u76ae\u7279\u51ef\u6069"),new s("PR","Puerto Rican",!1).addLangSetting(r.d.zh_CN,"\u6ce2\u591a\u9ece\u5404"),new s("PS","The State of Palestine",!1).addLangSetting(r.d.zh_CN,"\u5df4\u52d2\u65af\u5766"),new s("PW","Palau people",!1).addLangSetting(r.d.zh_CN,"\u5e15\u52b3"),new s("PY","Paraguayan",!1).addLangSetting(r.d.zh_CN,"\u5df4\u62c9\u572d"),new s("QA","qatari",!1).addLangSetting(r.d.zh_CN,"\u5361\u5854\u5c14"),new s("RE","reunion",!1).addLangSetting(r.d.zh_CN,"\u7559\u5c3c\u6c6a"),new s("RS","serb",!1).addLangSetting(r.d.zh_CN,"\u585e\u5c14\u7ef4\u4e9a"),new s("RW","rwandese",!1).addLangSetting(r.d.zh_CN,"\u5362\u65fa\u8fbe"),new s("SB","The Solomon islands",!1).addLangSetting(r.d.zh_CN,"\u6240\u7f57\u95e8\u7fa4\u5c9b"),new s("SC","The seychelles",!1).addLangSetting(r.d.zh_CN,"\u585e\u820c\u5c14"),new s("SD","The Sudanese",!1).addLangSetting(r.d.zh_CN,"\u82cf\u4e39"),new s("SJ","Svalbard",!1).addLangSetting(r.d.zh_CN,"\u65af\u74e6\u5c14\u5df4\u7279\u7fa4\u5c9b"),new s("SK","slovakian",!1).addLangSetting(r.d.zh_CN,"\u65af\u6d1b\u4f10\u514b"),new s("SL","Sierra leonean",!1).addLangSetting(r.d.zh_CN,"\u585e\u62c9\u5229\u6602"),new s("SM","SAN marino",!1).addLangSetting(r.d.zh_CN,"\u5723\u9a6c\u529b\u8bfa"),new s("SN","senegalese",!1).addLangSetting(r.d.zh_CN,"\u585e\u5185\u52a0\u5c14"),new s("SO","Somali",!1).addLangSetting(r.d.zh_CN,"\u7d22\u9a6c\u91cc"),new s("SS","South Sudanese",!1).addLangSetting(r.d.zh_CN,"\u5357\u82cf\u4e39"),new s("ST","SAO tome and principe",!1).addLangSetting(r.d.zh_CN,"\u5723\u591a\u7f8e\u548c\u666e\u6797\u897f\u6bd4"),new s("SV","Salvadoran",!1).addLangSetting(r.d.zh_CN,"\u8428\u5c14\u74e6\u591a"),new s("SX","The Dutch saint Martin",!1).addLangSetting(r.d.zh_CN,"\u8377\u5c5e\u5723\u9a6c\u4e01"),new s("SY","Syrian",!1).addLangSetting(r.d.zh_CN,"\u53d9\u5229\u4e9a"),new s("SZ","Swaziland",!1).addLangSetting(r.d.zh_CN,"\u65af\u5a01\u58eb\u5170"),new s("TC","Turks and caicos",!1).addLangSetting(r.d.zh_CN,"\u7279\u514b\u65af\u548c\u51ef\u79d1\u65af\u7fa4\u5c9b"),new s("TD","chadian",!1).addLangSetting(r.d.zh_CN,"\u4e4d\u5f97"),new s("TG","togolese",!1).addLangSetting(r.d.zh_CN,"\u591a\u54e5"),new s("TJ","Tajik",!1).addLangSetting(r.d.zh_CN,"\u5854\u5409\u514b\u65af\u5766"),new s("TK","Tokelau",!1).addLangSetting(r.d.zh_CN,"\u6258\u514b\u52b3\u7fa4\u5c9b"),new s("TL","timorese",!1).addLangSetting(r.d.zh_CN,"\u4e1c\u5e1d\u6c76"),new s("TM","Turkmen",!1).addLangSetting(r.d.zh_CN,"\u571f\u5e93\u66fc\u65af\u5766"),new s("TN","Tunisian",!1).addLangSetting(r.d.zh_CN,"\u7a81\u5c3c\u65af"),new s("TO","tongan",!1).addLangSetting(r.d.zh_CN,"\u6c64\u52a0"),new s("TT","The people of Trinidad and Tobago",!1).addLangSetting(r.d.zh_CN,"\u7279\u7acb\u5c3c\u8fbe\u548c\u591a\u5df4\u54e5"),new s("TV","Tuvalu",!1).addLangSetting(r.d.zh_CN,"\u56fe\u74e6\u5362"),new s("TZ","tanzanian",!1).addLangSetting(r.d.zh_CN,"\u5766\u6851\u5c3c\u4e9a"),new s("UG","ugandan",!1).addLangSetting(r.d.zh_CN,"\u4e4c\u5e72\u8fbe"),new s("UM","Small island native American",!1).addLangSetting(r.d.zh_CN,"\u7f8e\u56fd\u672c\u571f\u5916\u5c0f\u5c9b\u5c7f"),new s("UY","Uruguayan",!1).addLangSetting(r.d.zh_CN,"\u4e4c\u62c9\u572d"),new s("UZ","Uzbek",!1).addLangSetting(r.d.zh_CN,"\u4e4c\u5179\u522b\u514b\u65af\u5766"),new s("VA","Vatican",!1).addLangSetting(r.d.zh_CN,"\u68b5\u8482\u5188"),new s("VC","Saint Vincent and the grenadines",!1).addLangSetting(r.d.zh_CN,"\u5723\u6587\u68ee\u7279\u548c\u683c\u6797\u7eb3\u4e01\u65af"),new s("VE","Venezuelan",!1).addLangSetting(r.d.zh_CN,"\u59d4\u5185\u745e\u62c9"),new s("VG","British virgin islands",!1).addLangSetting(r.d.zh_CN,"\u82f1\u5c5e\u7ef4\u5c14\u4eac\u7fa4\u5c9b"),new s("VI","The virgin islands",!1).addLangSetting(r.d.zh_CN,"\u7ef4\u5c14\u4eac\u7fa4\u5c9b"),new s("VU","Vanuatu",!1).addLangSetting(r.d.zh_CN,"\u74e6\u52aa\u963f\u56fe"),new s("WF","Wallis and futuna",!1).addLangSetting(r.d.zh_CN,"\u74e6\u5229\u65af\u7fa4\u5c9b\u548c\u5bcc\u56fe\u7eb3\u7fa4\u5c9b"),new s("WS","Samoan",!1).addLangSetting(r.d.zh_CN,"\u8428\u6469\u4e9a"),new s("YE","yemeni",!1).addLangSetting(r.d.zh_CN,"\u4e5f\u95e8"),new s("YT","Mayotte",!1).addLangSetting(r.d.zh_CN,"\u9a6c\u7ea6\u7279"),new s("ZM","zambian",!1).addLangSetting(r.d.zh_CN,"\u8d5e\u6bd4\u4e9a"),new s("ZW","zimbabwean",!1).addLangSetting(r.d.zh_CN,"\u6d25\u5df4\u5e03\u97e6")].sort((e,t)=>e.code.localeCompare(t.code));a.filter(e=>e.highPriority),(()=>{const e="A".charCodeAt(0),t="Z".charCodeAt(0),n=[];for(let i=e;i<=t;i++)n.push({index:i-e,indexChar:String.fromCharCode(i),items:[]});a.forEach(t=>{const i=t.code.charCodeAt(0)-e;n[i].items.push(t)}),n.forEach((e,t)=>{0===e.items.length&&delete n[t]})})(),"A".charCodeAt(0)},wq8c:function(e,t,n){var i,r,o;!function(s){if("object"==typeof e.exports){var a=s(0,t);void 0!==a&&(e.exports=a)}else r=[n,t],void 0===(o="function"==typeof(i=s)?i.apply(t,r):i)||(e.exports=o)}(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=void 0;t.default=["ru",[["AM","PM"],n,n],n,[["\u0432\u0441","\u043f\u043d","\u0432\u0442","\u0441\u0440","\u0447\u0442","\u043f\u0442","\u0441\u0431"],n,["\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435","\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a","\u0432\u0442\u043e\u0440\u043d\u0438\u043a","\u0441\u0440\u0435\u0434\u0430","\u0447\u0435\u0442\u0432\u0435\u0440\u0433","\u043f\u044f\u0442\u043d\u0438\u0446\u0430","\u0441\u0443\u0431\u0431\u043e\u0442\u0430"],["\u0432\u0441","\u043f\u043d","\u0432\u0442","\u0441\u0440","\u0447\u0442","\u043f\u0442","\u0441\u0431"]],[["\u0412","\u041f","\u0412","\u0421","\u0427","\u041f","\u0421"],["\u0432\u0441","\u043f\u043d","\u0432\u0442","\u0441\u0440","\u0447\u0442","\u043f\u0442","\u0441\u0431"],["\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435","\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a","\u0432\u0442\u043e\u0440\u043d\u0438\u043a","\u0441\u0440\u0435\u0434\u0430","\u0447\u0435\u0442\u0432\u0435\u0440\u0433","\u043f\u044f\u0442\u043d\u0438\u0446\u0430","\u0441\u0443\u0431\u0431\u043e\u0442\u0430"],["\u0432\u0441","\u043f\u043d","\u0432\u0442","\u0441\u0440","\u0447\u0442","\u043f\u0442","\u0441\u0431"]],[["\u042f","\u0424","\u041c","\u0410","\u041c","\u0418","\u0418","\u0410","\u0421","\u041e","\u041d","\u0414"],["\u044f\u043d\u0432.","\u0444\u0435\u0432\u0440.","\u043c\u0430\u0440.","\u0430\u043f\u0440.","\u043c\u0430\u044f","\u0438\u044e\u043d.","\u0438\u044e\u043b.","\u0430\u0432\u0433.","\u0441\u0435\u043d\u0442.","\u043e\u043a\u0442.","\u043d\u043e\u044f\u0431.","\u0434\u0435\u043a."],["\u044f\u043d\u0432\u0430\u0440\u044f","\u0444\u0435\u0432\u0440\u0430\u043b\u044f","\u043c\u0430\u0440\u0442\u0430","\u0430\u043f\u0440\u0435\u043b\u044f","\u043c\u0430\u044f","\u0438\u044e\u043d\u044f","\u0438\u044e\u043b\u044f","\u0430\u0432\u0433\u0443\u0441\u0442\u0430","\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f","\u043e\u043a\u0442\u044f\u0431\u0440\u044f","\u043d\u043e\u044f\u0431\u0440\u044f","\u0434\u0435\u043a\u0430\u0431\u0440\u044f"]],[["\u042f","\u0424","\u041c","\u0410","\u041c","\u0418","\u0418","\u0410","\u0421","\u041e","\u041d","\u0414"],["\u044f\u043d\u0432.","\u0444\u0435\u0432\u0440.","\u043c\u0430\u0440\u0442","\u0430\u043f\u0440.","\u043c\u0430\u0439","\u0438\u044e\u043d\u044c","\u0438\u044e\u043b\u044c","\u0430\u0432\u0433.","\u0441\u0435\u043d\u0442.","\u043e\u043a\u0442.","\u043d\u043e\u044f\u0431.","\u0434\u0435\u043a."],["\u044f\u043d\u0432\u0430\u0440\u044c","\u0444\u0435\u0432\u0440\u0430\u043b\u044c","\u043c\u0430\u0440\u0442","\u0430\u043f\u0440\u0435\u043b\u044c","\u043c\u0430\u0439","\u0438\u044e\u043d\u044c","\u0438\u044e\u043b\u044c","\u0430\u0432\u0433\u0443\u0441\u0442","\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c","\u043e\u043a\u0442\u044f\u0431\u0440\u044c","\u043d\u043e\u044f\u0431\u0440\u044c","\u0434\u0435\u043a\u0430\u0431\u0440\u044c"]],[["\u0434\u043e \u043d.\u044d.","\u043d.\u044d."],["\u0434\u043e \u043d. \u044d.","\u043d. \u044d."],["\u0434\u043e \u0420\u043e\u0436\u0434\u0435\u0441\u0442\u0432\u0430 \u0425\u0440\u0438\u0441\u0442\u043e\u0432\u0430","\u043e\u0442 \u0420\u043e\u0436\u0434\u0435\u0441\u0442\u0432\u0430 \u0425\u0440\u0438\u0441\u0442\u043e\u0432\u0430"]],1,[6,0],["dd.MM.y","d MMM y '\u0433'.","d MMMM y '\u0433'.","EEEE, d MMMM y '\u0433'."],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",n,n,n],[",","\xa0",";","%","+","-","E","\xd7","\u2030","\u221e","\u043d\u0435\xa0\u0447\u0438\u0441\u043b\u043e",":"],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"RUB","\u20bd","\u0440\u043e\u0441\u0441\u0438\u0439\u0441\u043a\u0438\u0439 \u0440\u0443\u0431\u043b\u044c",{GEL:[n,"\u10da"],RON:[n,"L"],RUB:["\u20bd"],RUR:["\u0440."],THB:["\u0e3f"],TMT:["\u0422\u041c\u0422"],TWD:["NT$"],UAH:["\u20b4"],XXX:["XXXX"]},"ltr",function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 0===n&&t%10==1&&t%100!=11?1:0===n&&t%10===Math.floor(t%10)&&t%10>=2&&t%10<=4&&!(t%100>=12&&t%100<=14)?3:0===n&&t%10==0||0===n&&t%10===Math.floor(t%10)&&t%10>=5&&t%10<=9||0===n&&t%100===Math.floor(t%100)&&t%100>=11&&t%100<=14?4:5}]})},"wzM+":function(e,t,n){"use strict";function i(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=n.width,s=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],a=t.match(s);if(!a)return null;var c,l=a[0],u=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth],d=Array.isArray(u)?o(u,function(e){return e.test(l)}):r(u,function(e){return e.test(l)});c=e.valueCallback?e.valueCallback(d):d,c=n.valueCallback?n.valueCallback(c):c;var h=t.slice(l.length);return{value:c,rest:h}}}function r(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function o(e,t){for(var n=0;nt.lift(new o(e))}class o{constructor(e){this.defaultValue=e}call(e,t){return t.subscribe(new s(e,this.defaultValue))}}class s extends i.a{constructor(e,t){super(e),this.defaultValue=t,this.isEmpty=!0}_next(e){this.isEmpty=!1,this.destination.next(e)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}},xgIS:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("HDdC"),r=n("DH7j"),o=n("n6bG"),s=n("lJxs");function a(e,t,n,l){return Object(o.a)(n)&&(l=n,n=void 0),l?a(e,t,n).pipe(Object(s.a)(e=>Object(r.a)(e)?l(...e):l(e))):new i.a(i=>{c(e,t,function(e){i.next(arguments.length>1?Array.prototype.slice.call(arguments):e)},i,n)})}function c(e,t,n,i,r){let o;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(e)){const i=e;e.addEventListener(t,n,r),o=()=>i.removeEventListener(t,n,r)}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(e)){const i=e;e.on(t,n),o=()=>i.off(t,n)}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(e)){const i=e;e.addListener(t,n),o=()=>i.removeListener(t,n)}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(let o=0,s=e.length;othis.processMessagePageData(t,e)})}get(e,t){return this.httpClientWrapper.post("/UserMessageApi/SearchMessage",e,{resultProcessor:e=>this.processMessagePageData(e,t)})}getDetailById(e,t,n=!0){return this.httpClientWrapper.post("/UserMessageApi/GetMessageDetail",{messageId:e,markAsRead:n},{resultProcessor:e=>(e&&this.preProcessMessage(e,t),e)})}readById(e){let t=null;if(Array.isArray(e)){if(1!==e.length)return this.httpClientWrapper.post("/UserMessageApi/BatchReadMessage",{listMessageID:e});t=e[0]}else t=e;if(null!==t)return this.httpClientWrapper.post("/UserMessageApi/ReadMessage",{messageID:t})}readAllByCategory(e){return this.httpClientWrapper.post("/UserMessageApi/ReadAllMessage",{categoryTypeID:e})}deleteListById(e){return this.httpClientWrapper.post("/UserMessageApi/BatchDeleteMessage",{listMessageID:e})}processMessagePageData(e,t){return t!==r.d.zh_CN&&t!==r.d._zh_CN||(t=r.d.zh_CN),e.Data.forEach(e=>this.preProcessMessage(e,t)),e}preProcessMessage(e,t){let n;switch(e._calculatedConfig={useTemplate:!1,colorType:""},e.TitleDict&&Object.keys(e.TitleDict).forEach(t=>{t===r.d._zh_CN?e.TitleDict[r.d.zh_CN]=e.TitleDict[t]:t===r.d._en_US&&(e.TitleDict[r.d.en_US]=e.TitleDict[t])}),e.Category){case i.WorkOrderStatusChange:case i.System:n=e.ExtraSetting||"{}","string"==typeof n&&(e.ExtraSetting=JSON.parse(n),e.ExtraSetting.TicketSettings&&e.ExtraSetting.TicketSettings.Issue&&(e.ExtraSetting.TicketSettings.Issue.__display_name__=Object(o.v)(e.ExtraSetting.TicketSettings.Issue,t===r.d.zh_CN))),e.Category===i.WorkOrderStatusChange&&(e._calculatedConfig.useTemplate=e.Params&&!!e.Params.LogType),e.Content&&(e.Content=e.Content.replace(/{class e{constructor(e,t){this.changeDetectorRef=e,this.today=new Date,this.placeholder="",this.ndSummaryType="none",this.ndMinDays=2,this.ndMaxDays=3650,this.ndOnPanelChange=new i.n,this.ndOnOpenChange=new i.n,this.disabledDate=e=>{if(Object(s.a)(e,this.today)<-1)return!0;if(this.ndMaxDate&&e>this.ndMaxDate)return!0;if(this.ndMinDate&&ethis.ndMaxDays)return!0}return!1},this.defaultFormat=t===o.d.zh_CN?"MM\u6708dd\u65e5(EEE)":"EEE, MM-dd"}get dateFormat(){return this.ndFormat||this.defaultFormat}open(){this.rangPicker.open()}get dateDiff(){return this._value&&this._value[0]&&this._value[1]?Object(s.a)(this._value[1],this._value[0]):0}writeValue(e){this._value=e,this.changeDetectorRef.markForCheck()}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.disabled=e,this.changeDetectorRef.markForCheck()}onValueChange(e){2===e.length&&e.sort((e,t)=>e>t?1:-1),0===Object(s.a)(e[1],e[0])&&(e[1]=Object(a.a)(e[0],this.ndMinDays-1)),this._value=e,this.tempValue=null,e[1]&&this.onChange(e)}onCalendarChange(e){this.tempValue=e.length>1?null:e[0]}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.h),i.Qb(i.v))},e.\u0275cmp=i.Kb({type:e,selectors:[["nd-date-range-picker"]],viewQuery:function(e,t){if(1&e&&i.Xc(c.a,3),2&e){let e;i.Dc(e=i.mc())&&(t.rangPicker=e.first)}},inputs:{placeholder:"placeholder",readonly:"readonly",disabled:"disabled",ndRenderExtraFooter:"ndRenderExtraFooter",ndFormat:"ndFormat",ndAllowClear:"ndAllowClear",ndShowWeek:"ndShowWeek",ndSummaryType:"ndSummaryType",ndMinDate:"ndMinDate",ndMaxDate:"ndMaxDate",ndMinDays:"ndMinDays",ndMaxDays:"ndMaxDays",ndDropdownClassName:"ndDropdownClassName",ndDateRender:"ndDateRender"},outputs:{ndOnPanelChange:"ndOnPanelChange",ndOnOpenChange:"ndOnOpenChange"},features:[i.Bb([{provide:r.m,useExisting:Object(i.V)(()=>e),multi:!0}])],decls:9,vars:10,consts:function(){let e,t;return e="" + "\ufffd0\ufffd" + " nights",t="" + "\ufffd0\ufffd" + " days",[[1,"nd-date-range-picker"],[1,"nd-date-range-picker__inner-picker",3,"nzDropdownClassName","nzFormat","ngModel","nzAllowClear","nzBorderless","nzPopupStyle","nzDisabledDate","nzSuffixIcon","nzDateRender","nzRenderExtraFooter","ngModelChange","nzOnCalendarChange","nzOnPanelChange","nzOnOpenChange"],["rangePicker",""],["class","nd-date-range-picker__summary",3,"ngSwitch",4,"ngIf"],[1,"nd-date-range-picker__summary",3,"ngSwitch"],[4,"ngSwitchCase"],e,t]},template:function(e,t){1&e&&(i.Sc(0,"\n "),i.Wb(1,"div",0),i.Sc(2,"\n "),i.Wb(3,"nz-range-picker",1,2),i.lc("ngModelChange",function(e){return t._value=e})("ngModelChange",function(e){return t.onValueChange(e)})("nzOnCalendarChange",function(e){return t.onCalendarChange(e)})("nzOnPanelChange",function(e){return t.ndOnPanelChange.next(e)})("nzOnOpenChange",function(e){return t.ndOnOpenChange.next(e)}),i.Vb(),i.Sc(5,"\n\n "),i.Qc(6,h,6,3,"span",3),i.Sc(7,"\n "),i.Vb(),i.Sc(8,"\n ")),2&e&&(i.Cb(3),i.wc("nzDropdownClassName","nd-date-range-picker__dropdown "+t.ndDropdownClassName)("nzFormat",t.ndFormat||t.defaultFormat)("ngModel",t._value)("nzAllowClear",t.ndAllowClear)("nzBorderless",!0)("nzDisabledDate",t.disabledDate)("nzSuffixIcon",null)("nzDateRender",t.ndDateRender)("nzRenderExtraFooter",t.ndRenderExtraFooter),i.Cb(3),i.wc("ngIf",t.ndSummaryType))},directives:[c.a,c.c,r.o,r.r,l.o,l.q,l.r],styles:[":root{--nd-date-picker-cell-size:26px}.nd-date-range-picker{font-size:14px;line-height:22px;display:flex;justify-content:space-between;flex-wrap:nowrap}.nd-date-range-picker__inner-picker{padding:0}.nd-date-range-picker__inner-picker .ant-picker-active-bar{margin-left:0}.nd-date-range-picker__inner-picker .ant-picker-input>input{color:#1f2b4b;font-weight:600}.nd-date-range-picker__summary{color:#1f2b4b;word-break:keep-all;white-space:nowrap}.nd-date-range-picker__dropdown .ant-picker-dropdown-range{padding:0}.nd-date-range-picker__dropdown .ant-picker-header{font-size:16px;color:#21252a;padding:12px 8px}.nd-date-range-picker__dropdown .ant-picker-header>button{width:var(--nd-date-picker-cell-size);height:var(--nd-date-picker-cell-size);border-color:#e9eef5;border-radius:var(--nd-date-picker-cell-size)}.nd-date-range-picker__dropdown .ant-picker-content td,.nd-date-range-picker__dropdown .ant-picker-content th{vertical-align:top}.nd-date-range-picker__dropdown .ant-picker-cell:before{top:3px;transform:none}.nd-date-range-picker__dropdown .ant-picker-cell-in-view{color:#1f2b4b}.nd-date-range-picker__dropdown .ant-picker-cell-in-view.ant-picker-cell-range-hover-end.ant-picker-cell-range-end-single:after,.nd-date-range-picker__dropdown .ant-picker-cell-in-view.ant-picker-cell-range-hover-end.ant-picker-cell-range-start.ant-picker-cell-range-end.ant-picker-cell-range-start-near-hover:after,.nd-date-range-picker__dropdown .ant-picker-cell-in-view.ant-picker-cell-range-hover-end:not(.ant-picker-cell-in-range):not(.ant-picker-cell-range-start):not(.ant-picker-cell-range-end):after,.nd-date-range-picker__dropdown .ant-picker-cell-in-view.ant-picker-cell-range-hover-start.ant-picker-cell-range-start-single:after,.nd-date-range-picker__dropdown .ant-picker-cell-in-view.ant-picker-cell-range-hover-start.ant-picker-cell-range-start.ant-picker-cell-range-end.ant-picker-cell-range-end-near-hover:after,.nd-date-range-picker__dropdown .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:not(.ant-picker-cell-in-range):not(.ant-picker-cell-range-start):not(.ant-picker-cell-range-end):after,.nd-date-range-picker__dropdown .ant-picker-cell-in-view.ant-picker-cell-range-hover:not(.ant-picker-cell-in-range):after{height:var(--nd-date-picker-cell-size);top:3px;transform:none}.nd-date-range-picker__dropdown .ant-picker-cell-in-view.ant-picker-cell-range-hover-end:after{border-top-right-radius:var(--nd-date-picker-cell-size);border-bottom-right-radius:var(--nd-date-picker-cell-size)}.nd-date-range-picker__dropdown .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:after{border-top-left-radius:var(--nd-date-picker-cell-size);border-bottom-left-radius:var(--nd-date-picker-cell-size)}.nd-date-range-picker__dropdown .ant-picker-cell-in-view.ant-picker-cell-in-range .ant-picker-cell-inner,.nd-date-range-picker__dropdown .ant-picker-cell-in-view.ant-picker-cell-today:not(.ant-picker-cell-selected) .ant-picker-cell-inner{color:#f32a4e}.nd-date-range-picker__dropdown .ant-picker-cell-in-view.ant-picker-cell-today:not(.ant-picker-cell-selected) .ant-picker-cell-inner:before{border-color:#e9eef5;border-width:2px}.nd-date-range-picker__dropdown .ant-picker-cell-in-view.ant-picker-cell-today .ant-picker-cell-inner:before{border-radius:var(--nd-date-picker-cell-size)}.nd-date-range-picker__dropdown .ant-picker-cell-in-view.ant-picker-cell-range-end .ant-picker-cell-inner,.nd-date-range-picker__dropdown .ant-picker-cell-in-view.ant-picker-cell-range-start .ant-picker-cell-inner{border-radius:var(--nd-date-picker-cell-size)!important}.nd-date-range-picker__dropdown .ant-picker-cell-disabled:before{background-color:#fff}"],encapsulation:2,changeDetection:0}),e})()},yx2K:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var i=n("U8d7"),r=n("tb4M"),o=n("fXoL");let s=(()=>{class e{constructor(e,t,n){this.element=e,this.renderer=t,this.assetsBase=n}ngOnInit(){this.updateSrc()}ngOnChanges(e){e.ndOssSrc&&this.updateSrc()}updateSrc(){let e=this.ndOssSrc;e.startsWith("~")&&(e=e.slice(1),e.startsWith("/")&&(e=e.slice(1)),e=this.assetsBase+e),this.renderer.setProperty(this.element.nativeElement,"src",i.q.normalizeStaticUrl(e))}}return e.\u0275fac=function(t){return new(t||e)(o.Qb(o.l),o.Qb(o.G),o.Qb(r.r))},e.\u0275dir=o.Lb({type:e,selectors:[["","ndOssSrc",""]],inputs:{ndOssSrc:"ndOssSrc"},features:[o.Ab]}),e})()},"z+Ro":function(e,t,n){"use strict";function i(e){return e&&"function"==typeof e.schedule}n.d(t,"a",function(){return i})},z6cu:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("HDdC");function r(e,t){return new i.a(t?n=>t.schedule(o,0,{error:e,subscriber:n}):t=>t.error(e))}function o({error:e,subscriber:t}){t.error(e)}},zAKX:function(e,t,n){"use strict";n.d(t,"a",function(){return ye}),n.d(t,"b",function(){return be}),n.d(t,"c",function(){return Se}),n.d(t,"d",function(){return Pe});var i=n("fXoL"),r=n("XNiG"),o=n("2Vo4"),s=n("itXk"),a=n("VRyK"),c=n("vxfF"),l=n("mrSG"),u=n("/KA4"),d=n("JX91"),h=n("1G5W"),p=n("eIep"),f=n("u47x"),g=n("cH1L"),b=n("FtGj"),m=n("rDax"),y=n("nLfN"),v=n("3Pt+"),C=n("GR68"),w=n("2Suw"),S=n("YF2q"),_=n("ejfv"),O=n("ofXK"),x=n("pdGh"),z=n("JgHy"),T=n("C2AL"),k=n("QlLE"),P=n("Rm4T"),E=n("FwiY");const D=["*"];function M(e,t){if(1&e&&(i.Wb(0,"div",4),i.Rb(1,"nz-embed-empty",5),i.Vb()),2&e){const e=i.oc();i.Cb(1),i.wc("specificContent",e.notFoundContent)}}function I(e,t){if(1&e&&i.Rb(0,"nz-option-item-group",9),2&e){const e=i.oc().$implicit;i.wc("nzLabel",e.groupLabel)}}function A(e,t){if(1&e){const e=i.Xb();i.Wb(0,"nz-option-item",10),i.lc("itemHover",function(t){return i.Hc(e),i.oc(2).onItemHover(t)})("itemClick",function(t){return i.Hc(e),i.oc(2).onItemClick(t)}),i.Vb()}if(2&e){const e=i.oc().$implicit,t=i.oc();i.wc("icon",t.menuItemSelectedIcon)("customContent",e.nzCustomContent)("template",e.template)("grouped",!!e.groupLabel)("disabled",e.nzDisabled)("showState","tags"===t.mode||"multiple"===t.mode)("label",e.nzLabel)("compareWith",t.compareWith)("activatedValue",t.activatedValue)("listOfSelectedValue",t.listOfSelectedValue)("value",e.nzValue)}}function R(e,t){1&e&&(i.Ub(0,6),i.Qc(1,I,1,1,"nz-option-item-group",7),i.Qc(2,A,1,11,"nz-option-item",8),i.Tb()),2&e&&(i.wc("ngSwitch",t.$implicit.type),i.Cb(1),i.wc("ngSwitchCase","group"),i.Cb(1),i.wc("ngSwitchCase","item"))}function j(e,t){}function V(e,t){1&e&&i.uc(0)}const L=["inputElement"],N=["mirrorElement"];function F(e,t){1&e&&i.Rb(0,"span",3,4)}function B(e,t){if(1&e&&i.Rb(0,"nz-select-item",6),2&e){const e=i.oc(2);i.wc("deletable",!1)("disabled",!1)("removeIcon",e.removeIcon)("label",e.listOfTopItem[0].nzLabel)("contentTemplateOutlet",e.customTemplate)("contentTemplateOutletContext",e.listOfTopItem[0])}}function W(e,t){if(1&e){const e=i.Xb();i.Ub(0),i.Wb(1,"nz-select-search",4),i.lc("isComposingChange",function(t){return i.Hc(e),i.oc().isComposingChange(t)})("valueChange",function(t){return i.Hc(e),i.oc().onInputValueChange(t)}),i.Vb(),i.Qc(2,B,1,6,"nz-select-item",5),i.Tb()}if(2&e){const e=i.oc();i.Cb(1),i.wc("nzId",e.nzId)("disabled",e.disabled)("value",e.inputValue)("showInput",e.showSearch)("mirrorSync",!1)("autofocus",e.autofocus)("focusTrigger",e.open),i.Cb(1),i.wc("ngIf",e.isShowSingleLabel)}}function H(e,t){if(1&e){const e=i.Xb();i.Wb(0,"nz-select-item",9),i.lc("delete",function(){i.Hc(e);const n=t.$implicit;return i.oc(2).onDeleteItem(n.contentTemplateOutletContext)}),i.Vb()}if(2&e){const e=t.$implicit,n=i.oc(2);i.wc("removeIcon",n.removeIcon)("label",e.nzLabel)("disabled",e.nzDisabled||n.disabled)("contentTemplateOutlet",e.contentTemplateOutlet)("deletable",!0)("contentTemplateOutletContext",e.contentTemplateOutletContext)}}function U(e,t){if(1&e){const e=i.Xb();i.Ub(0),i.Qc(1,H,1,6,"nz-select-item",7),i.Wb(2,"nz-select-search",8),i.lc("isComposingChange",function(t){return i.Hc(e),i.oc().isComposingChange(t)})("valueChange",function(t){return i.Hc(e),i.oc().onInputValueChange(t)}),i.Vb(),i.Tb()}if(2&e){const e=i.oc();i.Cb(1),i.wc("ngForOf",e.listOfSlicedItem)("ngForTrackBy",e.trackValue),i.Cb(1),i.wc("nzId",e.nzId)("disabled",e.disabled)("value",e.inputValue)("autofocus",e.autofocus)("showInput",!0)("mirrorSync",!0)("focusTrigger",e.open)}}function $(e,t){if(1&e&&i.Rb(0,"nz-select-placeholder",10),2&e){const e=i.oc();i.wc("placeholder",e.placeHolder)}}function Q(e,t){if(1&e&&i.Rb(0,"nz-select-arrow",5),2&e){const e=i.oc();i.wc("loading",e.nzLoading)("search",e.nzOpen&&e.nzShowSearch)("suffixIcon",e.nzSuffixIcon)}}function G(e,t){if(1&e){const e=i.Xb();i.Wb(0,"nz-select-clear",6),i.lc("clear",function(){return i.Hc(e),i.oc().onClearSelection()}),i.Vb()}if(2&e){const e=i.oc();i.wc("clearIcon",e.nzClearIcon)}}function Y(e,t){if(1&e){const e=i.Xb();i.Wb(0,"nz-option-container",7),i.lc("keydown",function(t){return i.Hc(e),i.oc().onKeyDown(t)})("itemClick",function(t){return i.Hc(e),i.oc().onItemClick(t)})("scrollToBottom",function(){return i.Hc(e),i.oc().nzScrollToBottom.emit()}),i.Vb()}if(2&e){const e=i.oc();i.Ib("ant-select-dropdown-placement-bottomLeft","bottom"===e.dropDownPosition)("ant-select-dropdown-placement-topLeft","top"===e.dropDownPosition),i.wc("ngStyle",e.nzDropdownStyle)("itemSize",e.nzOptionHeightPx)("maxItemLength",e.nzOptionOverflowSize)("matchWidth",e.nzDropdownMatchSelectWidth)("@slideMotion","enter")("@.disabled",null==e.noAnimation?null:e.noAnimation.nzNoAnimation)("nzNoAnimation",null==e.noAnimation?null:e.noAnimation.nzNoAnimation)("listOfContainerItem",e.listOfContainerItem)("menuItemSelectedIcon",e.nzMenuItemSelectedIcon)("notFoundContent",e.nzNotFoundContent)("activatedValue",e.activatedValue)("listOfSelectedValue",e.listOfValue)("dropdownRender",e.nzDropdownRender)("compareWith",e.compareWith)("mode",e.nzMode)}}function K(e,t){if(1&e&&(i.Ub(0),i.Sc(1),i.Tb()),2&e){const e=i.oc();i.Cb(1),i.Tc(e.nzLabel)}}function X(e,t){if(1&e&&(i.Ub(0),i.Sc(1),i.Tb()),2&e){const e=i.oc();i.Cb(1),i.Tc(e.label)}}function q(e,t){}function J(e,t){if(1&e&&(i.Ub(0),i.Qc(1,q,0,0,"ng-template",3),i.Tb()),2&e){const e=i.oc();i.Cb(1),i.wc("ngTemplateOutlet",e.template)}}function Z(e,t){1&e&&i.Rb(0,"i",6)}function ee(e,t){if(1&e&&(i.Wb(0,"div",4),i.Qc(1,Z,1,0,"i",5),i.Vb()),2&e){const e=i.oc();i.Cb(1),i.wc("ngIf",!e.icon)("ngIfElse",e.icon)}}function te(e,t){1&e&&i.Rb(0,"i",2)}function ne(e,t){1&e&&i.Rb(0,"i",7)}function ie(e,t){1&e&&i.Rb(0,"i",8)}function re(e,t){if(1&e&&(i.Ub(0),i.Qc(1,ne,1,0,"i",5),i.Qc(2,ie,1,0,"i",6),i.Tb()),2&e){const e=i.oc(2);i.Cb(1),i.wc("ngIf",!e.search),i.Cb(1),i.wc("ngIf",e.search)}}function oe(e,t){if(1&e&&(i.Ub(0),i.Rb(1,"i",10),i.Tb()),2&e){const e=t.$implicit;i.Cb(1),i.wc("nzType",e)}}function se(e,t){if(1&e&&i.Qc(0,oe,2,1,"ng-container",9),2&e){const e=i.oc(2);i.wc("nzStringTemplateOutlet",e.suffixIcon)}}function ae(e,t){if(1&e&&(i.Qc(0,re,3,2,"ng-container",3),i.Qc(1,se,1,1,"ng-template",null,4,i.Rc)),2&e){const e=i.Ec(2),t=i.oc();i.wc("ngIf",!t.suffixIcon)("ngIfElse",e)}}function ce(e,t){1&e&&i.Rb(0,"i",1)}function le(e,t){if(1&e&&(i.Wb(0,"div",4),i.Sc(1),i.Vb()),2&e){const e=i.oc(2);i.Cb(1),i.Tc(e.label)}}function ue(e,t){if(1&e&&i.Sc(0),2&e){const e=i.oc(2);i.Tc(e.label)}}function de(e,t){if(1&e&&(i.Ub(0),i.Qc(1,le,2,1,"div",2),i.Qc(2,ue,1,1,"ng-template",null,3,i.Rc),i.Tb()),2&e){const e=i.Ec(3),t=i.oc();i.Cb(1),i.wc("ngIf",t.deletable)("ngIfElse",e)}}function he(e,t){1&e&&i.Rb(0,"i",7)}function pe(e,t){if(1&e){const e=i.Xb();i.Wb(0,"span",5),i.lc("click",function(t){return i.Hc(e),i.oc().onDelete(t)}),i.Qc(1,he,1,0,"i",6),i.Vb()}if(2&e){const e=i.oc();i.Cb(1),i.wc("ngIf",!e.removeIcon)("ngIfElse",e.removeIcon)}}const fe=function(e){return{$implicit:e}};function ge(e,t){if(1&e&&(i.Ub(0),i.Sc(1),i.Tb()),2&e){const e=i.oc();i.Cb(1),i.Uc(" ",e.placeholder," ")}}let be=(()=>{class e{constructor(){this.nzLabel=null,this.changes=new r.a}ngOnChanges(){this.changes.next()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Kb({type:e,selectors:[["nz-option-group"]],inputs:{nzLabel:"nzLabel"},exportAs:["nzOptionGroup"],features:[i.Ab],ngContentSelectors:D,decls:1,vars:0,template:function(e,t){1&e&&(i.vc(),i.uc(0))},encapsulation:2,changeDetection:0}),e})(),me=(()=>{class e{constructor(e){this.elementRef=e,this.notFoundContent=void 0,this.menuItemSelectedIcon=null,this.dropdownRender=null,this.activatedValue=null,this.listOfSelectedValue=[],this.mode="default",this.matchWidth=!0,this.itemSize=32,this.maxItemLength=8,this.listOfContainerItem=[],this.itemClick=new i.n,this.scrollToBottom=new i.n,this.scrolledIndex=0,this.elementRef.nativeElement.classList.add("ant-select-dropdown")}onItemClick(e){this.itemClick.emit(e)}onItemHover(e){this.activatedValue=e}trackValue(e,t){return t.key}onScrolledIndexChange(e){this.scrolledIndex=e,e===this.listOfContainerItem.length-this.maxItemLength&&this.scrollToBottom.emit()}scrollToActivatedValue(){const e=this.listOfContainerItem.findIndex(e=>this.compareWith(e.key,this.activatedValue));(e=this.scrolledIndex+this.maxItemLength)&&this.cdkVirtualScrollViewport.scrollToIndex(e||0)}ngOnChanges(e){const{listOfContainerItem:t,activatedValue:n}=e;(t||n)&&this.scrollToActivatedValue()}ngAfterViewInit(){setTimeout(()=>this.scrollToActivatedValue())}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.l))},e.\u0275cmp=i.Kb({type:e,selectors:[["nz-option-container"]],viewQuery:function(e,t){if(1&e&&i.Xc(c.c,3),2&e){let e;i.Dc(e=i.mc())&&(t.cdkVirtualScrollViewport=e.first)}},inputs:{notFoundContent:"notFoundContent",menuItemSelectedIcon:"menuItemSelectedIcon",dropdownRender:"dropdownRender",activatedValue:"activatedValue",listOfSelectedValue:"listOfSelectedValue",mode:"mode",matchWidth:"matchWidth",itemSize:"itemSize",maxItemLength:"maxItemLength",listOfContainerItem:"listOfContainerItem",compareWith:"compareWith"},outputs:{itemClick:"itemClick",scrollToBottom:"scrollToBottom"},exportAs:["nzOptionContainer"],features:[i.Ab],decls:5,vars:14,consts:[["class","ant-select-item-empty",4,"ngIf"],[3,"itemSize","maxBufferPx","minBufferPx","scrolledIndexChange"],["cdkVirtualFor","",3,"cdkVirtualForOf","cdkVirtualForTrackBy","cdkVirtualForTemplateCacheSize"],[3,"ngTemplateOutlet"],[1,"ant-select-item-empty"],["nzComponentName","select",3,"specificContent"],[3,"ngSwitch"],[3,"nzLabel",4,"ngSwitchCase"],[3,"icon","customContent","template","grouped","disabled","showState","label","compareWith","activatedValue","listOfSelectedValue","value","itemHover","itemClick",4,"ngSwitchCase"],[3,"nzLabel"],[3,"icon","customContent","template","grouped","disabled","showState","label","compareWith","activatedValue","listOfSelectedValue","value","itemHover","itemClick"]],template:function(e,t){1&e&&(i.Wb(0,"div"),i.Qc(1,M,2,1,"div",0),i.Wb(2,"cdk-virtual-scroll-viewport",1),i.lc("scrolledIndexChange",function(e){return t.onScrolledIndexChange(e)}),i.Qc(3,R,3,3,"ng-template",2),i.Vb(),i.Qc(4,j,0,0,"ng-template",3),i.Vb()),2&e&&(i.Cb(1),i.wc("ngIf",0===t.listOfContainerItem.length),i.Cb(1),i.Nc("height",t.listOfContainerItem.length*t.itemSize,"px")("max-height",t.itemSize*t.maxItemLength,"px"),i.Ib("full-width",!t.matchWidth),i.wc("itemSize",t.itemSize)("maxBufferPx",t.itemSize*t.maxItemLength)("minBufferPx",t.itemSize*t.maxItemLength),i.Cb(1),i.wc("cdkVirtualForOf",t.listOfContainerItem)("cdkVirtualForTrackBy",t.trackValue)("cdkVirtualForTemplateCacheSize",0),i.Cb(1),i.wc("ngTemplateOutlet",t.dropdownRender))},directives:function(){return[O.o,c.c,c.a,c.b,O.t,k.a,O.q,O.r,_e,Oe]},encapsulation:2,changeDetection:0}),e})(),ye=(()=>{class e{constructor(e){this.nzOptionGroupComponent=e,this.destroy$=new r.a,this.changes=new r.a,this.groupLabel=null,this.nzLabel=null,this.nzValue=null,this.nzDisabled=!1,this.nzHide=!1,this.nzCustomContent=!1}ngOnInit(){this.nzOptionGroupComponent&&this.nzOptionGroupComponent.changes.pipe(Object(d.a)(!0),Object(h.a)(this.destroy$)).subscribe(()=>{this.groupLabel=this.nzOptionGroupComponent.nzLabel})}ngOnChanges(){this.changes.next()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(be,8))},e.\u0275cmp=i.Kb({type:e,selectors:[["nz-option"]],viewQuery:function(e,t){if(1&e&&i.Xc(i.N,3),2&e){let e;i.Dc(e=i.mc())&&(t.template=e.first)}},inputs:{nzLabel:"nzLabel",nzValue:"nzValue",nzDisabled:"nzDisabled",nzHide:"nzHide",nzCustomContent:"nzCustomContent"},exportAs:["nzOption"],features:[i.Ab],ngContentSelectors:D,decls:1,vars:0,template:function(e,t){1&e&&(i.vc(),i.Qc(0,V,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),Object(l.b)([Object(u.a)(),Object(l.c)("design:type",Object)],e.prototype,"nzDisabled",void 0),Object(l.b)([Object(u.a)(),Object(l.c)("design:type",Object)],e.prototype,"nzHide",void 0),Object(l.b)([Object(u.a)(),Object(l.c)("design:type",Object)],e.prototype,"nzCustomContent",void 0),e})(),ve=(()=>{class e{constructor(e,t,n){this.elementRef=e,this.renderer=t,this.focusMonitor=n,this.nzId=null,this.disabled=!1,this.mirrorSync=!1,this.showInput=!0,this.focusTrigger=!1,this.value="",this.autofocus=!1,this.valueChange=new i.n,this.isComposingChange=new i.n,this.elementRef.nativeElement.classList.add("ant-select-selection-search")}setCompositionState(e){this.isComposingChange.next(e)}onValueChange(e){this.value=e,this.valueChange.next(e),this.mirrorSync&&this.syncMirrorWidth()}clearInputValue(){this.inputElement.nativeElement.value="",this.onValueChange("")}syncMirrorWidth(){const e=this.mirrorElement.nativeElement,t=this.elementRef.nativeElement,n=this.inputElement.nativeElement;this.renderer.removeStyle(t,"width"),e.innerHTML=this.renderer.createText(`${n.value} `),this.renderer.setStyle(t,"width",`${e.scrollWidth}px`)}focus(){this.focusMonitor.focusVia(this.inputElement,"keyboard")}blur(){this.inputElement.nativeElement.blur()}ngOnChanges(e){const t=this.inputElement.nativeElement,{focusTrigger:n,showInput:i}=e;i&&(this.showInput?this.renderer.removeAttribute(t,"readonly"):this.renderer.setAttribute(t,"readonly","readonly")),n&&!0===n.currentValue&&!1===n.previousValue&&t.focus()}ngAfterViewInit(){this.mirrorSync&&this.syncMirrorWidth(),this.autofocus&&this.focus()}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.l),i.Qb(i.G),i.Qb(f.b))},e.\u0275cmp=i.Kb({type:e,selectors:[["nz-select-search"]],viewQuery:function(e,t){if(1&e&&(i.Xc(L,3),i.Xc(N,1)),2&e){let e;i.Dc(e=i.mc())&&(t.inputElement=e.first),i.Dc(e=i.mc())&&(t.mirrorElement=e.first)}},inputs:{nzId:"nzId",disabled:"disabled",mirrorSync:"mirrorSync",showInput:"showInput",focusTrigger:"focusTrigger",value:"value",autofocus:"autofocus"},outputs:{valueChange:"valueChange",isComposingChange:"isComposingChange"},features:[i.Bb([{provide:v.b,useValue:!1}]),i.Ab],decls:3,vars:7,consts:[["autocomplete","off",1,"ant-select-selection-search-input",3,"ngModel","disabled","ngModelChange","compositionstart","compositionend"],["inputElement",""],["class","ant-select-selection-search-mirror",4,"ngIf"],[1,"ant-select-selection-search-mirror"],["mirrorElement",""]],template:function(e,t){1&e&&(i.Wb(0,"input",0,1),i.lc("ngModelChange",function(e){return t.onValueChange(e)})("compositionstart",function(){return t.setCompositionState(!0)})("compositionend",function(){return t.setCompositionState(!1)}),i.Vb(),i.Qc(2,F,2,0,"span",2)),2&e&&(i.Nc("opacity",t.showInput?null:0),i.wc("ngModel",t.value)("disabled",t.disabled),i.Db("id",t.nzId)("autofocus",t.autofocus?"autofocus":null),i.Cb(2),i.wc("ngIf",t.mirrorSync))},directives:[v.d,v.o,v.r,O.o],encapsulation:2,changeDetection:0}),e})(),Ce=(()=>{class e{constructor(e,t){this.elementRef=e,this.noAnimation=t,this.nzId=null,this.showSearch=!1,this.placeHolder=null,this.open=!1,this.maxTagCount=1/0,this.autofocus=!1,this.disabled=!1,this.mode="default",this.customTemplate=null,this.maxTagPlaceholder=null,this.removeIcon=null,this.listOfTopItem=[],this.tokenSeparators=[],this.tokenize=new i.n,this.inputValueChange=new i.n,this.deleteItem=new i.n,this.listOfSlicedItem=[],this.isShowPlaceholder=!0,this.isShowSingleLabel=!1,this.isComposing=!1,this.inputValue=null,this.elementRef.nativeElement.classList.add("ant-select-selector")}onHostKeydown(e){e.keyCode===b.b&&"default"!==this.mode&&!e.target.value&&this.listOfTopItem.length>0&&(e.preventDefault(),this.onDeleteItem(this.listOfTopItem[this.listOfTopItem.length-1]))}updateTemplateVariable(){const e=0===this.listOfTopItem.length;this.isShowPlaceholder=e&&!this.isComposing&&!this.inputValue,this.isShowSingleLabel=!e&&!this.isComposing&&!this.inputValue}isComposingChange(e){this.isComposing=e,this.updateTemplateVariable()}onInputValueChange(e){e!==this.inputValue&&(this.inputValue=e,this.updateTemplateVariable(),this.inputValueChange.emit(e),this.tokenSeparate(e,this.tokenSeparators))}tokenSeparate(e,t){if(e&&e.length&&t.length&&"default"!==this.mode&&((e,t)=>{for(let n=0;n0)return!0;return!1})(e,t)){const n=((e,t)=>{const n=new RegExp(`[${t.join()}]`),i=e.split(n).filter(e=>e);return[...new Set(i)]})(e,t);this.tokenize.next(n)}}clearInputValue(){this.nzSelectSearchComponent&&this.nzSelectSearchComponent.clearInputValue()}focus(){this.nzSelectSearchComponent&&this.nzSelectSearchComponent.focus()}blur(){this.nzSelectSearchComponent&&this.nzSelectSearchComponent.blur()}trackValue(e,t){return t.nzValue}onDeleteItem(e){this.disabled||e.nzDisabled||this.deleteItem.next(e)}ngOnChanges(e){const{listOfTopItem:t,maxTagCount:n,customTemplate:i,maxTagPlaceholder:r}=e;if(t&&this.updateTemplateVariable(),t||n||i||r){const e=this.listOfTopItem.slice(0,this.maxTagCount).map(e=>({nzLabel:e.nzLabel,nzValue:e.nzValue,nzDisabled:e.nzDisabled,contentTemplateOutlet:this.customTemplate,contentTemplateOutletContext:e}));if(this.listOfTopItem.length>this.maxTagCount){const t=`+ ${this.listOfTopItem.length-this.maxTagCount} ...`,n=this.listOfTopItem.map(e=>e.nzValue),i={nzLabel:t,nzValue:"$$__nz_exceeded_item",nzDisabled:!0,contentTemplateOutlet:this.maxTagPlaceholder,contentTemplateOutletContext:n.slice(this.maxTagCount)};e.push(i)}this.listOfSlicedItem=e}}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.l),i.Qb(S.a,9))},e.\u0275cmp=i.Kb({type:e,selectors:[["nz-select-top-control"]],viewQuery:function(e,t){if(1&e&&i.Xc(ve,1),2&e){let e;i.Dc(e=i.mc())&&(t.nzSelectSearchComponent=e.first)}},hostBindings:function(e,t){1&e&&i.lc("keydown",function(e){return t.onHostKeydown(e)})},inputs:{nzId:"nzId",showSearch:"showSearch",placeHolder:"placeHolder",open:"open",maxTagCount:"maxTagCount",autofocus:"autofocus",disabled:"disabled",mode:"mode",customTemplate:"customTemplate",maxTagPlaceholder:"maxTagPlaceholder",removeIcon:"removeIcon",listOfTopItem:"listOfTopItem",tokenSeparators:"tokenSeparators"},outputs:{tokenize:"tokenize",inputValueChange:"inputValueChange",deleteItem:"deleteItem"},exportAs:["nzSelectTopControl"],features:[i.Ab],decls:4,vars:3,consts:[[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"placeholder",4,"ngIf"],[3,"nzId","disabled","value","showInput","mirrorSync","autofocus","focusTrigger","isComposingChange","valueChange"],[3,"deletable","disabled","removeIcon","label","contentTemplateOutlet","contentTemplateOutletContext",4,"ngIf"],[3,"deletable","disabled","removeIcon","label","contentTemplateOutlet","contentTemplateOutletContext"],[3,"removeIcon","label","disabled","contentTemplateOutlet","deletable","contentTemplateOutletContext","delete",4,"ngFor","ngForOf","ngForTrackBy"],[3,"nzId","disabled","value","autofocus","showInput","mirrorSync","focusTrigger","isComposingChange","valueChange"],[3,"removeIcon","label","disabled","contentTemplateOutlet","deletable","contentTemplateOutletContext","delete"],[3,"placeholder"]],template:function(e,t){1&e&&(i.Ub(0,0),i.Qc(1,W,3,8,"ng-container",1),i.Qc(2,U,3,9,"ng-container",2),i.Tb(),i.Qc(3,$,1,1,"nz-select-placeholder",3)),2&e&&(i.wc("ngSwitch",t.mode),i.Cb(1),i.wc("ngSwitchCase","default"),i.Cb(2),i.wc("ngIf",t.isShowPlaceholder))},directives:function(){return[O.q,O.r,O.s,O.o,ve,Te,O.n,T.a,ke]},encapsulation:2,changeDetection:0}),e})();const we=(e,t)=>!(!t||!t.nzLabel)&&t.nzLabel.toString().toLowerCase().indexOf(e.toLowerCase())>-1;let Se=(()=>{class e{constructor(e,t,n,s,a,c,l){this.nzConfigService=e,this.cdr=t,this.elementRef=n,this.platform=s,this.focusMonitor=a,this.directionality=c,this.noAnimation=l,this._nzModuleName="select",this.nzId=null,this.nzSize="default",this.nzOptionHeightPx=32,this.nzOptionOverflowSize=8,this.nzDropdownClassName=null,this.nzDropdownMatchSelectWidth=!0,this.nzDropdownStyle=null,this.nzNotFoundContent=void 0,this.nzPlaceHolder=null,this.nzMaxTagCount=1/0,this.nzDropdownRender=null,this.nzCustomTemplate=null,this.nzSuffixIcon=null,this.nzClearIcon=null,this.nzRemoveIcon=null,this.nzMenuItemSelectedIcon=null,this.nzTokenSeparators=[],this.nzMaxTagPlaceholder=null,this.nzMaxMultipleCount=1/0,this.nzMode="default",this.nzFilterOption=we,this.compareWith=(e,t)=>e===t,this.nzAllowClear=!1,this.nzBorderless=!1,this.nzShowSearch=!1,this.nzLoading=!1,this.nzAutoFocus=!1,this.nzAutoClearSearchValue=!0,this.nzServerSearch=!1,this.nzDisabled=!1,this.nzOpen=!1,this.nzBackdrop=!1,this.nzOptions=[],this.nzOnSearch=new i.n,this.nzScrollToBottom=new i.n,this.nzOpenChange=new i.n,this.nzBlur=new i.n,this.nzFocus=new i.n,this.listOfValue$=new o.a([]),this.listOfTemplateItem$=new o.a([]),this.listOfTagAndTemplateItem=[],this.searchValue="",this.isReactiveDriven=!1,this.destroy$=new r.a,this.onChange=()=>{},this.onTouched=()=>{},this.dropDownPosition="bottom",this.triggerWidth=null,this.listOfContainerItem=[],this.listOfTopItem=[],this.activatedValue=null,this.listOfValue=[],this.focused=!1,this.dir="ltr",this.elementRef.nativeElement.classList.add("ant-select")}set nzShowArrow(e){this._nzShowArrow=e}get nzShowArrow(){return void 0===this._nzShowArrow?"default"===this.nzMode:this._nzShowArrow}generateTagItem(e){return{nzValue:e,nzLabel:e,type:"item"}}onItemClick(e){if(this.activatedValue=e,"default"===this.nzMode)0!==this.listOfValue.length&&this.compareWith(this.listOfValue[0],e)||this.updateListOfValue([e]),this.setOpenState(!1);else{const t=this.listOfValue.findIndex(t=>this.compareWith(t,e));if(-1!==t){const e=this.listOfValue.filter((e,n)=>n!==t);this.updateListOfValue(e)}else if(this.listOfValue.length!this.compareWith(t,e.nzValue));this.updateListOfValue(t),this.clearInput()}onHostClick(){this.nzOpen&&this.nzShowSearch||this.nzDisabled||this.setOpenState(!this.nzOpen)}updateListOfContainerItem(){let e=this.listOfTagAndTemplateItem.filter(e=>!e.nzHide).filter(e=>!(!this.nzServerSearch&&this.searchValue)||this.nzFilterOption(this.searchValue,e));if("tags"===this.nzMode&&this.searchValue){const t=this.listOfTagAndTemplateItem.find(e=>e.nzLabel===this.searchValue);if(t)this.activatedValue=t.nzValue;else{const t=this.generateTagItem(this.searchValue);e=[t,...e],this.activatedValue=t.nzValue}}const t=e.find(e=>this.compareWith(e.nzValue,this.listOfValue[0]))||e[0];this.activatedValue=t&&t.nzValue||null;let n=[];this.isReactiveDriven?n=[...new Set(this.nzOptions.filter(e=>e.groupLabel).map(e=>e.groupLabel))]:this.listOfNzOptionGroupComponent&&(n=this.listOfNzOptionGroupComponent.map(e=>e.nzLabel)),n.forEach(t=>{const n=e.findIndex(e=>t===e.groupLabel);n>-1&&e.splice(n,0,{groupLabel:t,type:"group",key:t})}),this.listOfContainerItem=[...e],this.updateCdkConnectedOverlayPositions()}clearInput(){this.nzSelectTopControlComponent.clearInputValue()}updateListOfValue(e){const t=(n=e,"default"===this.nzMode?n.length>0?n[0]:null:n);var n;this.value!==t&&(this.listOfValue=e,this.listOfValue$.next(e),this.value=t,this.onChange(this.value))}onTokenSeparate(e){const t=this.listOfTagAndTemplateItem.filter(t=>-1!==e.findIndex(e=>e===t.nzLabel)).map(e=>e.nzValue).filter(e=>-1===this.listOfValue.findIndex(t=>this.compareWith(t,e)));if("multiple"===this.nzMode)this.updateListOfValue([...this.listOfValue,...t]);else if("tags"===this.nzMode){const n=e.filter(e=>-1===this.listOfTagAndTemplateItem.findIndex(t=>t.nzLabel===e));this.updateListOfValue([...this.listOfValue,...t,...n])}this.clearInput()}onOverlayKeyDown(e){e.keyCode===b.f&&this.setOpenState(!1)}onKeyDown(e){if(this.nzDisabled)return;const t=this.listOfContainerItem.filter(e=>"item"===e.type).filter(e=>!e.nzDisabled),n=t.findIndex(e=>this.compareWith(e.nzValue,this.activatedValue));switch(e.keyCode){case b.m:e.preventDefault(),this.nzOpen&&(this.activatedValue=t[n>0?n-1:t.length-1].nzValue);break;case b.c:e.preventDefault(),this.nzOpen?this.activatedValue=t[n{this.triggerWidth=this.originElement.nativeElement.getBoundingClientRect().width,this.cdr.markForCheck()})}updateCdkConnectedOverlayPositions(){Object(_.b)(()=>{var e,t;null===(t=null===(e=this.cdkConnectedOverlay)||void 0===e?void 0:e.overlayRef)||void 0===t||t.updatePosition()})}writeValue(e){if(this.value!==e){this.value=e;const t=((e,t)=>null==e?[]:"default"===this.nzMode?[e]:e)(e);this.listOfValue=t,this.listOfValue$.next(t),this.cdr.markForCheck()}}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.nzDisabled=e,e&&this.setOpenState(!1),this.cdr.markForCheck()}ngOnChanges(e){const{nzOpen:t,nzDisabled:n,nzOptions:r}=e;if(t&&this.onOpenChange(),n&&this.nzDisabled&&this.setOpenState(!1),r){this.isReactiveDriven=!0;const e=(this.nzOptions||[]).map(e=>({template:e.label instanceof i.N?e.label:null,nzLabel:"string"==typeof e.label||"number"==typeof e.label?e.label:null,nzValue:e.value,nzDisabled:e.disabled||!1,nzHide:e.hide||!1,nzCustomContent:e.label instanceof i.N,groupLabel:e.groupLabel||null,type:"item",key:e.value}));this.listOfTemplateItem$.next(e)}}ngOnInit(){var e;this.focusMonitor.monitor(this.elementRef,!0).pipe(Object(h.a)(this.destroy$)).subscribe(e=>{e?(this.focused=!0,this.cdr.markForCheck(),this.nzFocus.emit()):(this.focused=!1,this.cdr.markForCheck(),this.nzBlur.emit(),Promise.resolve().then(()=>{this.onTouched()}))}),Object(s.a)([this.listOfValue$,this.listOfTemplateItem$]).pipe(Object(h.a)(this.destroy$)).subscribe(([e,t])=>{const n=e.filter(()=>"tags"===this.nzMode).filter(e=>-1===t.findIndex(t=>this.compareWith(t.nzValue,e))).map(e=>this.listOfTopItem.find(t=>this.compareWith(t.nzValue,e))||this.generateTagItem(e));this.listOfTagAndTemplateItem=[...t,...n],this.listOfTopItem=this.listOfValue.map(e=>[...this.listOfTagAndTemplateItem,...this.listOfTopItem].find(t=>this.compareWith(e,t.nzValue))).filter(e=>!!e),this.updateListOfContainerItem()}),null===(e=this.directionality.change)||void 0===e||e.pipe(Object(h.a)(this.destroy$)).subscribe(e=>{this.dir=e,this.cdr.detectChanges()}),this.nzConfigService.getConfigChangeEventForComponent("select").pipe(Object(h.a)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()}),this.dir=this.directionality.value}ngAfterContentInit(){this.isReactiveDriven||Object(a.a)(this.listOfNzOptionGroupComponent.changes,this.listOfNzOptionComponent.changes).pipe(Object(d.a)(!0),Object(p.a)(()=>Object(a.a)(this.listOfNzOptionComponent.changes,this.listOfNzOptionGroupComponent.changes,...this.listOfNzOptionComponent.map(e=>e.changes),...this.listOfNzOptionGroupComponent.map(e=>e.changes)).pipe(Object(d.a)(!0))),Object(h.a)(this.destroy$)).subscribe(()=>{const e=this.listOfNzOptionComponent.toArray().map(e=>{const{template:t,nzLabel:n,nzValue:i,nzDisabled:r,nzHide:o,nzCustomContent:s,groupLabel:a}=e;return{template:t,nzLabel:n,nzValue:i,nzDisabled:r,nzHide:o,nzCustomContent:s,groupLabel:a,type:"item",key:i}});this.listOfTemplateItem$.next(e),this.cdr.markForCheck()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(w.b),i.Qb(i.h),i.Qb(i.l),i.Qb(y.a),i.Qb(f.b),i.Qb(g.c,8),i.Qb(S.a,9))},e.\u0275cmp=i.Kb({type:e,selectors:[["nz-select"]],contentQueries:function(e,t,n){if(1&e&&(i.Jb(n,ye,1),i.Jb(n,be,1)),2&e){let e;i.Dc(e=i.mc())&&(t.listOfNzOptionComponent=e),i.Dc(e=i.mc())&&(t.listOfNzOptionGroupComponent=e)}},viewQuery:function(e,t){if(1&e&&(i.Xc(m.b,3,i.l),i.Xc(m.a,3),i.Xc(Ce,3),i.Xc(be,3,i.l),i.Xc(Ce,3,i.l)),2&e){let e;i.Dc(e=i.mc())&&(t.originElement=e.first),i.Dc(e=i.mc())&&(t.cdkConnectedOverlay=e.first),i.Dc(e=i.mc())&&(t.nzSelectTopControlComponent=e.first),i.Dc(e=i.mc())&&(t.nzOptionGroupComponentElement=e.first),i.Dc(e=i.mc())&&(t.nzSelectTopControlComponentElement=e.first)}},hostVars:24,hostBindings:function(e,t){1&e&&i.lc("click",function(){return t.onHostClick()}),2&e&&i.Ib("ant-select-lg","large"===t.nzSize)("ant-select-sm","small"===t.nzSize)("ant-select-show-arrow",t.nzShowArrow)("ant-select-disabled",t.nzDisabled)("ant-select-show-search",(t.nzShowSearch||"default"!==t.nzMode)&&!t.nzDisabled)("ant-select-allow-clear",t.nzAllowClear)("ant-select-borderless",t.nzBorderless)("ant-select-open",t.nzOpen)("ant-select-focused",t.nzOpen||t.focused)("ant-select-single","default"===t.nzMode)("ant-select-multiple","default"!==t.nzMode)("ant-select-rtl","rtl"===t.dir)},inputs:{nzId:"nzId",nzSize:"nzSize",nzOptionHeightPx:"nzOptionHeightPx",nzOptionOverflowSize:"nzOptionOverflowSize",nzDropdownClassName:"nzDropdownClassName",nzDropdownMatchSelectWidth:"nzDropdownMatchSelectWidth",nzDropdownStyle:"nzDropdownStyle",nzNotFoundContent:"nzNotFoundContent",nzPlaceHolder:"nzPlaceHolder",nzMaxTagCount:"nzMaxTagCount",nzDropdownRender:"nzDropdownRender",nzCustomTemplate:"nzCustomTemplate",nzSuffixIcon:"nzSuffixIcon",nzClearIcon:"nzClearIcon",nzRemoveIcon:"nzRemoveIcon",nzMenuItemSelectedIcon:"nzMenuItemSelectedIcon",nzTokenSeparators:"nzTokenSeparators",nzMaxTagPlaceholder:"nzMaxTagPlaceholder",nzMaxMultipleCount:"nzMaxMultipleCount",nzMode:"nzMode",nzFilterOption:"nzFilterOption",compareWith:"compareWith",nzAllowClear:"nzAllowClear",nzBorderless:"nzBorderless",nzShowSearch:"nzShowSearch",nzLoading:"nzLoading",nzAutoFocus:"nzAutoFocus",nzAutoClearSearchValue:"nzAutoClearSearchValue",nzServerSearch:"nzServerSearch",nzDisabled:"nzDisabled",nzOpen:"nzOpen",nzBackdrop:"nzBackdrop",nzOptions:"nzOptions",nzShowArrow:"nzShowArrow"},outputs:{nzOnSearch:"nzOnSearch",nzScrollToBottom:"nzScrollToBottom",nzOpenChange:"nzOpenChange",nzBlur:"nzBlur",nzFocus:"nzFocus"},exportAs:["nzSelect"],features:[i.Bb([{provide:v.m,useExisting:Object(i.V)(()=>e),multi:!0}]),i.Ab],decls:5,vars:24,consts:[["cdkOverlayOrigin","",3,"nzId","open","disabled","mode","nzNoAnimation","maxTagPlaceholder","removeIcon","placeHolder","maxTagCount","customTemplate","tokenSeparators","showSearch","autofocus","listOfTopItem","inputValueChange","tokenize","deleteItem","keydown"],["origin","cdkOverlayOrigin"],[3,"loading","search","suffixIcon",4,"ngIf"],[3,"clearIcon","clear",4,"ngIf"],["cdkConnectedOverlay","","nzConnectedOverlay","",3,"cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayMinWidth","cdkConnectedOverlayWidth","cdkConnectedOverlayOrigin","cdkConnectedOverlayTransformOriginOn","cdkConnectedOverlayPanelClass","cdkConnectedOverlayOpen","overlayKeydown","overlayOutsideClick","detach","positionChange"],[3,"loading","search","suffixIcon"],[3,"clearIcon","clear"],[3,"ngStyle","itemSize","maxItemLength","matchWidth","nzNoAnimation","listOfContainerItem","menuItemSelectedIcon","notFoundContent","activatedValue","listOfSelectedValue","dropdownRender","compareWith","mode","keydown","itemClick","scrollToBottom"]],template:function(e,t){if(1&e&&(i.Wb(0,"nz-select-top-control",0,1),i.lc("inputValueChange",function(e){return t.onInputValueChange(e)})("tokenize",function(e){return t.onTokenSeparate(e)})("deleteItem",function(e){return t.onItemDelete(e)})("keydown",function(e){return t.onKeyDown(e)}),i.Vb(),i.Qc(2,Q,1,3,"nz-select-arrow",2),i.Qc(3,G,1,1,"nz-select-clear",3),i.Qc(4,Y,1,19,"ng-template",4),i.lc("overlayKeydown",function(e){return t.onOverlayKeyDown(e)})("overlayOutsideClick",function(e){return t.onClickOutside(e)})("detach",function(){return t.setOpenState(!1)})("positionChange",function(e){return t.onPositionChange(e)})),2&e){const e=i.Ec(1);i.wc("nzId",t.nzId)("open",t.nzOpen)("disabled",t.nzDisabled)("mode",t.nzMode)("@.disabled",null==t.noAnimation?null:t.noAnimation.nzNoAnimation)("nzNoAnimation",null==t.noAnimation?null:t.noAnimation.nzNoAnimation)("maxTagPlaceholder",t.nzMaxTagPlaceholder)("removeIcon",t.nzRemoveIcon)("placeHolder",t.nzPlaceHolder)("maxTagCount",t.nzMaxTagCount)("customTemplate",t.nzCustomTemplate)("tokenSeparators",t.nzTokenSeparators)("showSearch",t.nzShowSearch)("autofocus",t.nzAutoFocus)("listOfTopItem",t.listOfTopItem),i.Cb(2),i.wc("ngIf",t.nzShowArrow),i.Cb(1),i.wc("ngIf",t.nzAllowClear&&!t.nzDisabled&&t.listOfValue.length),i.Cb(1),i.wc("cdkConnectedOverlayHasBackdrop",t.nzBackdrop)("cdkConnectedOverlayMinWidth",t.nzDropdownMatchSelectWidth?null:t.triggerWidth)("cdkConnectedOverlayWidth",t.nzDropdownMatchSelectWidth?t.triggerWidth:null)("cdkConnectedOverlayOrigin",e)("cdkConnectedOverlayTransformOriginOn",".ant-select-dropdown")("cdkConnectedOverlayPanelClass",t.nzDropdownClassName)("cdkConnectedOverlayOpen",t.nzOpen)}},directives:function(){return[T.a,Ce,m.b,S.a,O.o,m.a,z.b,xe,ze,me,O.p]},encapsulation:2,data:{animation:[C.f]},changeDetection:0}),Object(l.b)([Object(w.c)(),Object(l.c)("design:type",Object)],e.prototype,"nzSuffixIcon",void 0),Object(l.b)([Object(u.a)(),Object(l.c)("design:type",Object)],e.prototype,"nzAllowClear",void 0),Object(l.b)([Object(w.c)(),Object(u.a)(),Object(l.c)("design:type",Object)],e.prototype,"nzBorderless",void 0),Object(l.b)([Object(u.a)(),Object(l.c)("design:type",Object)],e.prototype,"nzShowSearch",void 0),Object(l.b)([Object(u.a)(),Object(l.c)("design:type",Object)],e.prototype,"nzLoading",void 0),Object(l.b)([Object(u.a)(),Object(l.c)("design:type",Object)],e.prototype,"nzAutoFocus",void 0),Object(l.b)([Object(u.a)(),Object(l.c)("design:type",Object)],e.prototype,"nzAutoClearSearchValue",void 0),Object(l.b)([Object(u.a)(),Object(l.c)("design:type",Object)],e.prototype,"nzServerSearch",void 0),Object(l.b)([Object(u.a)(),Object(l.c)("design:type",Object)],e.prototype,"nzDisabled",void 0),Object(l.b)([Object(u.a)(),Object(l.c)("design:type",Object)],e.prototype,"nzOpen",void 0),Object(l.b)([Object(w.c)(),Object(u.a)(),Object(l.c)("design:type",Object)],e.prototype,"nzBackdrop",void 0),e})(),_e=(()=>{class e{constructor(e){this.elementRef=e,this.nzLabel=null,this.elementRef.nativeElement.classList.add("ant-select-item","ant-select-item-group")}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.l))},e.\u0275cmp=i.Kb({type:e,selectors:[["nz-option-item-group"]],inputs:{nzLabel:"nzLabel"},decls:1,vars:1,consts:[[4,"nzStringTemplateOutlet"]],template:function(e,t){1&e&&i.Qc(0,K,2,1,"ng-container",0),2&e&&i.wc("nzStringTemplateOutlet",t.nzLabel)},directives:[x.b],encapsulation:2,changeDetection:0}),e})(),Oe=(()=>{class e{constructor(e){this.elementRef=e,this.selected=!1,this.activated=!1,this.grouped=!1,this.customContent=!1,this.template=null,this.disabled=!1,this.showState=!1,this.label=null,this.value=null,this.activatedValue=null,this.listOfSelectedValue=[],this.icon=null,this.itemClick=new i.n,this.itemHover=new i.n,this.elementRef.nativeElement.classList.add("ant-select-item","ant-select-item-option")}onHostMouseEnter(){this.disabled||this.itemHover.next(this.value)}onHostClick(){this.disabled||this.itemClick.next(this.value)}ngOnChanges(e){const{value:t,activatedValue:n,listOfSelectedValue:i}=e;(t||i)&&(this.selected=this.listOfSelectedValue.some(e=>this.compareWith(e,this.value))),(t||n)&&(this.activated=this.compareWith(this.activatedValue,this.value))}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.l))},e.\u0275cmp=i.Kb({type:e,selectors:[["nz-option-item"]],hostVars:9,hostBindings:function(e,t){1&e&&i.lc("mouseenter",function(){return t.onHostMouseEnter()})("click",function(){return t.onHostClick()}),2&e&&(i.Db("title",t.label),i.Ib("ant-select-item-option-grouped",t.grouped)("ant-select-item-option-selected",t.selected&&!t.disabled)("ant-select-item-option-disabled",t.disabled)("ant-select-item-option-active",t.activated&&!t.disabled))},inputs:{grouped:"grouped",customContent:"customContent",template:"template",disabled:"disabled",showState:"showState",label:"label",value:"value",activatedValue:"activatedValue",listOfSelectedValue:"listOfSelectedValue",icon:"icon",compareWith:"compareWith"},outputs:{itemClick:"itemClick",itemHover:"itemHover"},features:[i.Ab],decls:4,vars:3,consts:[[1,"ant-select-item-option-content"],[4,"ngIf"],["class","ant-select-item-option-state","style","user-select: none","unselectable","on",4,"ngIf"],[3,"ngTemplateOutlet"],["unselectable","on",1,"ant-select-item-option-state",2,"user-select","none"],["nz-icon","","nzType","check","class","ant-select-selected-icon",4,"ngIf","ngIfElse"],["nz-icon","","nzType","check",1,"ant-select-selected-icon"]],template:function(e,t){1&e&&(i.Wb(0,"div",0),i.Qc(1,X,2,1,"ng-container",1),i.Qc(2,J,2,1,"ng-container",1),i.Vb(),i.Qc(3,ee,2,2,"div",2)),2&e&&(i.Cb(1),i.wc("ngIf",!t.customContent),i.Cb(1),i.wc("ngIf",t.customContent),i.Cb(1),i.wc("ngIf",t.showState&&t.selected))},directives:[O.o,O.t,E.a,T.a],encapsulation:2,changeDetection:0}),e})(),xe=(()=>{class e{constructor(e){this.elementRef=e,this.loading=!1,this.search=!1,this.suffixIcon=null,this.elementRef.nativeElement.classList.add("ant-select-arrow")}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.l))},e.\u0275cmp=i.Kb({type:e,selectors:[["nz-select-arrow"]],hostVars:2,hostBindings:function(e,t){2&e&&i.Ib("ant-select-arrow-loading",t.loading)},inputs:{loading:"loading",search:"search",suffixIcon:"suffixIcon"},decls:3,vars:2,consts:[["nz-icon","","nzType","loading",4,"ngIf","ngIfElse"],["defaultArrow",""],["nz-icon","","nzType","loading"],[4,"ngIf","ngIfElse"],["suffixTemplate",""],["nz-icon","","nzType","down",4,"ngIf"],["nz-icon","","nzType","search",4,"ngIf"],["nz-icon","","nzType","down"],["nz-icon","","nzType","search"],[4,"nzStringTemplateOutlet"],["nz-icon","",3,"nzType"]],template:function(e,t){if(1&e&&(i.Qc(0,te,1,0,"i",0),i.Qc(1,ae,3,2,"ng-template",null,1,i.Rc)),2&e){const e=i.Ec(2);i.wc("ngIf",t.loading)("ngIfElse",e)}},directives:[O.o,E.a,T.a,x.b],encapsulation:2,changeDetection:0}),e})(),ze=(()=>{class e{constructor(e){this.elementRef=e,this.clearIcon=null,this.clear=new i.n,this.elementRef.nativeElement.classList.add("ant-select-clear")}onClick(e){e.preventDefault(),e.stopPropagation(),this.clear.emit(e)}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.l))},e.\u0275cmp=i.Kb({type:e,selectors:[["nz-select-clear"]],hostBindings:function(e,t){1&e&&i.lc("click",function(e){return t.onClick(e)})},inputs:{clearIcon:"clearIcon"},outputs:{clear:"clear"},decls:1,vars:2,consts:[["nz-icon","","nzType","close-circle","nzTheme","fill","class","ant-select-close-icon",4,"ngIf","ngIfElse"],["nz-icon","","nzType","close-circle","nzTheme","fill",1,"ant-select-close-icon"]],template:function(e,t){1&e&&i.Qc(0,ce,1,0,"i",0),2&e&&i.wc("ngIf",!t.clearIcon)("ngIfElse",t.clearIcon)},directives:[O.o,E.a,T.a],encapsulation:2,changeDetection:0}),e})(),Te=(()=>{class e{constructor(e){this.elementRef=e,this.disabled=!1,this.label=null,this.deletable=!1,this.removeIcon=null,this.contentTemplateOutletContext=null,this.contentTemplateOutlet=null,this.delete=new i.n,this.elementRef.nativeElement.classList.add("ant-select-selection-item")}onDelete(e){e.preventDefault(),e.stopPropagation(),this.disabled||this.delete.next(e)}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.l))},e.\u0275cmp=i.Kb({type:e,selectors:[["nz-select-item"]],hostVars:3,hostBindings:function(e,t){2&e&&(i.Db("title",t.label),i.Ib("ant-select-selection-item-disabled",t.disabled))},inputs:{disabled:"disabled",label:"label",deletable:"deletable",removeIcon:"removeIcon",contentTemplateOutletContext:"contentTemplateOutletContext",contentTemplateOutlet:"contentTemplateOutlet"},outputs:{delete:"delete"},decls:2,vars:5,consts:[[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],["class","ant-select-selection-item-remove",3,"click",4,"ngIf"],["class","ant-select-selection-item-content",4,"ngIf","ngIfElse"],["labelTemplate",""],[1,"ant-select-selection-item-content"],[1,"ant-select-selection-item-remove",3,"click"],["nz-icon","","nzType","close",4,"ngIf","ngIfElse"],["nz-icon","","nzType","close"]],template:function(e,t){1&e&&(i.Qc(0,de,4,2,"ng-container",0),i.Qc(1,pe,2,2,"span",1)),2&e&&(i.wc("nzStringTemplateOutlet",t.contentTemplateOutlet)("nzStringTemplateOutletContext",i.Bc(3,fe,t.contentTemplateOutletContext)),i.Cb(1),i.wc("ngIf",t.deletable&&!t.disabled))},directives:[x.b,O.o,E.a,T.a],encapsulation:2,changeDetection:0}),e})(),ke=(()=>{class e{constructor(e){this.elementRef=e,this.placeholder=null,this.elementRef.nativeElement.classList.add("ant-select-selection-placeholder")}}return e.\u0275fac=function(t){return new(t||e)(i.Qb(i.l))},e.\u0275cmp=i.Kb({type:e,selectors:[["nz-select-placeholder"]],inputs:{placeholder:"placeholder"},decls:1,vars:1,consts:[[4,"nzStringTemplateOutlet"]],template:function(e,t){1&e&&i.Qc(0,ge,2,1,"ng-container",0),2&e&&i.wc("nzStringTemplateOutlet",t.placeholder)},directives:[x.b],encapsulation:2,changeDetection:0}),e})(),Pe=(()=>{class e{}return e.\u0275mod=i.Ob({type:e}),e.\u0275inj=i.Nb({factory:function(t){return new(t||e)},imports:[[g.a,O.c,P.b,v.k,y.b,m.f,E.b,x.a,k.c,z.c,S.b,T.b,c.e,f.a]]}),e})()},zMQz:function(e,t,n){"use strict";function i(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,i=e.formats[n]||e.formats[e.defaultWidth];return i}}n.d(t,"a",function(){return i})},zn8P:function(e,t){function n(e){return Promise.resolve().then(function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t})}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="zn8P"}},[[0,0]]]); //# sourceMappingURL=main.4570e948cdbcab24d50d.js.map